On Dec 3, 2007 7:19 PM, Agnello George <[EMAIL PROTECTED]> wrote:
> In order that the 10.X network range  can access the internet i added the a
> route
> # route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.254

I'm not sure if this is the right way to do it. What that route says
is that whatever traffic you send on the 10.0.0.0 network should be
sent through the gateway 192.168.0.254

The nodes on 10.X network should simply add 10.0.0.1 as gateway. And
on this machine, you need to add an iptables rule to forward the
traffic from 10.X to the gateway.

> Now is have one client with ip 10.0.0.5 , when i try to ping 10.0.0.5  (
> following is the result ). I am neither able to ping 10.0.0.1 from my client
> machine ( 10.0.0.5 ) . My firewall is stoped and SElinux is disabled.

That's because all packets meant for 10.0.0.5 were sent to the gateway
instead of directly to the host.


-- 
Siddhesh Poyarekar
http://siddhesh.in
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to