Subject: PPP Routing (was RE: Prob building KDE3)
To: Jason Marshall <jasonm@cat.co.za>
From: Piers Hearn <endareth@spamcop.net>
List: netbsd-help
Date: 07/30/2002 00:36:45
Jason,
Have you got the line "defaultroute" in your /etc/ppp/options config file? 
I think that should cause your ppp connection to add the default route in 
when it connects. Failing that, doing route add default xxx.xxx.xxx.xxx 
with the ip of the remote machine should add it in.
Good luck!
         Piers

At 00:01 30/07/2002, Jason Marshall wrote:
>Hi All
>
>I am looking for a solution to add routes to on my system when dialling out
>using PPP.
>I have looked at putting a route in rc.local, but sometimes the routes don't
>get added
>to the routing table.
>
>
>
>exp.
>
>
>                 system 
> 1                        modem                   modem 
> system 2       LAN
>
>[192.168.36.205]-----[192.168.60.1]-------[192.168.60.2]-------[10.164.45.1]
>----[10.164.45.0]
>
>   route add 10.164.45.0 
> 192.168.60.2                                            route add 192.168.36.0
>192.168.60.1
>
>
>On system 1 I can add the route using the rc.local file with no problem. I
>cannot do this on system 2.
>How should I add this route in?
>
>Thanks
>jason