Address assignment pools enable you to specify groups
of IP addresses that different client applications can share. In this
configuration, the extended DHCP local server configuration uses the
address pool to provide addresses to subscribers that are accessing
the network.
To configure an address assignment
pool:
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 inet
Define the address pool network.
[edit access address-assignment pool AddressPool_1 family
inet]
user@host#set network 33.33.0.0/16
Specify the network for the pool.
[edit access address-assignment pool AddressPool_1 family
inet]
user@host#set network 33.33.0.0/16
Set the address range for the network.
[edit access address-assignment pool AddressPool_1 family
inet]
user@host#set range all low 33.33.0.10 high
33.33.127.254
Edit the family DHCP attributes.
[edit access address-assignment pool AddressPool_1 family
inet]
user@host#edit family inet dhcp-attributes
Set the maximum lease time.
[edit access address-assignment pool AddressPool_1 family
inet dhcp-attributes]
user@host#set maximum-lease-time 3600
Set the grace period.
[edit access address-assignment pool AddressPool_1 family
inet dhcp-attributes]
user@host#set grace–periord 60
Set the router IP address that you want advertised to
subscribers.
[edit access address-assignment pool AddressPool_1 family
inet dhcp-attributes]
user@host#set router 33.33.0.1
Specify which access profile you want to instantiate.
You can enable the MX-series router to function as an
extended DHCP local server. The extended DHCP local server provides
IP addresses and other configuration information to a subscriber logging
into the network.
To configure the DHCP local server:
Edit the routing system services.
[edit]
user@host#edit system services
Edit the DHCP local server.
[edit system services]
user@host#edit dhcp-local-server
Edit the DHCP local server trace options.
[edit system services dhcp-local-server]
user@host#edit traceoptions
Specify a log file into which you want trace option information
to be saved.
[edit system services dhcp-local-server traceoptions]
user@host#set file dhcp-server-msgs.log
Specify the DHCP local server message operations that
you want saved in the log file.
[edit system services dhcp-local-server traceoptions]
user@host#set flag all
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
Edit the values you want included with the username.
[edit system services dhcp-local-server]
user@host#edit authentication username-include
Set the values you want included with the username.
[edit system services dhcp-local-server username-include]
user@host#set domain-name yourcompany.com
user@host#set user-prefix user-defined-prefix
Create and name a DHCP local server group.
[edit system services dhcp-local-server]
user@host#edit group dhcp-ls-group
Specify a dynamic profile that you want the DHCP local
server group to use.
[edit system services dhcp-local-server group dhcp-ls-group]
user@host#set dynamic-profile Profile-Triple_Play
Assign interfaces to the group.
[edit system services dhcp-local-server group dhcp-ls-group]
user@host# set interface ge-1/3/0.1 upto ge-1/3/0.5