The ifreq structure to br_dev_do_ioctl() gives you the interface index (rq->ifr_ifindex) which is currently not being used. May be it can help.. -Kishore >>> David Woodhouse <dwmw2@xxxxxxxxxxxxx> 05/19/04 10:30PM >>> On Tue, 2004-05-18 at 15:36 -0700, Stephen Hemminger wrote: > Hmm, since all the blue tooth devices have the same address. > Deleting the first one will cause the entry in the forwarding table > to be deleted, that might cause your problem. Perhaps we need a > reference count on the number of interfaces with the same address (yuck). That seems like a reasonable answer. I believe there's also some workstation hardware with multiple Ethernet devices, all sharing the same MAC address (== hostid). It's not just Bluetooth. How does this work with VLAN bridging? Precisely what is it that's indexed on the interface's MAC address, rather than the (index of the) physical interface itself? -- dwmw2