summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorborna-blazevic <borna.blazevic@sartura.hr>2020-10-20 21:46:15 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-27 15:51:26 +0900
commitc517a49bf7e1c6c3445d48ec612c85a43eda6509 (patch)
treee9f752175055e75a2f8911af62b401c49b08a6bd /man
parent65a0ef23418e6acd199ee127fcd6348defc91dd0 (diff)
downloadsystemd-c517a49bf7e1c6c3445d48ec612c85a43eda6509.tar.gz
network: dhcp-server: introduce [DHCPServerStaticLease] section
Diffstat (limited to 'man')
-rw-r--r--man/systemd.network.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 00bbd0f7d8..18a2c1030e 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -2536,6 +2536,29 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
</refsect1>
<refsect1>
+ <title>[DHCPServerStaticLease] Section Options</title>
+ <para>The <literal>[DHCPServerStaticLease]</literal> section configures a static DHCP lease to
+ assign a pre-set IPv4 address to a specific device based on its MAC address. This section can be
+ specified multiple times.</para>
+
+ <variablelist class='network-directives'>
+ <varlistentry>
+ <term><varname>MACAddress=</varname></term>
+
+ <listitem><para>The hardware address of a device which should be assigned IPv4 address
+ specified in <varname>Address=</varname>. This key is mandatory.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>Address=</varname></term>
+
+ <listitem><para>IPv4 address that should be assigned to a device with a hardware address
+ specified in <varname>MACAddress=</varname>. This key is mandatory.</para></listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1>
<title>[IPv6SendRA] Section Options</title>
<para>The [IPv6SendRA] section contains settings for sending IPv6 Router Advertisements and whether
to act as a router, if enabled via the <varname>IPv6SendRA=</varname> option described above. IPv6