sthen 5837587c52 Adjust the sample DHCPv6-PD configuration in dhcpcd's pkg-readme following
earlier feedback from naddy, and a reminder about rtsol from Ross L Richardson.

- convert some description into comments in the sample config

- disable all hooks in DHCPv6-PD sample by overriding "script", they're
often not needed in this situation (and disabling hooks individually with
nohook leaves you open to the potential for new ones being added later)

- rtsol -> "inet6 autoconf"
2017-07-14 09:43:37 +00:00
..
2016-01-07 21:19:53 +00:00

$OpenBSD: README,v 1.2 2017/07/14 09:43:37 sthen Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

DHCPv6-PD (Prefix Delegation)
=============================
As OpenBSD doesn't yet support DHCPv6 in the base OS, one common use of
this package is to request Prefix Delegation from an ISP, which hands you
one or more routable IPv6 subnet that can be assigned to interfaces
facing your local network.

Here is a sample configuration achieving this, fetching addresses over the
pppoe0 interface and assigning it to multiple local networks.

-- -- -- -- -- --
ipv6only
duid
persistent
option rapid_commit
require dhcp_server_identifier

# disable running any hooks; not typically required for simple DHCPv6-PD setup
script /usr/bin/true

# Disable dhcpcd's own router solicitation support; allow the kernel
# to do this instead by setting "inet6 autoconf" in hostname.pppoe0
noipv6rs

# List interfaces explicitly so that dhcpcd doesn't touch others
allowinterfaces pppoe0 em0 vlan3 vlan5

interface pppoe0
	# request prefix delegation for downstream interfaces.
	ia_pd 2 em0/1 vlan3/2 vlan5/3
-- -- -- -- -- --