]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Apply documentation patch from Christos and re-release. v6.5.1
authorRoy Marples <roy@marples.name>
Fri, 17 Oct 2014 21:23:01 +0000 (21:23 +0000)
committerRoy Marples <roy@marples.name>
Fri, 17 Oct 2014 21:23:01 +0000 (21:23 +0000)
dhcpcd.conf.5.in

index ce9ec03749bb96e0a7bee38b65bdd6a43e11e60f..fee1731875768b866d1d8f68a42d6a6442c611dd 100644 (file)
@@ -294,22 +294,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