Adding routes when using pppd
The remote network is, in turn, connected to another network that I want to be able to access through the VPN. But if I try to add a route:
sudo route add -net <far away network> <ppp gateway>
The route shows up for just a moment (using `netstat -rn`) but then disappears quickly. I assume that pppd or some other program running is overwriting my routing rules just moments after I create them.
I tried doing the same thing in a /etc/ppp/ip-up script, but the same thing happens: the route gets deleted less than a second after it is created.
Am I doing something wrong? This is really frustrating.
MBP 15", Mac OS X (10.6.4)