[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PPP link kills routing table



I have had the same problem, I think, for some time. After
connecting to my isp's dialup with ppp route will just hang
as Mark mentioned. I have just merrily ignored it and manually
typed 'route add -net default ppp0' and then it works. Not a
big inconvienence, but I have been curious why this happens.
I do have defaultroute in my /etc/ppp/options.

Eric Hoeltzel (erick@sequim.com)


On Tue, 18 Jun 1996, Mark Phillips wrote:

> Hi,
> 
> Thank's to all the people who have helped me recently.  Every time I
> solve one problem, another appears.
> 
> I tried establishing a ppp link and found it didn't work.  To find out
> what was going on, I ran route and got:
> 
> # route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref Use Iface
> 
> 
> and then route just hung.
> 
> When pppd was not connected, I got:
> 
> # route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref Use Iface
> localnet        *               255.255.255.0   U     0      0 1 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0 6 lo
> default         *               0.0.0.0         U     1      0 12 eth0
> 
> or, doing route -n:
> 
> # route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref Use Iface
> 192.1.1.0       0.0.0.0         255.255.255.0   U     0      0 1 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0 6 lo
> 0.0.0.0         0.0.0.0         0.0.0.0         U     1      0 12 eth0
> 
> 
> I tried several things to try and get it to work.  Previously ppp had
> worked when I had nothing in my /etc/modules file, so I tried
> commenting out the entries and rebooted.  PPP now works (as you can
> see by the fact that I am typing this), however I think ppp working is
> the result of a side effect: namely, that as a result my local
> ethernet network wasn't setup.  If I now type route, before running
> pppd, I get:
> 
> # route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref Use Iface
> localhost       *               255.255.255.255 UH    0      0 2 lo
> 
> And with pppd running I get:
> 
> # route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref Use Iface
> localhost       *               255.255.255.255 UH    0      0 2 lo
> annex05.cc.flin *               255.255.255.255 UH    0      0 0 ppp0
> default         annex05.cc.flin 0.0.0.0         UG    0      0 3 ppp0
> 
> 
> 
> So the question is: what is wrong?  Why can't I run the ethernet
> network and pppd at the same time?  I could with my old slackware
> system.
> 
> 
> Thank's for your help,
> 
> Mark Phillips.  (mark@maths.flinders.edu.au)
> 
> P.S.  I'm not convinced it is a problem with the ethernet network
> because I think (but am not sure) that I may have previously had a
> debian system working with both pppd and ethernet running
> simultaneously, though, if I remember rightly, I routed ethernet
> manually that time.
> 
> 


Reply to: