LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Traffic on both interfaces (https://www.linuxquestions.org/questions/linux-networking-3/traffic-on-both-interfaces-276976/)

geomonap 01-12-2005 01:30 PM

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

ugge 01-13-2005 02:56 PM

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.


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