digiturf.net

Remove network bonding in Linux.


* * This procedure is successful on Oracle Enterprise Linux 6.3 & should also work in RHEL aswell.
* * Login to console of server if you are not physically available at server to complete this process.

 # ifconfig bond0 down       –  Will Bring down the “bond0” down.
 # echo “-eth0” > /sys/class/net/bond0/bonding/slaves         – removes interface “eth0” from “bond0”.

 # echo “-eth1” > /sys/class/net/bond0/bonding/slaves         – removes interface “eth1” from “bond0”.

* * Important thing to be observed from above image is that MTU of interface is changed from “9000” to “1500” when it is removed from bonding. If the MTU is 9000 for network packet, it is called “Big Packet / Jumbo Frame”. When the interface is “standalone” it is better that it’s MTU be 1500.

 # echo “-bond0” > /sys/class/net/bonding_masters      – removes the config & Files related to “bond0”.

 # rmmod bonding            – removes the driver module named “bonding” which can be seen using #lsmod

* * The procedure is completed by this.

##  The following message will be given when tried to remove the non-existent device [ Here it is eth2 ] from “network bonding”.

Leave a Reply