[systemd-devel] LinkLocalAddressing fallback on DHCP failure

Mantas Mikulėnas grawity at gmail.com
Tue Jul 31 19:29:45 UTC 2018


On Tue, Jul 31, 2018 at 8:50 PM Thad Phetteplace <tdphette at gmail.com> wrote:

> I've got a pull request for this almost ready to go. I just need to clean
> it up a bit and update the man pages with the new config options. They are
> as follows:
>
> Within the [Network] section I've added a LinkLocalFallback option that
> takes the same parameters as LinkLocalAddressing (yes,no,ipv4,ipv6). This
> will allow IPv4 and IPv6 to be configured independently. Selecting
> LinkLocalFallback assumes LinkLocalAddressing is turned on for that
> protocol family, so there is no need to select both. Thus if you do
> LinkLocalFallback=ipv4, there is no need to do LinkLocalAddressing=ipv4...
> that is assumed. If you do both, it is fine... but the fallback feature
> will take precedence. Note that I've only implemented ipv4 so far. It will
> let you set ipv6 in the config, but I don't have the plumbing in place to
> support it yet, so it will just be ignored.
>
Disabling IPv6 link-locals might be a very bad idea though. (You need a
link-local to run SLAAC or DHCPv6, to begin with...)

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180731/76f85fd1/attachment.html>


More information about the systemd-devel mailing list