dhcpcd-discuss

IPv6 prefix delegation question for my pi

Torsten Krah

Fri Mar 06 00:34:05 2020

Hi,

I am wrapping my head around now for some days and need some help with ipv6 pd.
I've tried isc-dhcp client and was able to request a prefix from my
upstream router (well at least with debian buster running in a vm to
see if it works at all).

Now raspian on the pi uses dhcpcd for this purpose, but I can't get
prefix delegation working.

First I am happy with the fact, that the isc one does not assign the
delegated prefix to an interface - because I want to handle that
myself, I just need dhcp to request that prefix so the upstream paket
filter does open / delegate all the traffic for that prefix to my
requesting host / router which is my pi.

How to do that? Reading the manpage it says:

    dhcpcd has to be running for all the interfaces it is delegating to.

Its a wireguard virtual interface and I want to take care of assigning
addresses for the clients / server myself in the wireguard config
files - I just need the dhcpcd to request that prefix delegation, is
that possible, if so how?

And the next question is - I am unable to request the prefix at all
with dhcpcd, if I put this to the config:

interface eth0
        ipv6rs
        ia_na
        ia_pd 1

I just get this as an answer in the log file:

eth0: DHCPv6 REPLY: no iaprefix
eth0: DHCPv6 REPLY: no prefix available

Using isc-dhcp in my test vm it works with just this:

iface eth0 inet6 auto
        dhcp 1
        request_prefix 1

Any hints what I can try to a) get that prefix from my upstream
"blackbox" with dhcpcd and b) don't have dhcpcd running on the
interface it is delegating to?

Help appreciated, kind regards

Torsten

Follow-Ups:
Re: IPv6 prefix delegation question for my piRoy Marples
Re: IPv6 prefix delegation question for my piNeal P. Murphy
Re: IPv6 prefix delegation question for my piTorsten Krah
Archive administrator: postmaster@marples.name