From: Adam Nielsen Date: Sun, 17 Jan 2021 01:10:57 +0000 (+1000) Subject: man: clarify what network scopes are X-Git-Tag: v248-rc1~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e64652f70c1cb1a2fd86915a8d806491cf73b162;p=thirdparty%2Fsystemd.git man: clarify what network scopes are --- diff --git a/man/systemd.network.xml b/man/systemd.network.xml index fa80bdc51bb..8b7c9ff32a7 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -1051,8 +1051,11 @@ IPv6Token=prefixstable:2002:da8:1:: Scope= - The scope of the address, which can be global, - link or host or an unsigned integer in the range 0—255. + The scope of the address, which can be + global (valid everywhere on the network, even through a gateway), + link (only valid on this device, will not traverse a gateway) or + host (only valid within the device itself, e.g. 127.0.0.1) + or an unsigned integer in the range 0—255. Defaults to global. @@ -1367,12 +1370,32 @@ IPv6Token=prefixstable:2002:da8:1:: Scope= - The scope of the route, which can be global, site, - link, host, or nowhere. For IPv4 route, - defaults to host if Type= is local - or nat, and link if Type= is + The scope of the IPv4 route, which can be global, site, + link, host, or + nowhere: + + global means the route can reach + hosts more than one hop away. + + site means an interior route in + the local autonomous system. + + link means the route can only + reach hosts on the local network (one hop away). + + host means the route will not + leave the local machine (used for internal addresses like + 127.0.0.1). + + nowhere means the destination + doesn't exist. + + For IPv4 route, defaults to host if Type= is + local or nat, + and link if Type= is broadcast, multicast, or anycast. - In other cases, defaults to global. + In other cases, defaults to global. The value is + not used for IPv6.