конфигурация сети (Network configuration)
[IPV6ACCEPTRA] SECTION OPTIONS
The [IPv6AcceptRA] section configures the IPv6 Router
Advertisement (RA) client, if it is enabled with the
IPv6AcceptRA= setting described above:
UseDNS=
When true (the default), the DNS servers received in the
Router Advertisement will be used.
This corresponds to the nameserver
option in resolv.conf(5).
UseDomains=
Takes a boolean, or the special value "route". When true, the
domain name received via IPv6 Router Advertisement (RA) will
be used as DNS search domain over this link, similar to the
effect of the Domains=
setting. If set to "route", the domain
name received via IPv6 RA will be used for routing DNS
queries only, but not for searching, similar to the effect of
the Domains=
setting when the argument is prefixed with "~".
Defaults to false.
It is recommended to enable this option only on trusted
networks, as setting this affects resolution of all
hostnames, in particular of single-label names. It is
generally safer to use the supplied domain only as routing
domain, rather than as search domain, in order to not have it
affect local resolution of single-label names.
When set to true, this setting corresponds to the domain
option in resolv.conf(5).
RouteTable=num
The table identifier for the routes received in the Router
Advertisement (a number between 1 and 4294967295, or 0 to
unset). The table can be retrieved using ip route show table
num.
RouteMetric=
Set the routing metric for the routes received in the Router
Advertisement. Takes an unsigned integer in the range
0...4294967295. Defaults to 1024.
UseMTU=
Takes a boolean. When true, the MTU received in the Router
Advertisement will be used. Defaults to true.
UseAutonomousPrefix=
When true (the default), the autonomous prefix received in
the Router Advertisement will be used and take precedence
over any statically configured ones.
UseOnLinkPrefix=
When true (the default), the onlink prefix received in the
Router Advertisement will be used and takes precedence over
any statically configured ones.
RouterDenyList=
A whitespace-separated list of IPv6 router addresses. Each
address can optionally take a prefix length after "/". Any
information advertised by the listed router is ignored.
RouterAllowList=
A whitespace-separated list of IPv6 router addresses. Each
address can optionally take a prefix length after "/". Only
information advertised by the listed router is accepted. Note
that if RouterAllowList= is configured then RouterDenyList=
is ignored.
PrefixDenyList=
A whitespace-separated list of IPv6 prefixes. Each prefix can
optionally take its prefix length after "/". IPv6 prefixes
supplied via router advertisements in the list are ignored.
PrefixAllowList=
A whitespace-separated list of IPv6 prefixes. Each prefix can
optionally take its prefix length after "/". IPv6 prefixes
supplied via router advertisements in the list are allowed.
Note that if PrefixAllowList= is configured then
PrefixDenyList= is ignored.
RouteDenyList=
A whitespace-separated list of IPv6 route prefixes. Each
prefix can optionally take its prefix length after "/". IPv6
route prefixes supplied via router advertisements in the list
are ignored.
RouteAllowList=
A whitespace-separated list of IPv6 route prefixes. Each
prefix can optionally take its prefix length after "/". IPv6
route prefixes supplied via router advertisements in the list
are allowed. Note that if RouteAllowList= is configured then
RouteDenyList= is ignored.
DHCPv6Client=
Takes a boolean, or the special value "always". When true or
"always", the DHCPv6 client will be started when the RA has
the managed or other information flag. If set to "always",
the DHCPv6 client will also be started in managed mode when
neither managed nor other information flag is set in the RA.
Defaults to true.