vi /etc/sysconfig/network-scripts/ifcfg-ens192
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens192
UUID=236919bd-2f66-4cc5-bbb4-b5f3f0264b61
DEVICE=ens192
ONBOOT=no
IPADDR=192.168.69.124
PREFIX=24
GATEWAY=10.170.100.254
vi /etc/sysconfig/network-scripts/ifcfg-ens192
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens192
UUID=236919bd-2f66-4cc5-bbb4-c8f3f0264b61
DEVICE=ens192
ONBOOT=yes
IPADDR=192.168.69.124
NETMASK=255.255.255.0
GATEWAY=192.168.69.254
网友评论