On Fri, 14 Oct 2005 04:34:54 -0600
jared r r spiegel <[EMAIL PROTECTED]> wrote:
> (/etc/rc.local)
> ---------------
> #the vpn!
> if [ -p /var/run/isakmpd.fifo ]; then
>         echo -n 'adding VPN 192.168 routes:'
>         for VPNDEST in 192.168.23.0/25 192.168.23.128/25; {
>             /sbin/route add -net ${VPNDEST} -interface 192.168.7.27 > 
> /dev/null 2>&1

You might want to use the -static option to route. I found out the hard way
that if you don't the route will be removed from the routing table if,
for example, the carrier drops on the interface.

---
Lars Hansson

Reply via email to