Sles 11 SP2 Internet Routing and VMware

I have installed SLES 11 SP2 on a VMware system and configured 2 NIC cards in SLES to be:

eth0 = (Private)
eth1 = (Public)

Gateway under Routing in Yast =

On workstations I have 255.255.255 GW

On the server I can ping the internet and browse but on the workstation I can only ping the second NIC address but not past it. I have disabled all firewalls and restarted the server and workstation.

I have read other posts but for some reason I can’t get this figured out.

Any help would be greatly appreciated.


So you are using the SLES VM as a gateway/router, but not doing any
NAT-like stuff, right? What steps have you used to configure SLES as a
router (be specific, and verbose)? For example, have you enabled IP
forwarding via sysctl or the /proc filesystem for a one-time test? Did
this work in any other environment? When you say you can ping the “second
NIC” are you referring to the public IP, I presume?

Good luck.

First thanks for replying to the question as for NAT, no I have not done anything with NAT. This is just a test server environment, trying to figure linux out before going to production with Linux. I have not gotten routing to work yet.

The Steps I have taken are:
In YAST gone into Network Settings:
Configured eth0 as static with subnet mask
Configured eth1 as static with subnet mask
Configured a Hostname and DNS address of and
Under Routing Tab - Configured Default Gateway
Hit OK and returned to Yast console

I also went into /etc/sysctl.conf and change the net.ip4.conf.all.rp_filter to 0 instead of 1

I then restarted the server.

Googling for ‘confgure suse as router yast’ found this link which I think
has what you need about enabling forwarding under the ‘Routing Setup’ section.

Let us know, please.

Good luck.

Cool! That link worked for me.

I truly appreciate it,

Great! Thanks for posting back your results as they will likely help
others in the same boat.

Good luck.