1、编辑/etc/sysconfig/network-scripts/ifcfg-eth0配置文件
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:b1:a8:14
IPADDR=192.168.211.10
NETMASK=255.255.255.0
GATEWAY=192.168.211.1
1、编辑/etc/sysconfig/network-scripts/ifcfg-eth0配置文件
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:0c:29:b1:a8:14
IPADDR=192.168.211.10
NETMASK=255.255.255.0
GATEWAY=192.168.211.1