# HG changeset patch # User Roy Marples # Date 1413580981 0 # Node ID 97384e21856724b0b0dc0e9c659b325ac687dcc5 # Parent de642960e654db615593bea36499dddebaa20012 Apply documentation patch from Christos and re-release. diff -r de642960e654 -r 97384e218567 dhcpcd.conf.5.in --- a/dhcpcd.conf.5.in Fri Oct 17 21:08:26 2014 +0000 +++ b/dhcpcd.conf.5.in Fri Oct 17 21:23:01 2014 +0000 @@ -294,22 +294,27 @@ per .Ic ia_pd , space separated. -IPv6RS should be disabled globally when requesting a Prefix Delegation like so: -.Pp -.D1 # Global settings, disable IPv4 and IPv6RS -.D1 noipv4 -.D1 noipv6rs -.D1 # Don't touch eth3 at all -.D1 denyinterfaces eth3 +IPv6RS should be disabled globally when requesting a Prefix Delegation. .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