自動雙路由
發表於 : 2007-02-08 18:43:08
/etc/network/if-up.d
root@testserver:/etc/network/if-up.d# cat addroute
#! /bin/sh
route add -net 10.0.0.0 gw 10.1.2.254 netmask 255.0.0.0
exit 0
root@testserver:/etc/network/if-up.d# cat addroute
#! /bin/sh
route add -net 10.0.0.0 gw 10.1.2.254 netmask 255.0.0.0
exit 0