CentOS の ルーティングテーブルから 169.254.0.0 を削除する方法
CentOS の ルーティングテーブルから 169.254.0.0 を削除する方法は以下の通り。
1. /etc/sysconfig/network に以下の一行を追加
NOZEROCONF=yes
2. ネットワークの再起動
# /etc/init.d/network restart
(設定前)
# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.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.100.1 0.0.0.0 UG 0 0 0 eth0
(設定後)
# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 eth0
コメントはまだありません。