Pregunta :¿Cómo cambiar la configuración de la red de vinculación a una configuración de red simple?
Los pasos de alto nivel son:
- detenga la interfaz de unión.
- cambie la configuración de red de vinculación a interfaz de red simple.
- luego inicie la interfaz de red simple.
Por ejemplo, si la interfaz de vinculación es:bond0 y está vinculada con eth0 y eth1. Y quieres abrir el eth0.
1. Detenga el servicio de red. Antes de detener el servicio de red, asegúrese de tener una conexión de consola con el servidor:
# service network stop
2. Edite la configuración de la red:
# cd /etc/sysconfig/network-scripts mv ifcfg-bond0 bk.ifcfg-bond0 ### change bond0 name mv ifcfg-eth1 bk.ifcfg-eth1 ### eth1 name
3. Edite el archivo de configuración /etc/sysconfig/network-scripts/ifcfg-eth0, por ejemplo:
de:
DEVICE=eth0 USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none HOTPLUG=no IPV6INIT=no
a
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. Inicie la interfaz eth0:
# ifup eth0