centos7.0网卡配置删掉了如何恢复
2个回答
展开全部
新建一个回来就可以了
/etc/sysconfig/network-scripts/ifcfg-eno16777736
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777736
UUID=7837d0b8-33c5-4da3-9a37-1fa940fc7b06
DEVICE=eno16777736
ONBOOT=yes
IPADDR=192.168.157.22
NETMAST=255.255.255.0
GATEWAY=192.168.157.1
/etc/sysconfig/network-scripts/ifcfg-eno16777736
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777736
UUID=7837d0b8-33c5-4da3-9a37-1fa940fc7b06
DEVICE=eno16777736
ONBOOT=yes
IPADDR=192.168.157.22
NETMAST=255.255.255.0
GATEWAY=192.168.157.1
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |