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

Notices


Reply
  Search this Thread
Old 02-14-2009, 05:11 PM   #1
elvisious
Member
 
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


Hi,

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:

Code:
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?

Greetz
FrankY
 
Old 02-14-2009, 05:53 PM   #2
chort
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: 76
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.
 
  


Reply

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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:54 AM.

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