I have a complicated network resumed like this:
one router adsl bridged by wan port with a wrt54g router with one network of public ip's addresses. the ethernet DMZ public port is eth1.
one linux server with public ip's in one Ethernet card and two local lan's.
all the networks are fisical spited in a hp switch 2625 with vlan's
The server out ip is a pubic one and all the private lan network must be other public ip
the public network working by eth1 have no problem with default gw of public ip of the router adsl without NAT.
Yes i can do it with more one machine but the idea it do it with one.
the eth0 network works because have the gateway of the server 192.168.0.253 and the router adsl is 192.168.0.253
the eth2 192.168.2.0 internal network works inside lan but do not have NAT to outside in this case by eth0, that's is the port that came from router adsl with lan ip address and have internet
I have the eth0 mascaraed in the iptables.
As i can i do to get NAT in my eth2 network. i can ping only the IP that have inside my server.