Skip to content

Instantly share code, notes, and snippets.

@cfallin
Created October 28, 2019 17:01
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfallin/e5865a6a93c75ace8d26d6a85287ed76 to your computer and use it in GitHub Desktop.
Save cfallin/e5865a6a93c75ace8d26d6a85287ed76 to your computer and use it in GitHub Desktop.
# OpenBSD dhcpcd configuration to get an IPv6 prefix delegation from a native-IPv6 ISP (e.g., Comcast).
#
# Here, 'axe0' is the interface connected to the cable modem, 'em0' is on the LAN.
# The configuration will ask for a /60, and will assign the /64 with subnet ID 1
# to em0.
# Use an IPv6 router advertisement daemon to advertise this to the rest of the network!
allowinterfaces axe0
ipv6only
nooption domain_name_servers
nooption domain_name
duid
persistent
option rapid_commit
option interface_mtu
require dhcp_server_identifier
slaac private
interface axe0
ipv6rs
ia_na 1
ia_pd 2/::/60 em0/1/64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment