Skip to contentSkip to conversation

dual ethernet ports problem.

DISCUSSION Adarsh Daheriya 2 participants 2 messages Sep 24, 2003 – Sep 25, 2003

lore
Share & tools
lore
#0 lore raw

hi all,

i have got a system which has 2 eth ports. i use one of them (eth0) to "network boot" the system using dhcp, tftp and then mount the nfs file system on it.

this leaves the other port (eth1) unusable. i cannot ping to the other system through it. but when i ping any of the two eth ports from some other system i get the reply back. but to my amazement the mac entries of both the ports is that of eth0 in arp table. (arp command)

why and how eth0 is acting as a proxy (perhaps) for both the ports and how can i disable it?

could anybody please help me in this concern.

regards,
-adarsh.

#1 lore raw
Quoted 5 lines · Adarsh Daheriya

hi all,

i have got a system which has 2 eth ports. i use one of them (eth0) to "network boot" the system using dhcp, tftp and then mount the nfs file system on it.

Quoted 7 lines

this leaves the other port (eth1) unusable. i cannot ping to the other system through it. but when i ping any of the two eth ports from some other system i get the reply back. but to my amazement the mac entries of both the ports is that of eth0 in arp table. (arp command)

why and how eth0 is acting as a proxy (perhaps) for both the ports and how can i disable it?

could anybody please help me in this concern.

Both ports on the same subnet/switch/etc perchance?

Linux replies to an IP address out of any port it cares to.[1] I've seen this come up a number of times, but I can't seem to find references to it in google.... Ah, wait, try this:
http://www.cs.helsinki.fi/linux/linux-kernel/2002-16/0676.html
LWN writeup about this: http://lwn.net/Articles/45373/
(Google for 'linux-kernel ping route IP MAC wrong' w/o quotes.)

HTH,

Eli

[1] Over-simplification to the extreme, and probably wrong to boot. 8) --------------------. "If it ain't broke now,
Eli Carter \ it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------