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

ppp can't get a route?



	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:~# 


	After poff:

corcete:~# poff
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
0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0 tap0
corcete:~# 
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
default         *               0.0.0.0         U     0      0        0 tap0
corcete:~# 


	After restoring eth0:

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
192.168.1.0     0.0.0.0         255.255.255.248 U         0 0          0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0 tap0
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
192.168.1.0     *               255.255.255.248 U     0      0        0 eth0
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
default         *               0.0.0.0         U     0      0        0 tap0
corcete:~# 


	And this is a FireWire iBook SE running a mixture of testing and unstable
with the 2.4.21 kernel, ppp 2.2.1.uus-5.


-- 
Leandro Dutra



Reply to: