172.30.243.2 の再起動時にやること


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


route add -net ~.31.229.0 netmask 255.255.255.0 eth0

こんなコマンドを

.31.229.0:サーバセグメント

.31.230.0:栃木事務所NW

.31.231.0:館林

.31.232.0:結城

.31.233.0:筑西

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

追加後のNWは以下の通り


[root@pritmint network-scripts]# route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

.30.243.0 * 255.255.255.0 U 0 0 0 eth0

.31.232.0 * 255.255.255.0 U 0 0 0 eth0

.31.233.0 * 255.255.255.0 U 0 0 0 eth0

.31.230.0 * 255.255.255.0 U 0 0 0 eth0

.31.231.0 * 255.255.255.0 U 0 0 0 eth0

.29.3.0 * 255.255.255.0 U 0 0 0 eth1

.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 ~.29.3.254 0.0.0.0 UG 0 0 0 eth1


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