Related Documentation
Configuring an Address-Assignment Pool for L2TP LNS with Inline Services
You can configure pools of addresses that can be dynamically assigned to the tunneled PPP subscribers. The pools must be local to the routing instance where the subscriber comes up. The configured pools are supplied in the RADIUS Framed-Pool and Framed-IPv6-Pool attributes. Pools are optional when Framed-IP-Address is sent by RADIUS.
To configure an address-assignment pool, you must specify the name of the pool and configure the addresses for the pool.
You can optionally configure multiple named ranges, or subsets, of addresses within an address-assignment pool. During dynamic address assignment, a client can be assigned an address from a specific named range. To create a named range, you specify a name for the range and define the address range.
![]() | Note: Be sure to use the address-assignment pools (address-assignment) statement rather than the address pools (address-pool) statement. |
To configure an IPv4 address-assignment pool for L2TP LNS:
- Configure the name of the pool and specify the IPv4 family.[edit access]user@host# edit address-assignment pool pool-name family inet
- Configure the network address and the prefix length of
the addresses in the pool. [edit access address-assignment pool pool-name family inet]user@host# set network ip-prefix/<prefix-length
- Configure the name of the range and the lower and upper
boundaries of the addresses in the range.[edit access address-assignment pool pool-name family inet]user@host# set range range-name low lower-limit high upper-limit
For example, to configure an IPv4 address-assignment pool:
![]() | Note: Dual-stack (IPv4/IPv6) LNS is supported, but IPv6-only subscribers are not supported. |
To configure an IPv6 address-assignment pool for L2TP LNS:
- Configure the name of the pool and specify the IPv6 family.[edit access]user@host# edit address-assignment pool pool-name family inet6
- Configure the IPv6 network prefix for the address pool.
The prefix specification is required when you configure an IPv6 address-assignment
pool. [edit access address-assignment pool pool-name family inet6]user@host# set prefix ipv6-prefix
- Configure the name of the range and define the range.
You can define the range based on the lower and upper boundaries of
the prefixes in the range, or based on the length of the prefixes
in the range. [edit access address-assignment pool pool-name family inet6]user@host# set range range-name low lower-limit high upper-limit
For example, to configure an IPv6 address-assignment pool: