using ifenslave to configure bonding
About ifenslave : Attach and detach slave network devices to a bonding device
- To show information of all the inerfaces
# ifenslave -a
# ifenslave --all-interfaces
- To change the active slave
# ifenslave -c bond0 eth1
# ifenslave --change-active bond0 eth1
- To remove the slave interface from the bonding device
# ifenslave -d eth1
# ifenslave --detach bond0 eth1
- To show master interface info
# ifenslave bond0
- To set the bond device down and automatically release all the slaves
# ifenslave bond1 down
- To get the help for the ifenslave
# ifenslave -h
# ifenslave --help
- To get the usage info
# ifenslave -u
# ifenslave --usage
- To set to verbose mode
# ifenslave -v
# ifenslave --verbose
- To get the version info
# ifenslave -V
# ifenslave --version
Last updated
Was this helpful?