X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-networkd.service.xml;h=2517efc4a79c6ffe19faeb2b5897f8bef096bf7c;hb=3e6b205f81e743c7354ccbc69eb45afbdbebe2dc;hp=69157b13ef0568a5101af3a69b64fd6f98541dac;hpb=a03c5fd2d86c4e3f758a5ca0d98638e5c8bd8d8d;p=elogind.git diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml index 69157b13e..2517efc4a 100644 --- a/man/systemd-networkd.service.xml +++ b/man/systemd-networkd.service.xml @@ -68,7 +68,7 @@ Network configurations applied before networkd is started are not removed, and static configuration applied by networkd - are not removed when networkd exits. This ensures restarting + is not removed when networkd exits. This ensures restarting networkd does not cut the network connection, and, in particular, that it is safe to transition between the initrd and the real root, and back. @@ -102,7 +102,7 @@ - Host + Host= Matches against the hostname or machine ID of the host. See ConditionHost= in @@ -112,7 +112,7 @@ - Virtualization + Virtualization= Checks whether the system is executed in a virtualized environment and optionally test whether it is a specific @@ -123,7 +123,7 @@ - KernelCommandLine + KernelCommandLine= Checks whether a specific kernel command line option is set (or if prefixed with the exclamation mark unset). See @@ -133,6 +133,16 @@ + + Architecture= + + Checks whether the system is running on a specific + architecture. See ConditionArchitecture= in + systemd.unit5 + for details. + + + The [NetDev] section accepts the following @@ -140,14 +150,14 @@ - Name + Name= The interface name used when creating the - bridge. This option is compulsory. + netdev. This option is compulsory. - Kind + Kind= The netdev kind. Currently, bridge, bond and vlan @@ -161,7 +171,7 @@ - Id + Id= The VLAN ID to use. An integer in the range 0–4094. This option is compulsory. @@ -188,13 +198,13 @@ - MACAddress + MACAddress= The hardware address. - Path + Path= The persistent path, as exposed by the udev property ID_PATH. May contain shell @@ -202,23 +212,24 @@ - Driver + Driver= The driver currently bound to the device, as exposed by the udev property DRIVER - of its parent device. - + of its parent device, or if that is not set the driver + as exposed by ethtool -i of the + device itself. - Type + Type= The device type, as exposed by the udev property DEVTYPE. - Name + Name= The device name, as exposed by the udev property INTERFACE. May contain shell style @@ -226,7 +237,7 @@ - Host + Host= Matches against the hostname or machine ID of the host. See ConditionHost= in @@ -236,7 +247,7 @@ - Virtualization + Virtualization= Checks whether the system is executed in a virtualized environment and optionally test whether it is a specific @@ -247,7 +258,7 @@ - KernelCommandLine + KernelCommandLine= Checks whether a specific kernel command line option is set (or if prefixed with the exclamation mark unset). See @@ -257,26 +268,36 @@ + + Architecture= + + Checks whether the system is running on a specific + architecture. See ConditionArchitecture= in + systemd.unit5 + for details. + + + The [Network] section accepts the following keys: - Description + Description= A description of the device. This is only used for presentation purposes. - DHCP + DHCP= A boolean. When true, enables basic DHCPv4 support. - Address + Address= A static IPv4 or IPv6 address and its prefix length, separated by a / character. The format of the address must @@ -286,7 +307,7 @@ - Gateway + Gateway= The gateway address, which must be in the format described in inet_pton3 @@ -294,7 +315,7 @@ - DNS + DNS= A DNS server address, which must be in the format described in inet_pton3 @@ -302,19 +323,19 @@ - Bridge + Bridge= The name of the bridge to add the link to. - Bond + Bond= The name of the bond to add the link to. - VLAN + VLAN= The name of a VLAN to create on the link. This option may be specified more than once. @@ -326,13 +347,13 @@ - Address + Address= As in the [Network] section. This key is mandatory. - Broadcast + Broadcast= The broadcast address, which must be in the format described in inet_pton3 @@ -341,7 +362,7 @@ - Label + Label= An address label. @@ -352,13 +373,13 @@ - Gateway + Gateway= As in the [Network] section. This key is mandatory. - Destination + Destination= The destination prefix of the route. Possibly followed by a slash and the prefixlength, if ommitted a full-length host route is assumed. @@ -370,28 +391,28 @@ - UseDNS + UseDNS= When true (the default), the DNS servers received from the DHCP server will be used and take precedence over any statically configured ones. - UseMTU + UseMTU= When true, the interface maximum transmission unit from the DHCP server will be used on the current link. Defaults to false. - UseHostname + UseHostname= When true (the default), the hostname received from the DHCP server will be used as the transient hostname. - CriticalConnection + CriticalConnection= When true, the connection will never be torn down even if the DHCP lease expires. This is contrary to the DHCP specification, but may be the best choice @@ -407,7 +428,7 @@ See Also systemd1, - udev7, + udev7