Changing Linux Network Interface Bonding
WARNING: The following steps will stop your network interface, please ensure that you have KVM-Over-IP before attempting to do it remotely.
If you ever had to change the bonding type while the server is live, follow the steps:
[db2:/root]# ifdown bond0 [db2:/root]# modprobe -r bonding [db2:/root]# modprobe bonding mode=1 miimon=100 [db2:/root]# ifup bond0 [db2:/root]# cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008) Bonding Mode: fault-tolerance (active-backup) Primary Slave: None Currently Active Slave: eth2 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Slave Interface: eth2 MII Status: up Link Failure Count: 0 Permanent HW addr: Slave Interface: eth3 MII Status: up Link Failure Count: 0 Permanent HW addr:
Hope this helps someone out there.
Leave a comment