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=641e02aab120258ab470dae289f463e9371575f2;hb=cb9fc36a1211967e8c58b0502a26c42552ac8060;hpb=0566ef68b816f094c3bc1c6c3921c8c35bc6d87f diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 641e02aab..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. @@ -233,6 +257,13 @@ announcement. Defaults to true. + + LLDP= + + A boolean. When true, enables LLDP link receive support. + + + Address= @@ -313,6 +344,30 @@ 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= @@ -405,7 +460,7 @@ Gateway= - As in the [Network] section. This key is mandatory. + As in the [Network] section. @@ -415,6 +470,13 @@ 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. + + Metric= @@ -494,10 +556,51 @@ 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 @@ -588,6 +691,7 @@ Tunnel=vti-tun systemd1, systemd-networkd8, + systemd.link5, systemd.netdev5