LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] routing table

[ILUG] routing table

Dermot Gorman dg at dermotgorman.com
Mon Dec 4 21:57:53 GMT 2000


Hi,
I have just set up a server (RH6.2) which is a gateway for a linux network, 
this machine dials up (manually) and collects mail for the domain and 
provides IP masquerading for the LAN. The problem is that on booting the 
server the IP routing table looks like:

/sbin/route:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
p133.dermotgorm *               255.255.255.255 UH    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         p133.dermotgorm 0.0.0.0         UG    0      0        0 eth0

the default route being thru eth0. When a ppp connection is made i cannot 
ping any internet IP address. However, when i do a 
/sbin/route del -net default   
the default route thru eth0 it is removed and ppp will then work fine, i.e. 
become the default route. The problem is - how do i permanently remove the 
default route from the table ?as a reboot simply brings me back to square one.

here is the table working ...
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
p133.dermotgorm *               255.255.255.255 UH        0 0          0 eth0
as1.adl.dublin. *               255.255.255.255 UH        0 0          0 ppp0
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         as1.adl.dublin. 0.0.0.0         UG        0 0          0 ppp0

dermot

-- 
--------------------------
www.dermotgorman.com
086-8819704
--------------------------




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell