Skip to contentSkip to conversation

ARP Reply with wrong MAC

DISCUSSION Sebastian 4 participants 4 messages Dec 14, 2004

lore
Share & tools
lore

Sebastian

author
#0 lore raw

A Linux box (kernel 2.4.24) with 2 ethernet interfaces connected to the same physical backbone. eth0 (public IP) and eth1 (10.0.0.1).

Sometime it ocures that an arp-request for 10.0.0.1 is answered with the mac-address of eth0. (proxy_arp on all interfaces is off)

Did anybody got a same problem and/or a solution?

Greets
Sebastian.

#1 lore raw
Quoted 4 lines · Sebastian

A Linux box (kernel 2.4.24) with 2 ethernet interfaces connected to the same physical backbone. eth0 (public IP) and eth1 (10.0.0.1). Sometime it ocures that an arp-request for 10.0.0.1 is answered with the mac-address of eth0. (proxy_arp on all interfaces is off)

One which interface this request is received ? If it's eth0, then it's normal.

BTW, what's the connection with Netfilter ?

Signature · 2 lines
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
Quoted 2 lines
Quoted 2 lines

Hi! I'm your friendly neighbourhood signature virus. Copy me to your signature file and help me spread!

#2 lore raw
In reply to Sebastian
Quoted 2 lines

A Linux box (kernel 2.4.24) with 2 ethernet interfaces connected to the same physical backbone. eth0 (public IP) and eth1 (10.0.0.1).

It might be easier just to give one of those interfaces two addresses.

Quoted 4 lines

Sometime it ocures that an arp-request for 10.0.0.1 is answered with the mac-address of eth0. (proxy_arp on all interfaces is off)

Did anybody got a same problem and/or a solution?

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.arp_problem.html
has a useful discussion of some arp problems.

Signature · 4 lines
Dr George D M Ross, School of Informatics, University of Edinburgh
    Kings Buildings, Mayfield Road, Edinburgh, Scotland, EH9 3JZ
Mail: [email protected]   Voice: +44 131 650 5147   Fax: +44 131 667 7209
 PGP: 1024D/AD758CC5  B91E D430 1E0D 5883 EF6A  426C B676 5C2B AD75 8CC5
#3 lore raw

That's nothing, I have similar with 4 ether cards in same switch (port trunking). Seems to be ok, even i get 4 answer to an arp request to that box :)

Quoted 20 lines · George Ross
Quoted 2 lines

A Linux box (kernel 2.4.24) with 2 ethernet interfaces connected to the same physical backbone. eth0 (public IP) and eth1 (10.0.0.1).

It might be easier just to give one of those interfaces two addresses.

Quoted 4 lines

Sometime it ocures that an arp-request for 10.0.0.1 is answered with the mac-address of eth0. (proxy_arp on all interfaces is off)

Did anybody got a same problem and/or a solution?

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.arp_problem.html
has a useful discussion of some arp problems.
--
Dr George D M Ross, School of Informatics, University of Edinburgh
Kings Buildings, Mayfield Road, Edinburgh, Scotland, EH9 3JZ
Mail: [email protected] Voice: +44 131 650 5147 Fax: +44 131 667 7209
PGP: 1024D/AD758CC5 B91E D430 1E0D 5883 EF6A 426C B676 5C2B AD75 8CC5

Signature · 1 line
Bla bla