Open albert-a opened 7 months ago
There's no support for bridge-hw
in ifupdown2 today. A work around could be to manually set the mac using the hwaddress
attribute or something a bit more dynamic like:
post-up inherit_mac_from.sh
and in that inherit_mac_from script you code the logic to extract eth0 mac and set it on the bridge.
Additionally, feel free to submit a PR to add native support for this attribute in ifupdown2
Bridge is assigned arbitrary address, not the slave interface address. I want the hardware address to be inherited from the interface it enslaves (like in
ifupdown
package):But unfortunately
bridge-hw eth0
directive is ignored.