From: Roy Marples Date: Thu, 9 Jul 2015 09:27:36 +0000 (+0000) Subject: Document many interface assignment from a delegated prefix. X-Git-Tag: v6.9.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9beb41b858670db8a4977d33505daede461f302;p=thirdparty%2Fdhcpcd.git Document many interface assignment from a delegated prefix. --- diff --git a/dhcpcd.conf.5.in b/dhcpcd.conf.5.in index 82c1ace2..d67325db 100644 --- a/dhcpcd.conf.5.in +++ b/dhcpcd.conf.5.in @@ -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.