]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/systemd.netdev: adjust documentation of MAC addresses for bridges 20652/head
authorUlrich Ölmann <u.oelmann@pengutronix.de>
Mon, 6 Sep 2021 20:10:30 +0000 (22:10 +0200)
committerUlrich Ölmann <u.oelmann@pengutronix.de>
Mon, 6 Sep 2021 20:10:30 +0000 (22:10 +0200)
In the past bridge devices used to be created with a generated MAC address
thwarting the inheritance of the first slave's MAC address. This has been
changed by commit [1] some time ago. Reflect that behavioral change in the
documentation.

[1] deb2cfa4c688 ("networkd: do not generate MAC for bridge device.")

man/systemd.netdev.xml

index 6db53348114b9949ddad01e30bb858fa12cbbbaa..dd5cc1bfe9d39bad551e34bb14f3a42c940e50c6 100644 (file)
           devices, setting <varname>MACAddress=</varname> in the [NetDev] section is not
           supported. Please specify it in the [Link] section of the corresponding
           <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>
-          file. If this option is not set, <literal>vlan</literal> devices inherit the MAC address of the
-          physical interface. For other kind of netdevs, if this option is not set, then the MAC address is
-          generated based on the interface name and the
+          file. If this option is not set, <literal>bridge</literal> and <literal>vlan</literal> devices
+          inherit the MAC address of the first slave device or the physical interface, respectively. For other
+          kind of netdevs, if this option is not set, then the MAC address is generated based on the interface
+          name and the
           <citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
           </para>
         </listitem>