LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-21-2013, 12:06 PM   #1
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Rep: Reputation: 16
Traffic moves to another eth


hi guys

I have a server which has 2 nics eth0 and eth1

eth0 is used for our email traffic server. everything working fine

some time later a eth1 was added for backup purposes so this new nic sends data to another vlan for backup purposes

all of a sudden our mail server starts to fail and we found that protocols or traffic specifically 80 and 8080 is trying to traffic flow using eth1 which is only for backups as I said....

so any idea to link this traffic 80 - 8080 to only eth0?

suse 11

thanks a lot
 
Old 02-21-2013, 12:20 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 1,990

Rep: Reputation: 512Reputation: 512Reputation: 512Reputation: 512Reputation: 512Reputation: 512
Did this happen immediately after configuring the second ethernet?

You might check your default route - data will go there for general traffic.
 
Old 02-21-2013, 12:21 PM   #3
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jpollard View Post
Did this happen immediately after configuring the second ethernet?

You might check your default route - data will go there for general traffic.

yes after adding second nic once is removed issue is gone
 
Old 02-21-2013, 12:52 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 1,990

Rep: Reputation: 512Reputation: 512Reputation: 512Reputation: 512Reputation: 512Reputation: 512
I believe what is happening is that your default route is being switched to the second ethernet.
 
Old 02-21-2013, 12:53 PM   #5
kopper27
Member
 
Registered: Nov 2009
Posts: 147

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by jpollard View Post
I believe what is happening is that your default route is being switched to the second ethernet.

and how do you set the default only for eth0?

I mean the routes file has the default gateway configured for eth0
 
Old 02-21-2013, 07:03 PM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 1,990

Rep: Reputation: 512Reputation: 512Reputation: 512Reputation: 512Reputation: 512Reputation: 512
NetworkManager is well known to screw things up when there is more than one network. I gave up on it for that reason.

What is likely happening is that the default route is set to whichever interface is brought up - which means when the second one is brought up the default route is switched, and the gateway configuration is being ignored.

One way to try is to disable the second network unless you actually need it.
 
  


Reply


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
Can Eth device names(or macs) be correlated to the physical eth port? VG1 Linux - Networking 1 12-01-2009 06:13 PM
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
routing traffic out different eth#?? cjs500 Linux - Networking 3 07-11-2005 12:59 AM
Need help to route traffic properly with 2 eth cards mchan Linux - Networking 1 03-20-2005 07:55 PM
command to see eth traffic? darazman Linux - Networking 8 10-25-2003 02:16 PM


All times are GMT -5. The time now is 06:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration