Configure ubuntu 12.10 to share internet through second NIC with subnetwork

Posted by Dan Smith on Server Fault See other posts from Server Fault or by Dan Smith
Published on 2013-07-02T21:32:56Z Indexed on 2013/07/02 23:08 UTC
Read the original article Hit count: 282

Filed under:
|

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!

© Server Fault or respective owner

Related posts about ubuntu

Related posts about routing