172.30.243.2 の再起動時にやること


再起動するとstatic routeがさくじょされるっぽいので、


route add -net ~.31.229.0 netmask 255.255.255.0 eth0

こんなコマンドを

172.31.229.0:サーバセグメント
172.31.230.0:栃木事務所NW
172.31.231.0:館林
172.31.232.0:結城
172.31.233.0:筑西

のNWを追加してやればよい。

追加後のNWは以下の通り


[root@pritmint network-scripts]# route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.30.243.0 * 255.255.255.0 U 0 0 0 eth0
172.31.232.0 * 255.255.255.0 U 0 0 0 eth0
172.31.233.0 * 255.255.255.0 U 0 0 0 eth0
172.31.230.0 * 255.255.255.0 U 0 0 0 eth0
172.31.231.0 * 255.255.255.0 U 0 0 0 eth0
172.29.3.0 * 255.255.255.0 U 0 0 0 eth1
172.31.229.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
link-local * 255.255.0.0 U 1003 0 0 eth1
default 172.29.3.254 0.0.0.0 UG 0 0 0 eth1


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS