Linux/CentOSスタティックルーティング の変更点


*CentOSスタティックルーティング [#f93237d7]

 # vi /etc/sysconfig/static-routes
   any net 192.168.15.0 netmask 255.255.255.0 gw 38.113.205.1 dev eth1
   any net 38.113.205.0 netmask 255.255.255.0 gw 38.99.65.254 dev eth0


ネットワーク再起動
 # /etc/init.d/network restart



**コマンドの場合 [#vb9bb6e3]
 # route --net 192.168.15.0 netmask 255.255.255.0 gw 38.113.205.1 dev eth1