Index: dhcpcd.conf.5.in =================================================================== RCS file: /cvsroot/src/external/bsd/dhcpcd/dist/dhcpcd.conf.5.in,v retrieving revision 1.12 diff -u -p -u -r1.12 dhcpcd.conf.5.in --- dhcpcd.conf.5.in 6 Oct 2014 18:22:29 -0000 1.12 +++ dhcpcd.conf.5.in 15 Oct 2014 17:36:56 -0000 @@ -295,22 +295,27 @@ You can specify multiple per .Ic ia_pd , space separated. -IPv6RS should be disabled globally when requesting a Prefix Delegation like so: +IPv6RS should be disabled globally when requesting a Prefix Delegation. .Pp -.D1 # Global settings, disable IPv4 and IPv6RS -.D1 noipv4 -.D1 noipv6rs -.D1 # Don't touch eth3 at all -.D1 denyinterfaces eth3 -.Pp -.D1 interface eth0 -.D1 ia_pd 1 eth1/1 eth2/2 -.Pp -.D1 # Enable automatic address configuration for eth1 -.D1 # eth1 still gets a delegated prefix -.D1 interface eth1 -.D1 ipv4 -.D1 ipv6rs +In the following example eth0 is the externally facing interface to be +configured for both IPv4 and IPv6. +The DHCPv4 server will provide us with an IPv4 address and a default route. +The DHCPv6 server is going to provide us with an IPv6 address, a default +route and a /64 subnet to be delegated to the internal interface. +The eth1 interface will be automatically configured +for IPv6 using the first address (::1) from the delegated prefix. +.Xr rtadvd 8 +can be used with an empty configuration file on eth1 to provide automatic +IPv6 address configuration for the internal network. +.Bd -literal -indent +noipv6rs # disable routing solicitation +denyinterfaces eth2 # Don't touch eth2 at all +interface eth0 + ipv6rs # enable routing solicitation get the + # default IPv6 route + ia_na 1 # request an IPv6 address + ia_pd 2 eth1/0 # get a /64 and assign it to eth1 +.Ed .It Ic ia_pd_mix To be RFC compliant, .Nm dhcpcd