On Sat, 2008-03-01 at 19:05 +0200, Ahmed Kamal wrote:
> oops, the eth1 IP/mask is 172.30.0.3/16.
> 
> Also let me mention the needed configuration
> - eth0 IP 196.x.x.3
> - System default gateway is 196.x.x.1 and is connected to eth0
> - eth1 IP 172.30.0.3/16. This interface needs to have a static route
> for
> routing 172.30.0.0/16 through 172.30.0.1 (a router) and not "directly"
> 
> Any pointers on what "GATEWAY"s need to go into ifcfg-eth0, ifcfg-eth1
> and
> /etc/sysconfig/network ? to get the described effect ?

So why exactly are you setting a 172.30.0.3 host address with a /16 mask
and then trying to tell it that the rest of the 172.30.0.0/16 network is
on the other side of a router?

Still, even though I would question your network setup, you should be
able to do what get the configuration you want whith the following:

For eth0 make sure there is a GATEWAY line that is set to the system
default gateway 196.x.x.1.

For eth1 make sure there is no GATEWAY line at all in the ifcfg-eth1
file.  Then, create a route-eth1 with the following:

GATEWAY0=172.30.0.1
NETMASK0=255.255.0.0
ADDRESS0=172.30.0.0

Later,
Tom


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to