[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: 2 ethernet interfaces.


    For RH, your /etc/sysconfig/network should have
the IP address of your router LAN address (connected
to your "external" LAN) as your gateway. You can add a
static route to your ISP  by showing it your WAN
network address (connected to some leased line):
route add net x.x.x gateway x.x.x.x
and it should work.


--- goldwyn_r@xxxxxxxxxxxx wrote:
> I have 2 ethernet cards on my machine to
> intercat/route 2 networks. 1 being
> the local the other the ISP. I am succesfully able
> to configure one, by
> putting its gateway in the default gateway (in
> routing). But for the second
> one where do i put the gateway for the second. I
> tried to put it in other
> networks with destination as the current/default
> gateway but it gives me
> that the subnet is incompatible. I have tried all
> possible options but in
> vain. 
> With this config I am able to ping one of the 2
> networks at a time, be it
> the ISP or the Local. but not both at the same time.
> I finally intend to
> use dante as my proxy.
> Please guide me to the right path.
> Thanx a lot.
> Goldwyn :o)
> ------------------------------------------------
> An alpha version of a web based tool to manage
> your subscription with this mailing list is at
> http://lists.linux-india.org/cgi-bin/mj_wwwusr

-- Naresh

Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.