Re: ip forwarding woes
- From: Cameron Hutchison <lists@xxxxxxxx>
- Date: Sun, 9 Mar 2008 09:01:53 +1100 (EST)
David Zelinsky wrote:
With this setup, I expect to be able to ping 10.0.0.2 from 192.168.0.2
(and vice versa), with packets routed through the firewall, but it
doesn't work.
What am I overlooking?
It looks like that 10.0.0.2 does not have a route to 192.168.0.0/24 or
that 192.168.0.2 does not have a route to 10.0.0.0/24 or both:
192.168.0.2# ip route add 10.0.0.0/24 via 192.168.0.1
10.0.0.2# ip route add 192.168.0.0/24 via 10.0.0.1
If the firewall is the main router for the network then you can set up a
default route to it on each of the other hosts:
192.168.0.2# ip route add default via 192.168.0.1
10.0.0.2# ip route add default via 10.0.0.1
You will need to have the iproute package installed to get the ip(8)
command.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- ip forwarding woes
- From: David Zelinsky
- ip forwarding woes
- Prev by Date: Re: Width of line
- Next by Date: Re: Failure of Ethernet link with Belkin adapter & Netgear hub.
- Previous by thread: Re: ip forwarding woes
- Next by thread: Re: ip forwarding woes
- Index(es):
Relevant Pages
|