Subject: RE: PPP Routing (was RE: Prob building KDE3)
To: Piers Hearn <endareth@spamcop.net>
From: Jason Marshall <jasonm@cat.co.za>
List: netbsd-help
Date: 07/29/2002 16:45:41
Hi Piers

Thanks

Jason

-----Original Message-----
From: Piers Hearn [mailto:endareth@spamcop.net]
Sent: 29 July 2002 04:37
To: Jason Marshall
Cc: netbsd-help@netbsd.org
Subject: PPP Routing (was RE: Prob building KDE3)


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