[systemd-devel] Disabling IPv6 under systemd-networkd?

Lennart Poettering lennart at poettering.net
Tue Aug 27 10:58:45 UTC 2019


On Fr, 09.08.19 17:49, Bruce A. Johnson (bjohnson at blueridgenetworks.com) wrote:

> Is there a directive I can put into a .network or .link file to disable
> IPv6 for certain interfaces? I'm trying to prevent the multicast
> listener broadcast that goes out when an interface first connects.

It should suffice turning off IPv6 link-local addressing/RA and not
enabling DHCPv6. For example with the following lines you turn off
both for IPv6 but enable it for IPv4.

…
[Network]
LinkLocalAddressing=ipv4
DHCP=ipv4
…

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list