summaryrefslogtreecommitdiffstats
path: root/man/systemd.network.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-03-01 04:10:49 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-03-11 17:57:17 +0100
commit5582b36c384fc522c23ef1ac032001882d033aff (patch)
treef820960321ee99f7ad75aa4bcf4d5613bd6bf33c /man/systemd.network.xml
parentfuzz-dhcp-server: also test saving and loading lease file (diff)
downloadsystemd-5582b36c384fc522c23ef1ac032001882d033aff.tar.xz
systemd-5582b36c384fc522c23ef1ac032001882d033aff.zip
network/dhcp-server: save leases in state directory
Then, we can read the lease file on restart, and the DHCP server will be able to manage previously assigned addresses. To save leases in the state directory /var/lib/systemd/network/, this adds systemd-networkd-dhcp-server.service, and by default systemd-networkd does not start the DHCP server without the heler service started. Closes #29991.
Diffstat (limited to 'man/systemd.network.xml')
-rw-r--r--man/systemd.network.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 9be90e17c5..472add2f98 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -428,7 +428,13 @@
Defaults to <literal>no</literal>. Further settings for the DHCP server may be set in the
[DHCPServer] section described below.</para>
- <xi:include href="version-info.xml" xpointer="v215"/>
+ <para>Even if this is enabled, the DHCP server will not be started automatically. It will be
+ started after <filename>systemd-networkd-persistent-storage.service</filename> is started, which
+ calls <command>networkctl persistent-storage yes</command>. See
+ <citerefentry><refentrytitle>networkctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ for more details.</para>
+
+ <xi:include href="version-info.xml" xpointer="v215"/>
</listitem>
</varlistentry>