Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This is using CentOS 5.5. I have two dual port NICs on a server:

NIC1: eth0, eth1

NIC2: eth2, eth3

I have an ssh and vnc session open to the ip address on eth2. When I disable eth0 (ifdown eth0), my sessions to eth2 disconnect and I no longer receive a response when pinging that ip address. What could be happening?

share|improve this question
    
eth0 and eth2 are on the same network, so I suspect data is coming in on eth2, but going out of eth0 due to the routing table. –  PiNoYBoY82 Jan 27 '11 at 16:21
    
If they are on the same network, why not create a bond interface? –  SpacemanSpiff Feb 4 '11 at 21:49

1 Answer 1

You can run tcpdump -i eth0 and see if the packets are going out via eth0 instead of eth2.

share|improve this answer
    
This would be my guess as well. you can disable it (so that connection replies go out the interface they originally came in on) with echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter and/or add net.ipv4.conf.eth2.rp_filter = 0 to /etc/sysctl.conf –  Patrick Feb 4 '11 at 23:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.