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

Re: ppp can't get a route?



Leandro Guimarães Faria Corcete Dutra, 2003-Jul-15 09:47 -0300:
> 	I am trying to alternate between ethernet and ppp with ifplugd.
> 
> 	The issue is that no matter what ppp seems to never get routed.  It adds
> its lines to resolv.conf, it adds its routes, but no joy.
> 
> 	Could someone help me?  If you need any additional info, please shout.
> 
> 
> 	This is after removing the default route, downing eth0:
> 
> corcete:~# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.0.2     *               255.255.255.255 UH    0      0        0 tap0
> 194.230.5.176   *               255.255.255.255 UH    0      0        0 ppp0
> default         *               0.0.0.0         U     0      0        0 tap0
> corcete:~# netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 192.168.0.2     0.0.0.0         255.255.255.255 UH        0 0          0 tap0
> 194.230.5.176   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
> 0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0 tap0
> corcete:~# 

I'm not familiar with this tap0 type of interface, but if you have any
default routes in place when bringing up your ppp interface, the ppp
default route will not override the existing default route.  You'll
need to make sure there are no default routes in place before bringing
up the ppp interface.  You don't have to take eth0 down, just remove
the existing default route prior to pon.  This will allow ppp to set
the default route to the ppp0 interface.

Will having a default route to ppp0 solve your routing problem.  Or,
do you need to add specific static routes to take advantage of having
multiple interfaces?  

jc

-- 
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: