We have recently configured a VPN tunnel between two locations using ssh
and PPP. This is all fine and the point to point link comes up no worries
The real problem lies in the fact that as soon as I try to add a route
automatically using ip-up the point to point link stops responding until I
remove the route.
The command I am using to do this is :
/usr/sbin/pppd nodetach debug noccp user blah pty 'ssh -t \
I use no detach to get easy access to the debug data - the problem is
identical if I remove nodetach and the debug.
The ip-up script looks like :
/sbin/route add -net a.b.c.0/23 dev $1
The route is successfully added but as soon as the route is present the
PPP link will not even pass LCP echo. If I remove the route after a few
seconds (up to 30) the PPP link comes alive again. The problem is the same
if I use a network that emcompasses the PPP link addresses or not.
Now the weird thing is that if I manually add the routes with
"route add -net a.b.c.0/23 dev ppp0" then it does not happen - all is
fine and dandy !
Is this a known issue as I was looking around the net from a google search
and found a refernce to a Linux VPN howto that reccommended that you build
a minutely run cron script to add routes. This VPN doc outlined how to do
what we had done anyhow but I found it strange that it did not use ip-up
to add routes !
Any help greatly appreciated.
Other details are :
ipchains in but no details of packets being blocked (log option used !)
pppd version 2.3.10
PS. the other end is freebsd but the drama only occurs when I add the
route from my end so I am figuring a linux bug.
Stephen Baxter SE Network Access/Big Networks Australia
phone : +61 8 8221 5221 222 Grote Street
fax : +61 8 8221 5220 Adelaide 5000, Australia