eth0 getting all trafic intended for eth1 in CentOS 6.4

Issues related to configuring your network
Post Reply
nagrawal
Posts: 1
Joined: 2015/05/25 09:51:55

eth0 getting all trafic intended for eth1 in CentOS 6.4

Post by nagrawal » 2015/05/25 11:31:24

Hi,

We are using CentOS 6.4, We have configured eth0 with IP 172.27.35.52 and eth1 with 172.27.35.53 two different IPs in same subnet. we try to ping 52 and 53 from external system which is there in the same subnet. When testing with tcpdump on eth0 and tcpdump on eth1 we are not getting anything on eth1. everything is on eth1.

Don't know why its behaving like this both eth0 and eth1 are up and running. Pasting the screenshots here for reference.

When we are pinging eth1 IP and eth0 is listening -- eth0 listening data intended for eth1

When we are pinging eth1 and eth1 is listening -- it says 0 packets received

Thanks,
Neetu

[edit/avij: moved from C7 networking support to C6 networking support]

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: eth0 getting all trafic intended for eth1 in CentOS 6.4

Post by gerald_clark » 2015/05/25 14:32:24

That is why you should not have two physical interfaces on the same subnet.
Why don't you put both IP on the same interface?

Whoever
Posts: 1357
Joined: 2013/09/06 03:12:10

Re: eth0 getting all trafic intended for eth1 in CentOS 6.4

Post by Whoever » 2015/05/25 22:38:12

If you really want two interfaces in the same subnet, bond them into one and then assign the two IP addresses to the bond device.

Post Reply