diff options
author | Tom Gundersen <teg@jklm.no> | 2015-10-18 18:25:58 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-11-11 15:42:38 +0100 |
commit | f5a8c43f39937d97c9ed75e3fe8621945b42b0db (patch) | |
tree | 3245619ecb8df6104ef47af69e6b221674c069a3 /coccinelle | |
parent | 7a695d8e1fda59857c4c23bcb50cd1e0aaf4a854 (diff) |
networkd: IPv6 router discovery - follow IPv6AcceptRouterAdvertisemnt=
The previous behavior:
When DHCPv6 was enabled, router discover was performed first, and then DHCPv6 was
enabled only if the relevant flags were passed in the Router Advertisement message.
Moreover, router discovery was performed even if AcceptRouterAdvertisements=false,
moreover, even if router advertisements were accepted (by the kernel) the flags
indicating that DHCPv6 should be performed were ignored.
New behavior:
If RouterAdvertisements are accepted, and either no routers are found, or an
advertisement is received indicating DHCPv6 should be performed, the DHCPv6
client is started. Moreover, the DHCP option now truly enables the DHCPv6
client regardless of router discovery (though it will probably not be
very useful to get a lease withotu any routes, this seems the more consistent
approach).
The recommended default setting should be to set DHCP=ipv4 and to leave
IPv6AcceptRouterAdvertisements unset.
Diffstat (limited to 'coccinelle')
0 files changed, 0 insertions, 0 deletions