Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Administration: Network Interfaces and Network Virtualization Oracle Solaris 11 Express 11/10 |
2. NWAM Configuration and Administration (Overview)
3. NWAM Profile Configuration (Tasks)
4. NWAM Profile Administration (Tasks)
5. About the NWAM Graphical User Interface
Part II Administering Single Interfaces
6. Overview of the Networking Stack
7. Datalink Configuration and Administration
8. Configuring an IP Interface
9. Configuring Wireless Interface Communications on Oracle Solaris
Part III Administering Interface Groups
11. Administering Link Aggregations
IPMP Group Creation and Configuration (Task Map)
IPMP Group Maintenance (Task Map)
Probe-Based Failure Detection Configuration (Task Map)
IPMP Group Monitoring (Task Map)
How to Configure an IPMP Group by Using DHCP
How to Manually Configure an Active-Active IPMP Group
How to Manually Configure an Active-Standby IPMP Group
How to Add an Interface to an IPMP Group
How to Remove an Interface From an IPMP Group
How to Add or Remove IP Addresses
How to Move an Interface From One IPMP Group to Another Group
Configuring for Probe-Based Failure Detection
How to Manually Specify Target Systems for Probe-Based Failure Detection
How to Configure the Behavior of the IPMP Daemon
Recovering an IPMP Configuration With Dynamic Reconfiguration
How to Replace a Physical Card That Has Failed
About Missing Interfaces at System Boot
How to Obtain IPMP Group Information
How to Obtain IPMP Data Address Information
How to Obtain Information About Underlying IP Interfaces of a Group
How to Obtain IPMP Probe Target Information
How to Customize the Output of the ipmpstat Command in a Script
How to Generate Machine Parseable Output of the ipmpstat Command
Part IV Network Virtualization and Resource Management
15. Introducing Network Virtualization and Resource Control (Overview)
16. Planning for Network Virtualization and Resource Control
17. Configuring Virtual Networks (Tasks)
18. Using Link Protection in Virtualized Environments
19. Managing Network Resources
This section contains tasks for maintaining existing IPMP groups and the interfaces within those groups. The tasks presume that you have already configured an IPMP group, as explained in Configuring IPMP Groups.
Make sure that the interface that you add to the group matches all the constraints to be in the group. For a list of the requirements of an IPMP group, see How to Plan an IPMP Group.
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
# ifconfig interface group group-name
The interface specified in interface becomes a member of IPMP group group-name.
Example 14-3 Adding an Interface to an IPMP Group
To add the interface hme0 to the IPMP group itops0, you would type the following command:
# ifconfig hme0 group itops0 # ipmpstat -g GROUP GROUPNAME STATE FDT INTERFACES itops0 itops0 ok 10.00s subitops0 subitops1 hme0
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
# ifconfig interface group ""
The quotation marks indicate a null string.
Example 14-4 Removing an Interface From a Group
To remove the interface hme0 from the IPMP group itops0, you would type the following command:
# ifconfig hme0 group "" # ipmpstat -g GROUP GROUPNAME STATE FDT INTERFACES itops0 itops0 ok 10.00s subitops0 subitops1
You use the ifconfig addif syntax to add addresses or the ifconfig removeif command to remove addresses from interfaces. In the current IPMP implementation, test addresses are hosted on the underlying IP interface, while data addresses are assigned to the IPMP interface. The following procedures describes how to add or remove IP addresses that are either test addresses or data addresses.
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
To add data addresses to the IPMP group, type the following command:
# ifconfig ipmp-interface addif ip-address up
To remove an address from the IPMP group, type the following command:
# ifconfig ipmp-interface removeif ip-address
To assign a test address to an underlying interface of the IPMP group, type the following command:
# ifconfig interface addif -failover ip-address up
To remove a test address from an underlying interface of the IPMP group, type the following command:
# ifconfig interface removeif ip-address
Example 14-5 Removing a Test Address From an Interface
The following example uses the configuration of itops0 in Example 14-2. The step removes the test address from the interface subitops0.
# ipmpstat -t INTERFACE MODE TESTADDR TARGETS subitops0 routes 192.168.10.30 192.168.10.1 # ifconfig subitops0 removeif 192.168.85.30
You can place an interface in a new IPMP group when the interface belongs to an existing IPMP group. You do not need to remove the interface from the current IPMP group. When you place the interface in a new group, the interface is automatically removed from any existing IPMP group.
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
# ifconfig interface group group-name
Placing the interface in a new group automatically removes the interface from any existing group.
Example 14-6 Moving an Interface to a Different IPMP Group
This example assumes that the underlying interfaces of your group are subitops0, subitops1, subitops2, and hme0. To change the IPMP group of interface hme0 to the group cs-link1, you would type the following:
# ifconfig hme0 group cs-link1
This command removes the hme0 interface from IPMP group itops0 and then puts the interface in the group cs-link1.
Use this procedure if you no longer need a specific IPMP group.
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
# ipmpstat -g
# ifconfig ip-interface group ""
Repeat this step for all the IP interfaces that belong to the group.
Note - To successfully delete an IPMP interface, no IP interface must exist as part of the IPMP group.
# ifconfig ipmp-interface unplumb
After you unplumb the IPMP interface, any IP address that is associated with the interface is deleted from the system.
# rm /etc/hostname.ipmp-interface
Example 14-7 Deleting an IPMP Interface
To delete the interface itops0 that has the underlying IP interface subitops0 and subitops1, you would type the following commands:
# ipmpstat -g GROUP GROUPNAME STATE FDT INTERFACES itops0 itops0 ok 10.00s subitops0 subitops1 # ifconfig subitops0 group "" # ifconfig subitops1 group "" # ifconfig itops0 unplumb # rm /etc/hostname.itops0
You would then edit the files /etc/hostname.subitops0 and /etc/hostname.subitops1 to remove “group” entries in those files.