Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-13-2013, 12:27 PM   #1
LQ Newbie
Registered: Sep 2011
Posts: 13

Rep: Reputation: Disabled
Cool in one nic and out the other

I have a linux mint 14 cinimon os and am trying to route the internet through my system. my eth0 is inbound 1000mbit ethernet, and my eth1 is a 100mbit nic planned for outbound. I am trying to setup my system to serve the net out to eth1 so i can atach 2 laptops via a switch, get internet to install gentoo.

I tried the following tutorial( ) but can't get the service to start. i think im mising somthing important.

I want the most distro nuteral meathod possable (learn it once...) but if there is a linux mint spicific way thats easier, thats fine by me.

Thanks ^.^
Old 01-13-2013, 04:55 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Here's my response to a similar question which should work on pretty much any linux system ..
Old 01-14-2013, 05:52 PM   #3
LQ Newbie
Registered: Sep 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
the very last command
iptables-save > /etc/sysconfig/iptables
results in a no such file/dir output. i think linux mint may store the tables elsewhere, or i am missing somthing. everythign else resulted in no errors. the only change needed was swaping eth0 for eth1 (my 0 connects to the router) i have saved the steps as a bash script for later use.

no internet connection is found on systems atached to eth1, any advice for dhcp setup. i tried once ( link to tutorial ) and the changes required booting from another system to fix.

thanks again for your help so far.

Old 01-15-2013, 02:04 AM   #4
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
If you take a look at the init script for iptables you should find where the rules are stored to be reinstated at boot.

Here's an example /etc/dhcpd.conf you can adjust as necessary:

ddns-update-style interim;

allow booting;
allow bootp;

ignore client-updates;
set vendorclass = option vendor-class-identifier;

subnet netmask {
     option routers   ;
     option domain-name-servers;
     option subnet-mask;
     range dynamic-bootp;
     default-lease-time         21600;
     max-lease-time             43200;


dhcp, eth1, linux mint, output, routing

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to tune NIC's rps, rfs and xps value. which NIC device should I modify. nnnnnng Linux - Hardware 0 12-05-2012 04:44 AM
x86 Solaris 10 nic driver added but not attached. NIC is not detected. vectrum Solaris / OpenSolaris 0 01-22-2012 12:05 PM
can i bridge a connecting being received on a wireless nic to an Ethernet nic baronobeefdip Linux - Wireless Networking 3 01-16-2012 08:02 PM
troubles getting Gigabit NIC to work in slack 10 (HGA32T NIC) TheLinuxDuck Slackware 10 03-10-2005 04:37 PM
1st nic regular FTP, 2nd nic SSH Riselong Linux - Distributions 2 02-02-2004 05:13 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration