Centos双IP以及DNS配置
# vim /etc/sysconfig/network-scripts/ifcfg-eth0 # Broadcom Corporation BCM4401-B0 100Base-TXDEVICE=eth0BOOTPROTO=staticHWADDR=00:1B:B9:70:B4:87IPADDR=192.168.1.115NETMASK=255.255.255.0ONBOOT=yes copy一份ifcfg-eth0为ifcfg-eth1# vim /etc/sysconfig/network-scripts/ifcfg-eth1 # Broadcom Corporation BCM4401-B0 100Base-TXDEVICE=eth0BOOTPROTO=staticHWADDR=00:1B:B9:70:B4:87IPADDR=192.168.10.234NETMASK=255.255.255.0GATEWAY=192.168.10.1DNS1=192.168.10.1ONBOOT=yesservice network restart
ping baidu OK.inter also OK
over!
页:
[1]