・問題点
/etc/sysconfig/network に書いたGATEWAYが反映されない
[root@localhost ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
(ローカルNW) 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
(社内NW) (社内向けGW) 255.0.0.0 UG 0 0 0 eth0
0.0.0.0 (社外向けGW) 0.0.0.0 UG 0 0 0 eth0
となるべきが、
[root@localhost ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
(ローカルNW) 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
(社内NW) (社内向けGW) 255.0.0.0 UG 0 0 0 eth0
0.0.0.0 (社内向けGW) 0.0.0.0 UG 0 0 0 eth0
となってしまうというもの。非常に参った。
/etc/sysconfig/network には、ちゃんと GATEWAY=(社外向けGW) となっているにもかかわらず、だ。
ちなみに、社内NW向けのスタティックルートは /etc/sysconfig/network-scripts/route-eth0 というファイルで対応している。
さて、何が問題だろうか。まずはインストール時の処理をさかのぼってみることにする。
つづきはこちら]]>