LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-12-2005, 01:30 PM   #1
geomonap
LQ Newbie
 
Registered: Dec 2004
Posts: 17

Rep: Reputation: 0
Traffic on both interfaces


Hi guys:
I have two interfaces on my linux RedHat system - eth0, eth1

ifconfig output states that both interfaces are up.

However, tcpdump doesn't show me any traffic on eth0. All traffic is passing through eth1. Both eth0 and eth1 are on the same segment

Even when I pinged eth0 from eth0, I don't get anything in the tcpdump output.
I do get a lot of traffic on eth1 but am not sure if this is the same ping traffic.

netstat -r shows the following:

Destination Gateway Genmask Flags MSS Window irtt Iface
xyz.xy.yz.xy * 255.255.255.224 U 0 0 0 eth1
xyz.xy.yz.xy * 255.255.255.224 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default xyz.xy.xy.xyz 0.0.0.0 UG 0 0 0 eth1

the last line of the output says that eht1 is configured with a route. How can I configure eth0 aslo with the same route.

Your help is appreciated

o
 
Old 01-13-2005, 02:56 PM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
The design of addressing in TCP/IP networks make that kind of connection useless. Why are they on the same network? IP addresses which are logical addresses are translated to hardware addresses (MAC) using the protocol ARP.
The routing tables make the traffic to go the same way, unless the conditions vary in time or if more advanced techniques are used, such as load balancing.
 
  


Reply



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
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
how to find http traffic and mail traffic alone? basbosco Linux - General 1 06-07-2005 10:29 PM
natting traffic between 2 interfaces nukenstien Linux - Networking 2 02-13-2005 11:12 PM
ifconfig traffic != emule traffic bobwall Linux - Networking 0 02-06-2005 09:59 AM
Wireless traffic stomps isdn traffic on gateway machine Radix999 Linux - Wireless Networking 0 11-14-2003 12:54 AM

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

All times are GMT -5. The time now is 05:44 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