[systemd-devel] systemd-networkd: IPv6 prefix delegation disabled by ipv6forwarding=true
Adam Nielsen
a.nielsen at shikadi.net
Mon Jan 13 22:34:51 UTC 2025
> The IPv6 is a /48.
>
> I have the IPv4 all working well.
>
> But the IPv6 configuration I cannot figure out.
I have a similar set up and have this working.
> [Network]
> Address=2001x:x::x::1
You are specifying a /24 for IPv4, but nothing for IPv6. I'd suggest
adding a /64 if you want to delegate a single /64 from your assigned
/48.
I also have IPv6SendRA=yes here so the prefix is broadcast to IPv6
clients on the network. (You have it on the IPv4 internal interface
you want the broadcasts sent from, whereas I have it on the IPv6
interface with the prefix I want broadcasted. I think you have to do
this, putting the option on the interface that has the prefix you want
delegated.)
I also have a section for a local IPv6 prefix to delegate (similar in
purpose to the 10.0.0.0/8 private addresses), so that I can have routed
private IPv6 addresses across multiple subnets, without needing my
global prefix to be working.
[IPv6Prefix]
Prefix=fdxx:.../64 # From the IPv6 private range
I think those are the major differences.
Cheers,
Adam.
More information about the systemd-devel
mailing list