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

Re: ppp- and dns-problem



> Here are the results
> 
> netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 62.104.208.43   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
> 192.168.1.0     192.168.1.200   255.255.255.0   UG        0 0          0 eth0
> 192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
> 0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0

that last line is a default route to a gateway on the ethernet...

adding a defaultroute to the dialup will break the routing, because you
can't have two **default** routes...

do you have a gateway on the ethernet?

if not, bring eth0 back up then do a:

route del default eth0

then dial up the ppp link and either manually add a default route to the
other end of the link or specify defaultroute in /etc/ppp/options and let
it do it for you...

> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 62.104.208.43   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
> 0.0.0.0         62.104.208.43   0.0.0.0         UG        0 0          0 ppp0

your final route table should look something like this:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
62.104.208.43   0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         62.104.208.43   0.0.0.0         UG        0 0          0 ppp0

later
marty

"I can't buy what I want because it's free. Can't be what they want
because I'm me." - Corduroy, Pearl Jam




Reply to: