[root@hym-11-81:~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static 网卡手动配置
DEFROUTE=yes
NAME=eth0 网卡名
UUID=12129901-e0f8-4aa5-9e84-87012ef77847
DEVICE=eth0
ONBOOT=yes 开机自启
PREFIX=21 子网掩码
GATEWAY=192.168.10.1 网关
IPADDR=192.168.11.81 IP地址
DNS1=192.168.10.1 DNS1
DNS2=114.114.114.114 DNS2