[systemd-devel] systemd-networkd Zeroconf address

Lennart Poettering lennart at poettering.net
Tue Jul 23 15:27:19 UTC 2019


On Mo, 22.07.19 20:28, Ratan Gupta (ratagupt at linux.vnet.ibm.com) wrote:

> Hi Team,
>
> I came across a requirement why the link local address exist with other IP
> addresses for IPv4.
>
> Suppose if I enable the link local address through systemd-networkd then as
> per the existing
>
> behavior, link local address(169.254.*.*) will always exist on the interface
> irrespective of whether
>
> static/dynamic address exist or not.
>
> The expectation is if either static/dhcp address exist then zeroconfig
> address should not come even
>
> if the zeroconf functionality is enabled.
>
> Is it correct expectation? is it aligned with other operating system which
> is not using systemd-networkd
>
> as the network manager?

In recent networkd you can configure the precise semantics of IPv4LL
configuration with the LinkLocalAddressing= setting in .network
files. It has a number of different modes to choose from:

https://github.com/systemd/systemd/blob/master/man/systemd.network.xml#L340

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list