标签:
ifcfg-ens32
1 --static 2 TYPE=Ethernet 3 BOOTPROTO=static 4 DEFROUTE=yes 5 IPV4_FAILURE_FATAL=no 6 IPV6INIT=yes 7 IPV6_AUTOCONF=yes 8 IPV6_DEFROUTE=yes 9 IPV6_FAILURE_FATAL=no 10 NAME=ens32 11 UUID=62fdc2e9-3be7-4558-a846-f6ba391d8db7 12 ONBOOT=no 13 IPADDR=1.1.13.5 14 PREFIX=24 15 GATEWAY=1.1.13.2 16 DNS1=1.1.13.2 17 DOMAIN=1.1.13.3 18 HWADDR=00:0C:29:A0:B6:EC //must be same with the mac in $(ip add) 19 IPV6_PEERDNS=yes 20 IPV6_PEERROUTES=yes 21 22 --dhcp 23 HWADDR="00:0C:29:67:DB:91" 24 TYPE="Ethernet" 25 BOOTPROTO="dhcp" 26 DEFROUTE="yes" 27 PEERDNS="yes" 28 PEERROUTES="yes" 29 IPV4_FAILURE_FATAL="no" 30 IPV6INIT="yes" 31 IPV6_AUTOCONF="yes" 32 IPV6_DEFROUTE="yes" 33 IPV6_PEERDNS="yes" 34 IPV6_PEERROUTES="yes" 35 IPV6_FAILURE_FATAL="no" 36 NAME="ens32" 37 UUID="b394a05c-51c4-4dc6-adef-10463ae0287d" 38 ONBOOT="yes"
标签:
原文地址:http://www.cnblogs.com/johvoo/p/4198517.html