IPv6 link-local on br-lan
|Reported by:||romain.riviere@…||Owned by:||jow|
In stock OpenWRT (all versions since 7.09 AFAIK), without any modification, br-lan gets a link-local address of fe80::200:ff:fe00:0 while eth0 and its aliases keep their proper, EUI-64 based LL address.
It seems strange that interfaces participating in the bridge should get any LL address at all (they do not get IPv4 addresses after all).
Besides, the unit will then happily use the fe80::200:ff:fe00:0 as a source address, even if there are other units with the same address on the link (that is to say, every other OpenWRT unit since they all get this bogus LL address), which is not good for ICMPv6.
It is also worth noting that deleting LL address from eth0 interfaces then performing "ifconfig br-lan down && ifconfig br-lan up" causes br-lan to get a valid LL address and makes everything work as expected. However, I had to remove the (same) LL address from all eth's (ie eth0, eth0.0 and eth0.1) for this to work.