changeset 3225:e7c76fad2373 draft

Document many interface assignment from a delegated prefix.
author Roy Marples <roy@marples.name>
date Thu, 09 Jul 2015 09:27:36 +0000
parents db70ae5e087f
children a3a4bd68c284
files dhcpcd.conf.5.in
diffstat 1 files changed, 15 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/dhcpcd.conf.5.in	Sat Jul 04 22:09:51 2015 +0000
+++ b/dhcpcd.conf.5.in	Thu Jul 09 09:27:36 2015 +0000
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd June 5, 2015
+.Dd July 9, 2015
 .Dt DHCPCD.CONF 5
 .Os
 .Sh NAME
@@ -262,6 +262,8 @@
 .Ar sla_id
 of 0 is assigned, a reject route is installed for the Delegated Prefix to
 stop unallocated addresses being resolved upstream.
+This reject route is in essence SLA 0, thus you need space within the prefix
+to assign a SLA per interface.
 If no
 .Ar interface
 is given then we will assign a prefix to every other interface with a
@@ -308,17 +310,22 @@
 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.
+A second prefix is requested and assigned to two other interfaces.
 .Xr rtadvd 8
-can be used with an empty configuration file on eth1 to provide automatic
+can be used with an empty configuration file on eth1, eth2 and eth3,
+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
+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
+  ipv6rs                 # enable routing solicitation get the
+                         # default IPv6 route
+  ia_na 1                # request an IPv6 address
+  ia_pd 2 eth1/0         # request a PD and assign it to eth1
+  ia_pd 3 eth2/1 eth3/2  # req a PD and assign it to eth2 and eth3
+                         # we cannot use SLA 0 above because we are
+                         # assinging the PD to more than one interface
 .Ed
 .It Ic ipv4only
 Only configure IPv4.