I want to setup IPv6 prefix delegation on a machine with only a single ethernet port and then request a set number of addresses and route them on the same device only.
From what I have read so far online, normally the setup is that you have an "external" network device, where you configure things like:
[Network] IPForward=yes IPv6AcceptRA=yes
and then on the internal device you set some other options:
[Network] IPv6PrefixDelegation=dhcpv6 IPv6DuplicateAddressDetection=1 IPv6PrivacyExtensions=no LinkLocalAddressing=ipv6 [IPv6PrefixDelegation] RouterLifetimeSec=3600
However, since I don't have any "internal" devices here, I am thinking what the best approach here is. One thing that would make sense to me is to make a "bridge" device, where I set all the flags for the internal network and then have multiple virtual devices attached to the bridge which would then each get an IPv6 address from the prefix.
However, as soon as I set up a simple bridge device, e.g. something called
pdbr, things start falling apart. The device becomes visible, though it shows that it's 'DOWN', and I can add some
veth devices to it, but they don't get an IPv6 address. Rebooting the system causes it to hang.
I'm kind of stuck on how to proceed further. This is all running on a headless raspberry pi 4 with bullseye on it. The lack of a screen makes it somewhat difficult to see what's going on.
I also have the feeling there should be an easier solution. Simply adding multiple IP addresses on the device, however, is not an option.