> is the 
> output of ifconfig:
> eth0      Link encap:Ethernet  HWaddr 00:50:04:F8:75:DD  
>           inet addr:192.168.1.1  Bcast:192.168.1.255 
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:172 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100 
>           RX bytes:13929 (13.6 Kb)  TX bytes:11751 (11.4 Kb)
>           Interrupt:9 Base address:0x6400 
> 
> eth0:1    Link encap:Ethernet  HWaddr 00:50:04:F8:75:DD  
>           inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           Interrupt:9 Base address:0x6400 
> 
> eth0:2    Link encap:Ethernet  HWaddr 00:50:04:F8:75:DD  
>           inet addr:10.0.0.5  Bcast:10.255.255.255  Mask:255.0.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           Interrupt:9 Base address:0x6400
> 
> When I am on the 192.168.1.0/24 [192.168.1.5] network, I cannot ping
> the 
> 10.0.0.0/8 network. I then change /etc/sysctl.conf ip forwarding
> section to 
> read:
> net.ipv4.ip_forward = 1
> 
> Still not joy. The default route is set as 192.168.1.1 on my machine.
> 
> I checked the routing table and there are routes to those network as
> they 
> are directly connected.
> 
> When I sit on the 10.0.0.0/8 network I can ping hosts in this net but
> not 
> on the 192.168.1.0/24 network
> 
> Is there something that I might be missing?
> 
> Regards
ipchains -A forward -s 10.0.0.0/24 -j MASQ   

may be the syntax ( Please check it for ur setup )
and modify it to masq any ip for any other network
this would only help when you will give proper gateways
on the clients and basically MASq  is NAT which 
wont work if you are having remote links (i.e. if any routers 
or modems are in the way ) for that you will 
have to give static routes 
first u can check it with route command and
lateron put a script if it works in ur startup 


Hiten.

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to