Skip to content

Instantly share code, notes, and snippets.

@csamsel
Last active April 4, 2024 14:04
Show Gist options
  • Save csamsel/0f8cca3b2e64d7e4cc47819ec5ba9396 to your computer and use it in GitHub Desktop.
Save csamsel/0f8cca3b2e64d7e4cc47819ec5ba9396 to your computer and use it in GitHub Desktop.
dhcpcd configuration just for IPv6 PD (Prefix delegation). radvd is required as well.
duid
noipv6rs
waitip 6
# Uncomment this line if you are running dhcpcd for IPv6 only.
ipv6only
nohook resolv.conf, yp, hostname, ntp
option rapid_commit
slaac private
# use the interface connected to WAN
interface ppp0
ipv6rs
iaid 1
ia_pd 2 eth0/1/64 eth0.12/12/64 eth0.20/20/64 eth0.34/34/64 # request prefixes for multiple VLANs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment