[Bridge] Help IPV6 neighbor cache & Bridging (RTM_NEWNEIGH)

sharat chandra sharat04 at gmail.com
Tue Dec 4 03:15:24 UTC 2012

Hi All,

I have a simple linux based Access point /Wireless router  setup with
dual SSID's. Let me explain the setup. I have a bridge interface used
only for V6 traffic

brctl addbr bridge0
brctl addif bridge0 wlan0
brctl addif bridge wlan1

The bridge is setup and works fine and cilents are able to associate
with these SSID's and data traffic works.

My question is the neighbor cache information is always associated
with bridge0 i.e the neighbor cache looks like this

<V6 addr> dev bridge0 lladdr <mac addr> REACHABLE.

The clients mac address is typically  associated with either wlan0 or
wlan1 if there was no bridge, but with bridge enabled, its always
associated with bridge interface.  Is there a way to get the actual
interface name for a clients mac address that is either wlan0 or wlan1
from the neighbor cache or from netlink events? Is there any other way
to get this information?

Any information would be really helpful.

Thank You,

More information about the Bridge mailing list