to 21. tammik. 2021 klo 16.00 Santiago Garcia Mantinan (ma...@debian.org) kirjoitti: > > I suggest a new option called bridge_via to specify the routing interface: > > I've been thinking a bit on this as I didn't like the bridge_via naming as > this is just to specify the interface that we take the MAC address from, it > doesn't specify a via in the sense that the packages will go out through > that interface or similar. > > I came with the idea that specifying the name of the card that we want to > take the address from on bridge_hw instead of its mac would make more sense > and shouldn't be too difficult to implement. > > So... you would write something like this: > > iface br0 inet dhcp > bridge_ports all > bridge_hw enp6s0 > > What do you think about this?
This would obviously change the syntax of bridge_hw but it would accomplish what we need with a syntax that follows the Consistent Network Device Naming idea. Meanwhile the generic hwaddress that is implemented by ifupdown could still be used for specifying a MAC address if it's absolutely needed. I like it. Thanks! Martin-Éric