Question: How to change bonding Network configuration to simple network configuration?
The high level steps are:
- stop the bonding interface.
- change the network configuration from the bonding to simple network interface.
- then start the simple network interface.
For example, if the bonding interface is: bond0, and it is bonded with eth0 and eth1. And you want to bring up the eth0.
1. Stop the network service. Before stopping the network service make sure you have console connection to the server:
# service network stop
2. Edit the network configuration:
# cd /etc/sysconfig/network-scripts mv ifcfg-bond0 bk.ifcfg-bond0 ### change bond0 name mv ifcfg-eth1 bk.ifcfg-eth1 ### eth1 name
3. Edit the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0, for example:
from:
DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none HOTPLUG=no IPV6INIT=no
to
DEVICE=eth0 BOOTPROTO=none ONBOOT=yes HOTPLUG=no IPV6INIT=no IPADDR=192.168.xx.15 ==>you will get these information from the above ifcfg-bond0.bk file. NETMASK=255.255.255.0 GATEWAY=192.168.xx.1 NETWORK=192.168.xx.0 BROADCAST=192.168.xx.255
3. Start the eth0 interface:
# ifup eth0