Re: pppd gateway/software suspend
On Sat, 20 Mar 2004, Bill Marcum wrote:
> Do you have any other network device with a default route?
I usually do, but I bring it down before opening pppd, with ifconfig eth0
down etc.
> What is the
> output of 'route -n' when ppp is connected?
>
After pppd connection has started, I get:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.100.101 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 127.0.0.1 0.0.0.0 UG 0 0 0 lo
then I do:
route add default gw 192.168.100.101
and I get
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.100.101 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 192.168.100.101 0.0.0.0 UG 0 0 0 ppp0
0.0.0.0 127.0.0.1 0.0.0.0 UG 0 0 0 lo
and everything works.
Any ideas?
PS:Daniel, thanks for the tip, I'll try the replacedefaultroute as well
Reply to: