changeset 2800:97384e218567 draft dhcpcd-6.5.1

Apply documentation patch from Christos and re-release.
author Roy Marples <roy@marples.name>
date Fri, 17 Oct 2014 21:23:01 +0000
parents de642960e654
children 593c03d3637c
files dhcpcd.conf.5.in
diffstat 1 files changed, 20 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- 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