标签:linux 网卡设置
[root@localhost ~]# sed -i ‘/UUID/d‘ /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost ~]# sed -i ‘/HWADDR/d‘ /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost ~]# >/etc/udev/rules.d/70-persistent-net.rules
[root@localhost ~]# reboot
[root@bogon ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=10.41.1.80
NETMASK=255.255.255.0
GATEWAY=10.41.1.253
DNS1=10.41.7.13
"/etc/sysconfig/network-scripts/ifcfg-eth0" 12L, 151C
标签:linux 网卡设置
原文地址:http://11956937.blog.51cto.com/11946937/1965249