Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring Address Server Elements for the DHCPv6 Layer 3 Wholesale Solution

Configuring a DHCPv6 Address Assignment Pool

Address assignment pools enable you to specify groups of IPv6 addresses that different client applications can share. In this configuration, the extended DHCPv6 local server configuration uses the address pool to provide addresses to subscribers that are accessing the network. You must create separate address assignment pools for each retailer routing instance.

You can create address assignment pools that provide full 128 bit IPv6 addresses or pools that provide prefixes of a specified length.

To configure an address assignment pool that provides full 128 -bit IPv6 addresses:

  1. Create and name an address assignment pool.
    [edit]user@host# edit access address-assignment pool AddressPool_1
  2. Edit the address pool family.
    [edit access address-assignment pool AddressPool_1]user@host# edit family inet6
  3. Define the IPv6 network prefix.
    [edit access address-pool AddressPool_1 family inet6]user@host# set prefix 2121::0/64
  4. Define a named address range for the pool of IPv6 addresses.
    [edit access address-assignment pool AddressPool_1 family inet6]user@host# set range Range1 low 2121::a/128user@host# set range Range1 high 2121::7ffe/128
  5. (Optional) Edit the family DHCP attributes.
    [edit access address-assignment pool AddressPool_1 family inet6]user@host# edit dhcp-attributes
  6. (Optional) Set the maximum lease time.
    [edit access address-assignment pool AddressPool_1 family inet dhcp-attributes]user@host# set maximum-lease-time 3600
  7. (Optional) Set the grace period.
    [edit access address-assignment pool AddressPool_1 family inet dhcp-attributes]user@host# set grace-period 60

To configure an address assignment pool that provides shorter, 74-bit IPv6 prefixes:

  1. Create and name an address assignment pool.
    [edit]user@host# edit access address-assignment pool AddressPool_2
  2. Edit the address pool family.
    [edit access address-assignment pool AddressPool_2]user@host# edit family inet6
  3. Define the IPv6 network prefix.
    [edit access address-pool AddressPool_2 family inet6]user@host# set prefix 2222::0/64
  4. Define a named address range limit for the pool of IPv6 addresses.
    [edit access address-assignment pool AddressPool_2 family inet6]user@host# set range BitLimit prefix-length 74
  5. (Optional) Edit the family DHCP attributes.
    [edit access address-assignment pool AddressPool_2 family inet6]user@host# edit dhcp-attributes
  6. (Optional) Set the maximum lease time.
    [edit access address-assignment pool AddressPool_2 family inet dhcp-attributes]user@host# set maximum-lease-time 3600
  7. (Optional) Set the grace period.
    [edit access address-assignment pool AddressPool_2 family inet dhcp-attributes]user@host# set grace-period 60

Configuring Extended DHCPv6 Local Server

You can enable the MX Series router to function as an extended DHCPv6 local server. The extended DHCPv6 local server provides IPv6 addresses and other configuration information to a subscriber logging into the network. You must configure extended DHCPv6 local server for the wholesaler (default) routing instance and also for each retailer routing instance.

To configure the DHCPv6 local server:

  1. Edit the routing system services.
    [edit]user@host# edit system services
  2. Edit the DHCPv6 local server.
    [edit system services]user@host# edit dhcp-local-server
  3. Define the DHCP pool match order.
    [edit system services dhcp-local-server]user@host# set pool-match-order ip-address-first
  4. Set the authentication password.
    [edit system services dhcp-local-server]user@host# set authentication password auth-psswrd
  5. (Optional) Edit the values you want included with the username.
    [edit system services dhcp-local-server]user@host# edit authentication username-include
  6. (Optional) Set the values you want included with the username.
    [edit system services dhcp-local-server username-include]user@host# set domain-name yourcompany.comuser@host# set user-prefix user-defined-prefix
  7. Access the DHCPv6-specific service configuration.
    [edit system services dhcp-local-server]user@host# edit dhcpv6
  8. Create and name a DHCPv6 local server group.
    [edit system services dhcp-local-server dhcpv6]user@host# edit group dhcp-ls-group
  9. Specify a dynamic profile that you want the DHCPv6 local server group to use.
    [edit system services dhcp-local-server dhcpv6 group dhcp-ls-group]user@host# set dynamic-profile Wholesaler_Profile
  10. Assign interfaces to the group.
    [edit system services dhcp-local-server dhcpv6 group dhcp-ls-group]user@host# set interface ge-1/3/0.1 upto ge-1/3/0.5
  11. Edit the DHCPv6 local server trace options.
    [edit system processes dhcp-service]user@host# edit traceoptions
  12. Specify a log file into which you want trace option information to be saved.
    [edit system processes dhcp-service traceoptions]user@host# set file dhcp-server-msgs.log
  13. Specify the DHCPv6 local server message operations that you want saved in the log file.
    [edit system processes dhcp-service traceoptions]user@host# set flag all

Published: 2013-07-31