Hi!

> I came into the situation where I wanted to assign a specific hw address
> to a bridge device.  However, using the bridge_hw option didn't work for
> me as I wasn't adding any interfaces to the bridge (the bridge is used
> for attaching virtualbox VMs which somehow magically work without `brctl
> show` displaying any interfaces).  Changing the mac address with
> `ip link set address … dev br0` after the bridge was created caused it
> to change its state from UNKNOWN to DOWN which make it unfunctional for
> virtualbox.  Manually changing the state to UP didn't work either.

First of all, thanks for your time, suggestion and patches.

While I was investigating your suggestion I realised that if I set the hw
address with
        ip link set dev br0 address whatever
then the address is preserved no matter what cards are attached to the
bridge, thus doing what you want without needing to change the way on which
we create the bridge.

So, what I'm thinking on doing is to set the hardware address like that on
the next version of the package, instead of playing with the address of the
nics, which was a little bit dirty anyway.

Can you check if this works for you?

Regards.
-- 
Manty/BestiaTester -> http://manty.net


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to