X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsystemd.network.xml;h=484d6f31c78dc76b3c0103442215f69a05b0e0d8;hp=738977ee8dfde98c7d6c6c8f2ac755429a8f0fe7;hb=cb9fc36a1211967e8c58b0502a26c42552ac8060;hpb=5d8e593dce074bff966fc0a46579c61b4f3bc33a diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 738977ee8..484d6f31c 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -179,6 +179,30 @@ + + [Link] Section Options + + The [Link] section accepts the following keys: + + + + MACAddress= + + The hardware address. + + + + MTUBytes= + + The maximum transmission unit in bytes to + set for the device. The usual suffixes K, M, G, + are supported and are understood to the base of + 1024. + + + + + [Network] Section Options @@ -196,8 +220,8 @@ DHCP= Enables DHCPv4 and/or DHCPv6 support. Accepts - both, none, - v4 or v6. + yes, no, + ipv4 or ipv6. @@ -212,9 +236,31 @@ 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 false. + + + + + LLMNR= + + A boolean or resolve. When true, enables + Link-Local Multicast Name Resolution on the link, when set to + resolve only resolution is enabled, but not + announcement. Defaults to true. + + + + LLDP= + + A boolean. When true, enables LLDP link receive support. @@ -286,7 +332,42 @@ This option may be specified more than once. - + + Domains= + + The domains used for DNS resolution over this link. + + + + NTP= + + An NTP server address. This option may be specified more than once. + + + + IPForward= + Configures IP + forwarding for the network + interface. If enabled incoming + packets on the network + interface will be forwarded to + other interfaces according to + the routing table. Takes a + boolean + argument. + + + IPMasquerade= + Configures IP + masquerading for the network + interface. If enabled packets + forwarded from the network + interface will be appear as + coming from the local + host. Takes a boolean + argument. Implies + IPForward=yes. + Bridge= @@ -379,14 +460,21 @@ Gateway= - As in the [Network] section. This key is mandatory. + As in the [Network] section. Destination= The destination prefix of the route. Possibly followed by a slash and the - prefixlength. If ommitted, a full-length host route is assumed. + prefixlength. If omitted, a full-length host route is assumed. + + + + Source= + + The source prefix of the route. Possibly followed by a slash and the + prefixlength. If omitted, a full-length host route is assumed. @@ -431,6 +519,13 @@ will be used as the transient hostname. + + UseDomains= + + When true (not the default), the domain name received from the DHCP server + will be used for DNS resolution over this link. + + UseRoutes= @@ -446,10 +541,66 @@ 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. + + + + RouteMetric= + + Set the routing metric for routes specified by the DHCP server. + + + + [Bridge] Section Options + The [Bridge] section accepts the following keys. + + + Cost= + + Each port in a bridge may have different speed. Cost is used to decide which link to use. Faster interfaces should have lower costs + + + + + + + [BridgeFDB] Section Options + The [BridgeFDB] section manages the forwarding database table of a port and accepts the following keys. Specify + several [BridgeFDB] sections to configure several static MAC table entries. + + + + MACAddress= + + As in the [Network] section. This key is mandatory. + + + + VLANId= + + The VLAN Id for the new static MAC table entry. + If omitted, no VLAN Id info is appended to the new static MAC table entry. + + + + + Example @@ -470,7 +621,7 @@ Gateway=192.168.0.1 Name=en* [Network] -DHCP=yes +DHCP=both @@ -540,6 +691,7 @@ Tunnel=vti-tun systemd1, systemd-networkd8, + systemd.link5, systemd.netdev5