Okey. here's my problem.
I have a server with SLES 10 SP2 in it. Two ethernets (eth0 and eth2).
I've googled for tons of manuals, tutorials and forums. However something's just not right.
Ok. Firstly, eth0 has to be external with dhcp. So it has ant IP 192.168.25.something. The server is already inside a lan, so I'm trying to make some kind of a sublan. The main lan is 192.168.10.x-192.168.255.255. The sublan is 192.168.1.0/24. The eth2 has static 192.168.1.1.
So here's what i've got:
I've enabled routing to default gw 192.168.25.1 (main lan gw).
I've connected a laptop to eth2 (for testing).
Maquerades are on (i suppose. i've edited the SuSEfirewall2 at sysconfig).
The laptop gets it's DHCP lease.
The server can freely connect to anywhere (only when eth2 is down)
But the laptop, can't even ping anything except 192.168.1.0/24
So I suppose the routing just doesn't work.
Here are some config's of the server:
http://p.defau.lt/?5GPcIrAT_CQqMq81SsVIXA
http://p.defau.lt/?mt0HAQFnA5DUMZ3K9BSUZw
http://p.defau.lt/?B6ditS7d4pokxSLJU2iSqg
Please, help me with it. i just can't find what's wrong.
___ edit __
i've changed the routing table that the default is on dev eth0 and the 192.168.0.0/16 dev eth2 to 192.168.1.0/24 dev eth0