Supported Platforms
Related Documentation
- EX, M, MX Series
- Address-Assignment Pools Overview in the Junos OS Subscriber Management and Services Library.
- EX, MX Series
- DHCPv6 Local Server Overview in the Junos OS Subscriber Management and Services Library.
- MX Series
- Configuring Top-Level Broadband Subscriber Management Elements
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:
- Create and name an address assignment pool.[edit]user@host# edit access address-assignment pool AddressPool_1
- Edit the address pool family.[edit access address-assignment pool AddressPool_1]user@host# edit family inet6
- Define the IPv6 network prefix.[edit access address-pool AddressPool_1 family inet6]user@host# set prefix 2121::0/64
- Define a named address range for the pool of IPv6 addresses.
- (Optional) Edit the family DHCP attributes.[edit access address-assignment pool AddressPool_1 family inet6]user@host# edit dhcp-attributes
- (Optional) Set the maximum lease time.[edit access address-assignment pool AddressPool_1 family inet dhcp-attributes]user@host# set maximum-lease-time 3600
- (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:
- Create and name an address assignment pool.[edit]user@host# edit access address-assignment pool AddressPool_2
- Edit the address pool family.[edit access address-assignment pool AddressPool_2]user@host# edit family inet6
- Define the IPv6 network prefix.[edit access address-pool AddressPool_2 family inet6]user@host# set prefix 2222::0/64
- 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
- (Optional) Edit the family DHCP attributes.[edit access address-assignment pool AddressPool_2 family inet6]user@host# edit dhcp-attributes
- (Optional) Set the maximum lease time.[edit access address-assignment pool AddressPool_2 family inet dhcp-attributes]user@host# set maximum-lease-time 3600
- (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:
- Edit the routing system services.
- Edit the DHCPv6 local server.[edit system services]user@host# edit dhcp-local-server
- Define the DHCP pool match order.[edit system services dhcp-local-server]user@host# set pool-match-order ip-address-first
- Set the authentication password.[edit system services dhcp-local-server]user@host# set authentication password auth-psswrd
- (Optional) Edit the values you want included with the
username.[edit system services dhcp-local-server]user@host# edit authentication username-include
- (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
- Access the DHCPv6-specific service configuration.[edit system services dhcp-local-server]user@host# edit dhcpv6
- Create and name a DHCPv6 local server group.[edit system services dhcp-local-server dhcpv6]user@host# edit group dhcp-ls-group
- 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
- 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
- Edit the DHCPv6 local server trace options.[edit system processes dhcp-service]user@host# edit traceoptions
- 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
- 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
Related Documentation
- EX, M, MX Series
- Address-Assignment Pools Overview in the Junos OS Subscriber Management and Services Library.
- EX, MX Series
- DHCPv6 Local Server Overview in the Junos OS Subscriber Management and Services Library.
- MX Series
- Configuring Top-Level Broadband Subscriber Management Elements
Published: 2013-07-31
Supported Platforms
Related Documentation
- EX, M, MX Series
- Address-Assignment Pools Overview in the Junos OS Subscriber Management and Services Library.
- EX, MX Series
- DHCPv6 Local Server Overview in the Junos OS Subscriber Management and Services Library.
- MX Series
- Configuring Top-Level Broadband Subscriber Management Elements