X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.network.xml;h=c01bffd52cc4cc3e8ead483c6134bc753d53e214;hp=5bff4d9d87a42700f639d8864e53fa243458a8b0;hb=b85595b511d3d9f67940f7de0265fb78d672fe81;hpb=45df8656ebb1b0559a75993d1508fc61c2d39829
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 5bff4d9d8..c01bffd52 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -195,16 +195,32 @@
DHCP=
- A boolean. When true, enables basic DHCPv4 support.
+ Enables DHCPv4 and/or DHCPv6 support. Accepts
+ both, none,
+ v4 or v6.
+
+
+
+ DHCPServer=
+
+ A boolean. Enables a basic DHCPv4 server on the
+ device. Mostly useful for handing out leases to container
+ instances.
IPv4LL=
A boolean. When true, enables IPv4 link-local support.
- If DHCP= is also true, acquiring DHCP address
- will deprecate previously acquired IPv4 link-local address or
- stop acquiring process if one has not been acquired before.
+
+
+
+
+ IPv4LLRoute=
+
+ A boolean. When true, sets up the route needed for
+ non-IPv4LL hosts to communicate with IPv4LL-only hosts. Defaults
+ to true.
@@ -276,6 +292,7 @@
This option may be specified more than once.
+
Bridge=
@@ -302,6 +319,20 @@
may be specified more than once.
+
+ VXLAN=
+
+ The name of a VXLAN to create on the link. This option
+ may be specified more than once.
+
+
+
+ Tunnel=
+
+ The name of a Tunnel to create on the link. This option
+ may be specified more than once.
+
+
@@ -320,6 +351,13 @@
As in the [Network] section. This key is mandatory.
+
+ Peer=
+
+ The peer address in a point-to-point connection. Accepts the same format as
+ the Address key.
+
+
Broadcast=
@@ -357,12 +395,18 @@
prefixlength. If ommitted, a full-length host route is assumed.
+
+ Metric=
+
+ The metric of the route. An unsigned integer
+
+
- [DHCPv4] Section Options
- The [DHCPv4] section accepts the following keys:
+ [DHCP] Section Options
+ The [DHCP] section accepts the following keys:
@@ -379,6 +423,13 @@
be used on the current link. Defaults to false.
+
+ SendHostname=
+
+ When true (the default), the machine's hostname will be sent to the DHCP
+ server
+
+
UseHostname=
@@ -386,6 +437,13 @@
will be used as the transient hostname.
+
+ UseRoutes=
+
+ When true (the default), the static routes will be requested from the DHCP server
+ and added to the routing table with metric of 1024.
+
+
CriticalConnection=
@@ -394,6 +452,21 @@
if, say, the root filesystem relies on this connection. Defaults to false.
+
+ VendorClassIdentifier=
+
+ The vendor class identifier used to identify vendor type and configuration.
+
+
+
+ RequestBroadcast=
+
+ Request the server to use broadcast messages before the IP address has been
+ configured. This is necessary for devices that cannot receive RAW packets, or that
+ cannot receive packets at all before an IP address has been configured. On the other
+ hand, this must not be enabled on networks where broadcasts are filtered out.
+
+
@@ -418,7 +491,7 @@ Gateway=192.168.0.1
Name=en*
[Network]
-DHCP=yes
+DHCP=both
@@ -442,6 +515,45 @@ Name=enp2s0
[Network]
Bridge=bridge0
+
+ /etc/systemd/network/ipip.network
+
+ [Match]
+Name=em1
+
+[Network]
+Tunnel=ipip-tun
+
+
+
+ /etc/systemd/network/sit.network
+
+ [Match]
+Name=em1
+
+[Network]
+Tunnel=sit-tun
+
+
+
+ /etc/systemd/network/gre.network
+
+ [Match]
+Name=em1
+
+[Network]
+Tunnel=gre-tun
+
+
+
+ /etc/systemd/network/vti.network
+
+ [Match]
+Name=em1
+
+[Network]
+Tunnel=vti-tun
+