man: mention vlan devices inherit the MAC address of the physical interface

Follow-up for bc48c51f72.

Closes #4783.

[zj: tweak grammar a bit.]
This commit is contained in:
Yu Watanabe 2019-01-29 15:28:52 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent b412fce830
commit a61b550c50

View file

@ -287,15 +287,15 @@
<varlistentry> <varlistentry>
<term><varname>MACAddress=</varname></term> <term><varname>MACAddress=</varname></term>
<listitem> <listitem>
<para>The MAC address to use for the device. If none is <para>The MAC address to use for the device. For <literal>tun</literal> or <literal>tap</literal>
given, one is generated based on the interface name and devices, setting <varname>MACAddress=</varname> in the <literal>[NetDev]</literal> section is not
the supported. Please specify it in <literal>[Link]</literal> section of the corresponding
<citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
For <literal>tun</literal> or <literal>tap</literal> devices, <varname>MACAddress=</varname> setting
is not currently supported in <literal>[NetDev]</literal> section. Please specify it in
<literal>[Link]</literal> section of corresponding
<citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry> <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>
files.</para> 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 MAC address is
generated based on the interface name and the
<citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>