ebook img

Configuring and Administering Network Components in Oracle® Solaris 11.2 PDF

156 Pages·2014·1.22 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Configuring and Administering Network Components in Oracle® Solaris 11.2

Configuring and Administering Network ® Components in Oracle Solaris 11.2 Part No: E37475-02 September 2014 Copyright © 2011, 2014, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services. Copyright © 2011, 2014, Oracle et/ou ses affiliés. Tous droits réservés. Ce logiciel et la documentation qui l’accompagne sont protégés par les lois sur la propriété intellectuelle. Ils sont concédés sous licence et soumis à des restrictions d’utilisation et de divulgation. Sauf disposition de votre contrat de licence ou de la loi, vous ne pouvez pas copier, reproduire, traduire, diffuser, modifier, breveter, transmettre, distribuer, exposer, exécuter, publier ou afficher le logiciel, même partiellement, sous quelque forme et par quelque procédé que ce soit. Par ailleurs, il est interdit de procéder à toute ingénierie inverse du logiciel, de le désassembler ou de le décompiler, excepté à des fins d’interopérabilité avec des logiciels tiers ou tel que prescrit par la loi. Les informations fournies dans ce document sont susceptibles de modification sans préavis. Par ailleurs, Oracle Corporation ne garantit pas qu’elles soient exemptes d’erreurs et vous invite, le cas échéant, à lui en faire part par écrit. Si ce logiciel, ou la documentation qui l’accompagne, est concédé sous licence au Gouvernement des Etats-Unis, ou à toute entité qui délivre la licence de ce logiciel ou l’utilise pour le compte du Gouvernement des Etats-Unis, la notice suivante s’applique: U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S.Government. Ce logiciel ou matériel a été développé pour un usage général dans le cadre d’applications de gestion des informations. Ce logiciel ou matériel n’est pas conçu ni n’est destiné à être utilisé dans des applications à risque, notamment dans des applications pouvant causer des dommages corporels. Si vous utilisez ce logiciel ou matériel dans le cadre d’applications dangereuses, il est de votre responsabilité de prendre toutes les mesures de secours, de sauvegarde, de redondance et autres mesures nécessaires à son utilisation dans des conditions optimales de sécurité. Oracle Corporation et ses affiliés déclinent toute responsabilité quant aux dommages causés par l’utilisation de ce logiciel ou matériel pour ce type d’applications. Oracle et Java sont des marques déposées d’Oracle Corporation et/ou de ses affiliés. Tout autre nom mentionné peut correspondre à des marques appartenant à d’autres propriétaires qu’Oracle. Intel et Intel Xeon sont des marques ou des marques déposées d’Intel Corporation. Toutes les marques SPARC sont utilisées sous licence et sont des marques ou des marques déposées de SPARC International, Inc. AMD, Opteron, le logo AMD et le logo AMD Opteron sont des marques ou des marques déposées d’Advanced Micro Devices. UNIX est une marque déposée d’The Open Group. Ce logiciel ou matériel et la documentation qui l’accompagne peuvent fournir des informations ou des liens donnant accès à des contenus, des produits et des services émanant de tiers. Oracle Corporation et ses affiliés déclinent toute responsabilité ou garantie expresse quant aux contenus, produits ou services émanant de tiers. En aucun cas, Oracle Corporation et ses affiliés ne sauraient être tenus pour responsables des pertes subies, des coûts occasionnés ou des dommages causés par l’accès à des contenus, produits ou services tiers, ou à leur utilisation. Contents Using This Documentation .................................................................................. 9 1  About Network Administration in Oracle Solaris ........................................... 11 Description of the Oracle Solaris Network Protocol Stack ..................................... 12 Hardware Layer ..................................................................................... 14 Datalink Layer ....................................................................................... 14 Network Layer ...................................................................................... 14 Transport Layer ..................................................................................... 15 Application Layer .................................................................................. 15 Naming and Directory Services Configuration Within the Oracle Solaris Network Protocol Stack .......................................................................... 15 Network Devices and Datalink Naming in Oracle Solaris ...................................... 16 About Network Configuration Modes ................................................................ 16 Fixed Mode .......................................................................................... 16 Reactive Mode ...................................................................................... 17 About Profile-Based Network Configuration ....................................................... 17 Oracle Solaris Network Administration Commands .............................................. 17 dladm Command .................................................................................... 18 ipadm Command .................................................................................... 18 route Command .................................................................................... 19 netcfg and netadm Commands ................................................................ 19 Commands for Reconfiguring a System's Network ....................................... 19 Information That Is Required to Configure Client Systems on the Network ............... 20 Where to Find More Information About Network Administration in Oracle Solaris .......................................................................................................... 21 2  Administering Datalink Configuration in Oracle Solaris ................................ 23 About Datalink Configuration .......................................................................... 23 Assigning Generic Names to Datalinks ...................................................... 24 3 Contents Customizing How Generic Link Names Are Assigned By the Operating System ................................................................................................. 25 Link Names in Upgraded Systems ............................................................ 26 Administering Datalink Properties ..................................................................... 28 Displaying General Information About Datalinks ......................................... 29 Displaying a System's Datalinks ............................................................... 29 Displaying the Physical Attributes of Datalinks ........................................... 30 Deleting a Datalink ................................................................................ 31 Renaming a Datalink .............................................................................. 32 Obtaining Runtime Statistics for Datalinks ................................................. 32 Customizing Datalink Properties ....................................................................... 32 Enabling Support for Jumbo Frames .......................................................... 33 Modifying Link Speed Parameters ............................................................ 34 Setting the STREAMS Module on Datalinks ............................................... 35 Obtaining Status Information for Datalink Properties .................................... 36 Additional dladm Configuration Tasks ............................................................... 37 ▼  How to Move IP Configuration From One Network Device to Another Device ................................................................................................. 38 ▼  How to Replace a Network Interface Card With Dynamic Reconfiguration ..................................................................................... 39 ▼  SPARC: How to Ensure That the MAC Address of Each Interface Is Unique ................................................................................................. 41 3  Configuring and Administering IP Interfaces and Addresses in Oracle Solaris ................................................................................................................ 45 Administering Network Configuration by Using the ipadm Command ...................... 45 Configuring IPv4 Interfaces ............................................................................. 46 ▼  How to Configure an IPv4 Interface ..................................................... 46 Configuring IPv6 Interfaces ............................................................................. 51 ▼  How to Configure a System For IPv6 ................................................... 51 Using Temporary Addresses for an IPv6 Interface ........................................ 54 Configuring an IPv6 Token ...................................................................... 56 Configuring IPv6-Enabled Interfaces on Servers .......................................... 58 Migrating From an IPv4 Network to an IPv6 Network .......................................... 59 Configuring Routing ....................................................................................... 60 Routing Tables and Routing Types ............................................................ 61 Creating Persistent (Static) Routes ............................................................ 62 Enabling Routing for Single-Interface Systems ............................................ 65 About IPv6 Routing ............................................................................... 68 Configuring Multihomed Hosts ........................................................................ 69 4 Configuring and Administering Network Components in Oracle Solaris 11.2 • September 2014 Contents ▼  How to Create a Multihomed Host ....................................................... 70 Implementing Symmetric Routing on Multihomed Hosts ............................... 72 Customizing IP Interface Properties and Addresses .............................................. 73 Setting the MTU Property ....................................................................... 73 Enabling Packet Forwarding .................................................................... 73 Customizing IP Address Properties ........................................................... 74 Disabling, Removing, and Modifying IP Interface Configuration ............................ 75 Removing an IP Interface Configuration .................................................... 76 Disabling an IP Interface Configuration ..................................................... 76 Removing or Modifying an IP Interface Configuration .................................. 77 Monitoring IP Interfaces and Addresses ............................................................. 78 Obtaining General Information About IP Interfaces ...................................... 78 Obtaining Information About IP Interfaces ................................................. 79 Obtaining Information About IP Interface Properties .................................... 80 Obtaining Information About IP Addresses ................................................. 81 Obtaining Information About IP Address Properties ..................................... 82 4  Administering Naming and Directory Services on an Oracle Solaris Client .................................................................................................................. 85 What's New in Naming Service Configuration .................................................... 85 Overview of Naming and Directory Services Configuration ................................... 86 About the name-service/switch SMF Service ................................................... 87 Configuring a System for Local Files Mode ....................................................... 89 ▼  How to Configure a System for Local Files Mode ................................... 89 Configuring a DNS Client ............................................................................... 90 ▼  How to Enable a DNS Client .............................................................. 91 Enabling Multicast DNS ......................................................................... 92 Advertising Resources for DNS ................................................................ 92 Configuring a NIS Client ................................................................................ 93 ▼  How to Configure a NIS Client in Broadcast Mode ................................. 93 ▼  How to Configure a NIS Client by Using Specific NIS Servers .................. 94 ▼  How to Disable NIS Client Services ..................................................... 94 Configuring an LDAP Client ........................................................................... 95 Importing Naming Services Configuration .......................................................... 95 Resetting SMF Naming Services Configuration ................................................... 96 5  About Administering Profile-Based Network Configuration in Oracle Solaris ................................................................................................................ 97 About the Reactive Mode ................................................................................ 97 5 Contents About Profile-Based Network Configuration ....................................................... 98 Profile Type Descriptions ........................................................................ 99 System-Defined and User-Defined Profiles ............................................... 103 Guidelines for Using Profile-Based Network Configuration .................................. 103 Profile Activation Policy ....................................................................... 104 Profile Activation Modes ....................................................................... 105 Security Requirements for Using Profile-Based Network Configuration .................. 105 How Profile-Based Network Configuration Works With Other Oracle Solaris Features ...................................................................................................... 107 6  Administering Profile-Based Network Configuration in Oracle Solaris ......... 109 Enabling and Disabling Profiles ...................................................................... 109 Configuring Profiles ..................................................................................... 111 Working in the netcfg Interactive Mode .................................................. 111 Working in the netcfg Command-Line Mode ............................................ 113 Working in the netcfg Command-File Mode ............................................ 114 Creating NCPs ..................................................................................... 114 Creating NCUs for an NCP .................................................................... 115 Creating Locations ............................................................................... 118 Creating ENMs .................................................................................... 121 Creating Known WLANs ...................................................................... 122 Administering Profiles ................................................................................... 124 Setting Property Values for Profiles ......................................................... 124 Obtaining Information About Profile Configuration .................................... 126 Setting Property Values for a Profile by Using the walkprop Subcommand ...... 130 Displaying Information About Profiles ..................................................... 132 Removing Profiles ................................................................................ 133 Exporting a Profile Configuration ........................................................... 135 Restoring an Exported Profile Configuration ............................................. 137 Administering Network Configuration From the Desktop .................................... 137 7  Administering Wireless Networks in Oracle Solaris ..................................... 139 Administering Wireless Networks by Using the Command Line ............................ 139 ▼  How to Connect to a WiFi Network ................................................... 140 ▼  How to Monitor the WiFi Link .......................................................... 143 Establishing Secure WiFi Communications ....................................................... 144 ▼  How to Set Up an Encrypted WiFi Network Connection by Specifying a WEP Key ........................................................................................... 145 Administering Known WLANs in Reactive Mode .............................................. 147 6 Configuring and Administering Network Components in Oracle Solaris 11.2 • September 2014 Contents Administering Wireless Networks From the Desktop .......................................... 147 ▼  How to Join a Wireless Network ........................................................ 148 Managing Favorite Wireless Networks From the Desktop ............................ 149 Index ................................................................................................................. 151 7 8 Configuring and Administering Network Components in Oracle Solaris 11.2 • September 2014 Using This Documentation ■ Overview – Provides information about how to configure and administer various network components in the Oracle Solaris operating system (OS), such as datalinks, IP interfaces and addresses, naming and directory services, reactive profiles, and wireless networks. ■ Audience – System administrators who are responsible for managing network configuration in corporate datacenters. ■ Required knowledge – Basic and advanced network administration concepts and practices. Product Documentation Library Late-breaking information and known issues for this product are included in the documentation library at http://www.oracle.com/pls/topic/lookup?ctx=E36784. Access to Oracle Support Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http:// www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired. Feedback Provide feedback about this documentation at http://www.oracle.com/goto/docfeedback. Using This Documentation 9 10 Configuring and Administering Network Components in Oracle Solaris 11.2 • September 2014

Description:
1 About Network Administration in Oracle Solaris . To compare the Oracle Solaris 10 network stack with the Oracle Solaris 11 network stack, see.
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.