Configure ubuntu 12.10 to share internet through second NIC with subnetwork
- by Dan Smith
I have an Ubuntu 12.10 box with 2 NICs. eth0 is connected to my 192.168.1.X network, which is connected to my home router and out to the internet. I want the other interface, eth1,to support 10.0.0.x and allow devices on that network to access the internet through my ubuntu box. I do not need dhcp on the 10.0.0.x network.
Here's a schematic: Internet --- home router ---- ubuntu[eth0:192.168.1.x, eth1:10.0.0.x] --- [10.0.0.x device]
How do I configure the ubuntu box to share the internet with devices on that subnetwork?
Thanks!