View previous topic :: View next topic |
Author |
Message |
Jenik n00b
Joined: 19 Jun 2010 Posts: 5
|
Posted: Wed Sep 25, 2013 12:53 pm Post subject: ARP behaviour at Gentoo |
|
|
Hi,
I came across an interesting behaviour at Gentoo can someone explain me if I am wrong or if its standard behaviour?
If I dump ARP communication between FreeBSD and Gentoo, then FreeBSD send's ARP request(MAC1 and IP1 ???MAC2??? IP2) to datalink broadcast.Gentoo receives the request and replies but Gentoo sends ARP reguest for FreeBSD's IP afterwards which doesn't make sense cos Gentoo should already know the MAC of FreeBSD from the first FreeBSD's ARP request where the source MAC and IP (FreeBSD's MAC and IP) are included and should be saved into the ARP cache.
If the communication goes vice versa then FreeBSD handles request by ARP protocol.
What do you think about this behaviour ? Do I understand properly ? Isn't it a bad implementation of ARP ?
Thank you |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9883 Location: almost Mile High in the USA
|
Posted: Wed Sep 25, 2013 5:31 pm Post subject: |
|
|
I doubt this is a Gentoo issue, it's a Linux thing, and I think the Linux behavior is better.
It's only one ARP so I don't think it's that much of an overhead. I think Linux does this to ensure that the first arp was not spoofed, if two machines respond with different macs for the same IP then something's wrong... Also someone couldn't maliciously fill the arp cache by dumping a zillion fake arp packets...
There may be an optimization but I think after the cache is populated it's not going to be that much overhead... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|