1.修改網路卡IP Address
[root@m2kremote network-scripts]#vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none (or dhcp)
HWADDR=00:25:90:0a:37:68
ONBOOT=yes
HOTPLUG=no
IPADDR=192.168.100.5
NETMASK=255.255.255.0
GATEWAY=192.168.100.1
TYPE=Ethernet

2.重新啟動網路設定
/etc/init.d/network restart

蒼穹 發表在 痞客邦 留言(0) 人氣()