Search This Blog

Wednesday, September 23, 2009

Re: Route without masquerade

Hello,

Jonis Maurin Ceará a écrit :
>
> I'm trying to get my Debian to route without masquerading, but didn't
> work :(
>
> Eth0: 192.168.0.0/24
> Eth1: 10.165.50.0/24
>
> ipv4_forward enabled, routes are OK....but didn't work :(
>
> hesrv-lx01:/etc/dhcp3# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 10.165.50.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 0.0.0.0 10.165.50.5 0.0.0.0 UG 0 0 0 eth1
[...]
> I have an laptop on eth0 with IP 192.168.0.10, with i can ping
> 10.165.50.179 (server), but i can't ping another host on 10.165.50.X network

What do you mean exactly ? Can you really not send a ping request to
10.165.50.X (and there is an error message) or do you just not receive
any reply ?

Do hosts in 10.165.50.0/24, and specially their gateway which seem to be
10.165.50.5, have a proper route to 192.168.0.0/24 via 10.165.50.179 ?
They need it to be able to send a reply.


--
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

No comments: