vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:0c:29:b2:b7:9c
TYPE=Ethernet
UUID=272207b5-551d-4de3-b601-158ab9765771
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=192.168.1.200
NETMASK=255.255.255.0
GATEWAY=192.168.1.253
DNS1=202.96.128.166
IPV6INIT=no
USERCTL=no
connect: Network is unreachable
时间: 2024-10-25 11:44:34