Multiple NICs routing problem

Our SLES 11 has the following patchlevel:
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2

We want to set up two NICs, one for our internal server network and one with a public IP-address.

eth0: 10.2.24.10/24
eth1: 193.170.8.10/24

Here is the problem:
When I set the default gateway to 10.2.24.1 (network of eth0), 10.2.24.10 can be reached from every network, e.g. my workstation network 10.10.0.0/24.

BUT the public IP-address cannot be reached from any network except the 193.170.8.0/24 itself. I used wireshark to ensure that my network traffic is reaching the server - which it does, but no echo reply is leaving the server, on any interface whatsoever.

If I switch the default gateway to 193.170.8.1, the same problem appears for the server network interface.

IP forwarding is enabled, even though it should not be necessary for this to work.

Any ideas?

Thanks, Mike

I solved it by setting
“net.ipv4.conf.all.rp_filter = 0” in /etc/sysctl.conf

[QUOTE=tgm_its;7042]I solved it by setting
“net.ipv4.conf.all.rp_filter = 0” in /etc/sysctl.conf[/QUOTE]

Hi Mike,

Thanks for feeding that back & good that you got it sorted.

That setting has bitten me with SLES 11 too (actually a newer kernel thing, no SLES as such).

Cheers,
Willem