Created
October 28, 2019 17:01
-
-
Save cfallin/e5865a6a93c75ace8d26d6a85287ed76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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