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] IP Routing using RedHat 6.1

[ILUG] IP Routing using RedHat 6.1

Kenn Humborg kenn at bluetree.ie
Wed Oct 20 12:17:10 IST 1999


On Wed, Oct 20, 1999 at 11:19:21AM +0100, Robert Sweetnam wrote:
> Hi All,
> 
> <RedHat Machines Route Table>
> 
> Output of command: /sbin/route -n
>  Kernel IP routing table
>  Destination   Gateway       Genmask Flags Metric Ref Use Iface
>  10.110.50.1   0.0.0.0       255.255.255.255 UH  0 0 0 tr0
>  10.110.50.1   170.197.24.50 255.255.255.255 UGH 0 0 0 eth0
>  170.197.24.50 0.0.0.0       255.255.255.255 UH  0 0 0 eth0
>  10.110.50.0   10.110.50.1   255.255.255.0   UG  0 0 0 tr0
>  10.110.50.0   170.197.24.50 255.255.255.0   UG  0 0 0 eth0
>  10.110.50.0   10.110.50.1   255.255.255.0   UG  0 0 0 eth0
>  10.110.50.0   0.0.0.0       255.255.255.0   U   0 0 0 tr0
>  170.197.0.0   170.197.24.50 255.255.254.0   UG  0 0 0 eth0
>  170.197.24.0  170.197.24.50 255.255.254.0   UG  0 0 0 eth0
>  170.197.24.0  0.0.0.0       255.255.254.0   U   0 0 0 eth0
>  170.197.0.0   170.197.24.50 255.255.0.0     UG  0 0 0 eth0
>  127.0.0.0     0.0.0.0       255.0.0.0       U   0 0 0 lo
>  0.0.0.0       170.197.24.1  0.0.0.0         UG  0 0 0 eth0
> 
> </RedHat Machines Route Table>

This looks a bit fscked up.  A lot of routes to the same places.
A machine doesn't need routes to its own IP addresses.

Perhaps it should simply be
10.110.50.0      0.0.0.0      255.255.255.0     U   tr0
170.197.24.0     0.0.0.0      255.255.254.0     U   eth0
127.0.0.0        0.0.0.0      255.0.0.0         U   lo
0.0.0.0          170.197.24.1 0.0.0.0           UG  eth0

In fact, the Red Hat if-up scripts should add these routes
by default without you having to take any special measures.

Later,
Kenn






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