[Gllug] defaultroute problems
Mark Preston
mark at markpreston.co.uk
Sat Sep 28 21:39:58 UTC 2002
Hi all,
A question I hope somebody can answer. How do I change the defaultroute?
I can connect to the internet via a 56k modem connection on two different
computers, but on one the defaultroute is set to the ethernet connection, and
so it won't actually allow browsing the internet etc. The one that works fine
gives the following output when I type "route" in a shell terminal (as root):-
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 m.n.p 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
Once online this changes to
Destination Gateway Genmask Flags Metric Ref Use Iface
nac0892600-zetn * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 m.n.p 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default nac0892600-zetn 0.0.0.0 UG 0 0 0 ppp0
The other computer, the one that doesn't allow programs to run on the
internet, gives:-
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default l.j.p 255.255.255.0 UG 0 0 0 eth0
and when I type "pppd call uklinux" in addition to the connection information
the /var/log/ppp_messages file outputs a line such as 'cannot override
defaultroute, keeping defaultroute as eth0 connection. '
Has anybody out there got a simple solution to solve this problem? - or even
a not simple solution.
--
Regards from Mark Preston
www.markpreston.co.uk
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list