修改配置文件:/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.10.255
HWADDR=00:0c:29:09:4e:47
IPADDR=192.168.10.14
NETMASK=255.255.255.0
NETWORK=192.168.10.0
ONBOOT=yes
GATEWAY=192.168.10.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
时间: 2024-11-05 11:35:59