# Date:2016-06-28
# 問題:主機的配置檔案/etc/sysconfig/network-scripts/ifcfg-eth0 已經配置好了靜態的IP。
但隔幾分鐘主機的IP就自己變化了...
# 解決:
檢視日誌/var/log/messages
發現主機總是在獲得DHCP分配的地址......
檢視程式:
[root@localhost network-scripts]# ps aux | grep client
root 4857 0.0 0.0 9116 1008 ? Ss 08:52 0:00 dhclient eth0
root 7870 0.0 0.0 103252 840 pts/7 S+ 10:01 0:00 grep client
好吧...kill掉...
[root@localhost network-scripts]# kill -9 4857