cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 HWADDR=08:00:27:52:55:0A TYPE=Ethernet UUID=06855d06-2d18-4ac0-a721-f5629f221642 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=192.168.0.239 NETMASK=255.255.255.0
cat /etc/resolv.conf
nameserver 114.114.114.114 nameserver 8.8.8.8
cat /etc/sysconfig/network
GATEWAY=192.168.0.1
时间: 2024-11-05 16:30:56