Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] delete default route and add custom one

Tom Sightler

2008-03-01

Replies:

Author LoginPost Reply
On Sat, 2008-03-01 at 20:07 +0200, Ahmed Kamal wrote:
> Thanks that almost worked, but it seems whenever eth1 gets its IP, an
> automatic route is added to 172.30.0.0/16 through eth1. When
> route-eth1 tries to add the needed route, I get the error "RTNETLINK
> answers: File Exists"
>
Um, yes, that's the way IP networking works. You've created an
interface with an IP of 172.30.0.3 with a netmask of 255.255.0.0, that
means you've told the system that 172.30.0.3 can reach all 65534 host
WITHOUT a router. Then you trying to override that by adding a route by
claiming that the other 65533 (every host except for this one) is
reachable only via a router. That's not really a valid configuration in
my book so it's doesn't really surprise me.

Are you able to make this work by manually adding the route? Are you
able to post the "router" config. What networks is this "router"
actually routing.

Later,
Tom



_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.