#vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="static"
HWADDR="XX:XX:XX:XX:XX:XX"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="aa3baac5-aaa7-4aa5-9aaa-baa284b2d231"
IPADDR=xx.xx.81.167
NETMASK=255.255.255.224
NETWORK=xx.xx.81.160
BROADCAST=xx.xx.81.191
GATEWAY=xx.xx.81.161
IPADDR2=192.168.0.48
NETMASK2=255.255.255.0
NETWORK2=192.168.0.0
BROADCAST2=192.168.0.255
GATEWAY2=192.168.0.11
DNS1=202.106.0.20
DNS2=192.168.0.13
本文转自 h2appy 51CTO博客,原文链接:http://blog.51cto.com/h2appy/1093846,如需转载请自行联系原作者