[root@localhost ~]# more /etc/sysconfig/network-scripts/ifcfg-ens224 /etc/sysconfig/network-scripts/ifcfg-ens224:1 :::::::::::::: /etc/sysconfig/network-scripts/ifcfg-ens224 :::::::::::::: TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no #BOOTPROTO=dhcp DEFROUTE=no IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no NAME=ens224 #UUID=e4014630-448b-5ad3-4992-f4678202147c DEVICE=ens224 ONBOOT=yes IPADDR=10.10.2.50 PREFIX=24 BOOTPROTO=none :::::::::::::: /etc/sysconfig/network-scripts/ifcfg-ens224:1 :::::::::::::: TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no #BOOTPROTO=dhcp DEFROUTE=no IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no NAME=ens224:1 #UUID=e4014630-448b-5ad3-4992-f4678202147c DEVICE=ens224:1 ONBOOT=yes IPADDR=10.10.2.51 PREFIX=24 BOOTPROTO=none
标签:sysconfig,no,IP,IPV6,DEFROUTE,ens224,网卡,linux,yes From: https://www.cnblogs.com/santia-god/p/18001211