Forwarding connections/packets across interfaces

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



On 4/17/06, Alan Sparks <asparks@xxxxxxxxxxxxxxxx> wrote:
> Have interfaces eth0 and eth1.  eth0 is connected to internal network,
> eth1 to separate distinct network.  The default route on the box is set
> to the roter address on the eth1 network.  I have static routes defined
> to send local network traffic to eth0 and eth0's router.
>
> I've set rp_filter=0, and ip_forward=1 for all interfaces, and still
> cannot get a connection from eth1's address to something off of eth0's
> networks.

This all sounds right ... though I'm not entirely sure what you mean
by "ip_forward=1 for all interfaces"; are you using /etc/sysctl.conf
to set this?

net.ipv4.ip_forward = 1

If you wouldn't mind sending the output of "route -n" that might offer
additional clues.

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux