]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Document many interface assignment from a delegated prefix.
authorRoy Marples <roy@marples.name>
Thu, 9 Jul 2015 09:27:36 +0000 (09:27 +0000)
committerRoy Marples <roy@marples.name>
Thu, 9 Jul 2015 09:27:36 +0000 (09:27 +0000)
dhcpcd.conf.5.in

index 82c1ace2b242339864d1387567596aefdd4a0a53..d67325db60a51d319f0f7a09023792a82e47126b 100644 (file)
@@ -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 @@ Unless a
 .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 @@ 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.
+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.