Linux/CentOSスタティックルーティング
CentOSスタティックルーティング †
# 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
コマンドの場合 †
# route --net 192.168.15.0 netmask 255.255.255.0 gw 38.113.205.1 dev eth1