On Tue Feb 29 2000 at 13:38, "David Knaack" wrote:

> Greetings,
> 
> I am attempting to get a new RH6.1 system working on a network
> with I think is a somewhat peculure setup.  We have two sets
> of windows computers, one in 10.0.2.0/24 and one in 10.0.0.0/24.
> They are all on the same physical ethernet segment.  There is
> a firewall at 10.0.0.10 acting as the internet gateway and doing
> NAT.
> 
> There is nothing routing between the two logical networks.  It
> appears that the windows machines are content with this setup,
> as they access the firewall just fine (apparently they arp for
> the address and send it directly).
>
> I am trying to put a linux box into the 10.0.2 network, and
> give it internet access via the firewall.  If I add a static
> route to 10.0.0.0/24 I can ping 10.0.0.10, but I cannot connect
> out to machines on the internet.  I have 10.0.0.10 set as
> the gateway address in linuxconf.
> 
> Is there something else I need to set to get this to work?

Ok, you've done this:

route add -net 10.0.0.0 netmask 255.255.255.0 network 10.0.0.255 eth0
route add default gw 10.0.0.10

It seems that the box doing the firewall needs to be told to NAT for the
10.0.2/24 network.  If it's a cisco, easy to do from the "enable"
login (err, if you know what you are doing :)

Cheers
Tony

Reply via email to