[systemd-devel] networkd : ipv6 prefix delegation

Arian van Putten arian.vanputten at gmail.com
Mon Sep 5 17:45:30 UTC 2022


Just thinking out loud here but aren't RA messages are sent as link local
multicast messages? How can it send them if you disable link local
addressing?

On Mon, 5 Sept 2022, 19:14 Ede Wolf, <listac at nebelschwaden.de> wrote:

> Am 05.09.22 um 18:34 schrieb Ede Wolf:
> > Hello,
> >
> > For a simple setup, I've tried to replace radvd with systemds
> > IPv6SendRA=true.
> >
> > Now the link supposed to send the RA of course has both a fixed local as
> > well as fixed global (ULA) address. As it happens to be the default gw
> > as well.
> >
> > Since the local address is being configured manually,
> > LinkLocalAddressing is consequently set to no
> >
> >
> > Now networkd complains, from the journal:
> >
> > IPv6PrefixDelegation= is enabled but IPv6 link-local addressing is
> > disabled. Disabling IPv6PrefixDelegation=.
> >
> >
> > Not sure what I am overlooking, but the SendRA is meant for other
> > clients, not for this link. Otherwise I would have set IPv6AcceptRA to
> > true, not IPv6SendRA.
> >
> > What am I misinterpreting here?
> >
> > Thanks
> >
> > Ede
>
> I may have mixed up terms, something that, however, does not make things
> more comprehendable to me.
> I am not using DHCPv6, I would just like to announce the prefix via RA
> to other clients on that link. So prefix delegation is likely something
> else. I've just concluded that from the journal message.
>
> However, my .network file has no DHCPv6 related stanzas:
>
> [Match]
> Name=brlan
>
> [Link]
> MACAddress=02:...
> RequiredForOnline=yes
>
> [Network]
> Description=Bridge
> LinkLocalAddressing=no
> IPForward=ipv4
> IPForward=ipv6
> IPv6AcceptRA=no
> ConfigureWithoutCarrier=true
> IgnoreCarrierLoss=true
> DHCPServer=yes
> IPv6AcceptRA=false
> IPv6SendRA=true
>
> [Address]
> Address=192.168.38.1/24
>
> [Address]
> Address=fe80::38:1/64
> Scope=link
>
> [Address]
> Address=fde3:8b13:f1a5:38::1/64
> Scope=global
>
> [DHCPServer]
> PoolOffset=200
> PoolSize=32
> EmitNTP=yes
> NTP=192.168.38.101
>
> [IPv6SendRA]
> Managed=no
> OtherInformation=no
>
> [IPv6Prefix]
> AddressAutoconfiguration=true
> Prefix=fde3:8b13:f1a5:38::/64
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20220905/4a0c72e5/attachment.htm>


More information about the systemd-devel mailing list