Re: [systemd-devel] systemd-networkd Zeroconf address

2019-07-23 Thread Lennart Poettering
On Mo, 22.07.19 20:28, Ratan Gupta (ratag...@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
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] systemd-networkd Zeroconf address

2019-07-22 Thread Ratan Gupta

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?

Ratan













___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel