[NTLUG:Discuss] PPP and LAN

Randall Gibson wabbit at tvec.net
Thu Nov 2 18:15:27 CST 2000


Hehe, this is the same problem I have been putting up with, sort of.
I am using a laptop, and when on my LAN, it has a default route to the
firewall. When I try to use it for a dialup, while not on LAN, I have to
add a defult route to ppp0 becuse pppd doesnt seem to want to do it on its
own when there is already a defult route.  Is there a way to fix this that
is "More correct" than just adding a line to the ppp-up script?? 

On Thu, 02 Nov 2000 13:24:41 MadHat wrote:
> MadHat wrote:
> > 
> > I know there is an easy answer here, but I can't find it....
> > I have a box on a lan, and I want to get that box to dial out to
> connect
> > to an ISP and get some data.  But to get it to dial out I have to shut
> > off the LAN first.  This is very anoying if I am not sitting in front
> of
> > that machine and want to test the scipts I am using.  2.2.x kernel,
> > using pppd and chat in a script to connect (not ppp-up or kppp or
> > anything like that).
> > 
> > Everything appears to work fine, except the connection will die unless
> > the LAN is taken down first (no error messages any the logs).  I am
> > looking through the HOWTOs and searching, but do not see an answer,
> > though I now it is out there.
> > 
> > Thanks
> 
> 
> Thanks...  it was a default route issue.  I added static routes for the
> local machines, so that I can ssh into the box from the LAN, but can't
> get out to the internet (fine for now), and when I dialup, I get a
> default route set by pppd, and everything is happy.
> 
> Thanks again
> 
> -- 
> MadHat at unspecific.com
>                                    "The 3 great virtues of a programmer:
>                                       Laziness, Impatience, and Hubris."
>                                                  --Larry Wall
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
> 
> 




More information about the Discuss mailing list