Centos 169.254

不知何時開始, Centos 上有以下特性

如圖:

[root@centos6 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:C5:83:97
          inet addr:192.168.123.102  Bcast:192.168.123.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fec5:8397/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2091 errors:0 dropped:0 overruns:0 frame:0
          TX packets:339 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:228950 (223.5 KiB)  TX bytes:46698 (45.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@centos6 ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.123.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
0.0.0.0         192.168.123.1   0.0.0.0         UG    0      0        0 eth0

 

是的, 就是多了 M$ zoreconfig 的 route .....

雖然不它不是什麼故障, 不過總是癢癢的

 

在 /etc/sysconfig/network 加入

NOZEROCONF=yes

之後

service network restart

即可

 

 

 

Creative Commons license icon Creative Commons license icon