Hi, On Sun, 8 Dec 2013 10:37:14 +0100 Santiago Garcia Mantinan <[email protected]> wrote:
> So... the question would be... on your setup do you have a network > card attached? I have no interface attached to the bridge (as you can see from my commands I didn't use any »ip link set … master br2« or add »brctl addif br2 …« commands). I know your proposed solution works once you attach a slave interface to the bridge. > I was wondering if it would make sense to upload my new version > anyway, as I believe that it doesn't go wrong with real hardware (I'm > using it right now and it has a ipv6 added and all the stuff), that > way you could test it on your setup. Plus I like this solution > better than changing all cards hw address. What do you think? I agree that this will be an improvement over the current setup. However, if the bridge is just used to communicate with the VirtualBox VMs (and thus both »bridge_ports none« and »bridge_hw …« are used for setting the bridge up in /etc/network/interfaces) I'm pretty sure it won't work. After doing some more reading I learned that brctl uses ioctl (just like ifconfig) and will probably be deprecated at some point in the (far away) future. A lot bridge functionality is available within the version of the iproute2 package available in jessie (»ip link« for adding bridge interfaces and enslaving devices, »bridge« for setting various properties). Some kernel bridging functionality (like bridges with vlan filters) can to my knowledge currently only be accessed using the »bridge« utility. With this newly learned information I think it is good practice to prefer iproute2 commands over commands using ioctl (in our case brctl). Also I think that other people will run into the same problem that I had. So I would still suggest adding and removing bridge interfaces with the iproute2 commands, directly setting the mac address on interface creation if the »bridge_hw« option is given. If you don't want to do this, just go ahead and upload your new version. I can live with using pre-up and post-down commands to create the bridge in a way that works for me. Thanks Lukas
signature.asc
Description: PGP signature

