simple routing between subnets without NAT
Incredibly stupid question:
How do I simply setup a linux box to route between 2 subnets?
All the tutorials I can find involve NAT or masaquerading and firewall rules to route between a public IP and an internal private subnet range.
But all I want to do is this:
Act as a router between 2 valid subnets:
eth0: 151.x.x.x (just an example)
eth1: 216.x.x.x (just an example)
Or act as a router between 2 different private subnets:
eth0: 10.x.x.x (just an example)
eth1: 192.x.x.x (just an example)
Can't I just set a routing table to do either of these with the route command?
Last edited by iggymac; 03-22-2003 at 02:25 AM.