Download your favorite Linux distribution at LQ ISO.
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 02-14-2009, 06:11 PM   #1
Registered: Sep 2003
Distribution: Debian 5.0
Posts: 45

Rep: Reputation: 15
Question How do I tell my server to use eth0 for the internet [DNS + gateway] in stead of eth1


Since I have a new internetaccount, 2 days ago, I have a problem on my server [Fedora Core 8]. I use it as a router.

eth0 is for the internet.
eth1 is for my LAN.

But since my new internetaccount my server uses eth1 for the internet.
This is a line from my syslog:

NetworkManager: <info> Policy set 'System eth1' (eth1) as default for routing and DNS.
I killed the NetworkManager daemon and now it works but this must not be the way to do it ??

Where do I tell my server that I use eth0 for routing and DNS?

Old 02-14-2009, 06:53 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Apparently you configured a default gateway in NetworkManager for eth1. Don't do that. You can only have one default gateway, and it should be on your interface that points to your Internet provider.


network manager

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
CentOS 5.2: Only one of eth0 (internet) or eth1 (LAN) works Sinedie Linux - Networking 3 08-20-2008 05:52 AM
Dhcp eth0 and XP eth1 internet sharing props666999 Slackware 8 08-20-2005 10:48 AM
How do I set the ip address for eth0, eth1 and the default gateway? abefroman SUSE / openSUSE 5 05-19-2005 05:15 AM
It dznt matter wheter eth0 (internet) or eth1(my lan) lelski Linux - General 1 06-07-2003 09:36 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:16 AM.

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