CentOS7 IP自动获取

/etc/sysconfig/network-scripts

 

HWADDR=00:15:5D:00:76:04
TYPE=Ethernet
BOOTPROTO=dhcp
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=eth0
UUID=9ddfa3ab-91ed-48f4-82d5-7c8e716e3394
ONBOOT=yes
DNS1=219.141.140.10

你可能感兴趣的:(CentOS7 IP自动获取)