network interface bonding enable
Enable network interface bond0 or bond1.
NOTE When enabling a bonded interface, the Luna Network HSM 7 bonding subsystem requires the underlying physical interfaces (eth0, eth1) to have an IP address assigned before they will be recognized as active links. If you receive the unable to detect active links over secondary interfaces error, assign temporary IP addresses to each physical interface using network interface bonding config, and then retry the enable command. These addresses are only needed to bring the interfaces into an UP state. Once bonding has occurred and bond0 is active, the physical interface addresses will no longer be used for traffic.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
Syntax
network interface bonding enable -name <netbond>
| Argument(s) | Shortcut | Description |
|---|---|---|
| -name <netbond> | -n |
Specifies the bonded interface you want to enable. Valid values: bond0, bond1 |
| -force | -f |
Force action with no prompt. |
Example
lunash:>network interface bonding enable -name bond0 WARNING! All network connections through eth0 and eth1 will be interrupted. If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit' > proceed Proceeding... Activating bond-slave-eth0... Activating bond-slave-eth1... Command Result : 0 (Success) lunash:>network show Hostname : sa7pw Name Server(s) : Search Domain(s) : <not set> Interface settings and status HW Address (eth0) : 00:15:B2:A9:B7:85 Bond master (eth0) : bond0 Link detected (eth0) : Yes HW Address (eth1) : 00:15:B2:A9:B7:85 Bond master (eth1) : bond0 Link detected (eth1) : Yes HW Address (bond0) : 00:15:B2:A9:B7:85 IP Address (bond0) : 192.20.11.64/24 Mask (bond0) : 255.255.255.0 Gateway (bond0) : 192.20.11.10 DNS (bond0) : DNS Search (bond0) : IP Protocol (bond0) : IPv4 Protocol (bond0) : Static Auto Connect (bond0) : Yes Activated (bond0) : Yes Link detected (bond0) : Yes Active Slaves (bond0) : eth1 eth0 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.20.11.10 0.0.0.0 UG 301 0 0 bond0 192.20.11.0 0.0.0.0 255.255.255.0 U 300 0 0 bond0 192.20.11.0 0.0.0.0 255.255.255.0 U 301 0 0 bond0 Command Result : 0 (Success)