[Ns-developers] [ns3] arp cache location

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Sun May 25 19:28:01 PDT 2008


hi,

While trying to fix a couple of arp-related issues in ns-3, I noticed
that the current code is not consistant in the way it handles the ipv4
interface <-> arp cache <-> netdevice relationships.

What I know for sure is that the code should be written to handle a one
to many relationship between a netdevice and multiple ipv4 interfaces.
The question then, is whether we should maintain a single arp cache per
ipv4 interface or a single arp cache per netdevice. I was too lazy today
to look at the linux kernel to figure out what they chose: someone might
know this offhand and reply :)

regards,
Mathieu



More information about the Ns-developers mailing list