[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Network routing problem



Dear All

I hope someone can help - I've got to the tearing my hair out stage. I've
moved my office to the garage and want to use a wireless link to a netgear
router inside the house to provide internet access to machines inside the
house and inside the garage. One machine (FC4) in the garage has a wireless
card in it (ra0 192.168.0.100) and an ethernet card (eth0 192.168.1.3).
There's a laptop in the garage with an ethernet card in (eth0 192.168.0.5).
I can do the following

from the FC4 machine (two cards, should act as a router) ping 192.168.0.1
(the netgear router) and ping the outside world
ping 192.168.1.5 (the other wired machine in the garage)

>From laptop in the garage (192.168.1.5) I can ping 192.168.1.3 (eth0 on the
router in the garage) and 192.168.0.100 (the wireless card on the router in
the garage).

I can't ping 192.168.0.1 (the netgear router) or get any further from the
laptop in the garage.

As far as I know ip forwarding is on on the router (cat
/proc/sys/net/ipv4/ip_forward outputs 1) and I've tried to use iptables to
set up NAT masquerading on the router in the garage (iptables -A
POSTROUTING -t nat -o ra0 -j SNAT --to 192.168.0.100)

There's no problem with any of the wired or wireless machines in the house
accessing the internet

Any help very gratefully appreciated

Thanks

David

--------------------------------------------------------------------
myhosting.com - Premium Microsoft® Windows® and Linux web and application
hosting - http://link.myhosting.com/myhosting



_______________________________________________
        Sheffield Linux User's Group
  http://www.sheflug.org.uk/mailfaq.html
 GNU - The choice of a complete generation