>>>>> "Santiago" == Santiago Garcia Mantinan <ma...@debian.org> writes:

    >> 1) eno1 is connected directly to a wifi router.  I get an IPv6
    >> address using router advertizements.
    >> 
    >> But if I insteade slave that interface to a bridge say iface
    >> brint inet dhcp bridge-ports eno1 auto brint
    >> 
    >> then I don't get a global v6 address on the bridge.

    Santiago> Well, this is kind of weird as the setup I commented I
    Santiago> have here is much more complicated than that and it is
    Santiago> working, I'm getting the ipv6 from my server which runs
    Santiago> radvd on all the machines across, the dummy switch, to the
    Santiago> workstation which has a bridge like the one you describe
    Santiago> and also across that one to the laptop, and also across
    Santiago> the laptop to the wifi.

To clarify one thing about my setup before someone points out it could
cause problems.
I talk about a wifi router.  Note that I'm using an ethernet port on the
wifi router, so I have no wifi bridging involved.

Actually, in this instance, I think more complicated makes it more
likely to work.
Remember that bridges tend to fail open.  If a bridge doesn't know how
to handle something it floods.
If RAs are failing, it's likely to be something getting filtered out by
one of the bridges.
(Or some sort of DAD conflict between a bridge port and the bridge
itself, but I think that unlikely)

Also, you may have something in all of that acting as an IGMP querier.
It's certainly complicated enough that I wouldn't know how to go about
isolating differences between it and something that doesn't work.

    Santiago> So... I don't really get the problem here.  Looking at my
    Santiago> setup I found that I had an old bridge_fd 2 that I was
    Santiago> using in the past when I used to run stp as I had a loop
    Santiago> in the net, but even when I commented this out, making the
    Santiago> interfaces take long time to go forwarding, I algo got the
    Santiago> global v6 address.

    Santiago> Don't know what else to say except that my switch is a
    Santiago> dummy switch which I suppose is flooding, and yours may be
    Santiago> doing real stuff with igmp and all that, so I'd have a
    Santiago> look at that.

No, mine is actually very dummy.
Literally the only port on the bridge is one ethernet.
There are two reasons I have a bridge.
First, so I can put a VM on the bridge if I need to.
Second, to have topology consistent with more complex setups so our
devops can treat everything the same.
This segment has no multicast beyond RA, and has  no IGMP querier.

One thing that is very different in your setup is that you have  the V6
coming from a tunnel, and the router generating the router
advertizements is one of the devices using a Linux bridge.
In my environment, the RA is coming from a commercial wifi router, which
is doing prefix delegation from my cable provider.
Admittedly that's probably Linux under the covers, and it's probably
bridging the wifi to the ethernet ports, but in debugging this sort of
thing I tend to find a big difference between equipment under one's
control and equipment not under one's control.

Reply via email to