Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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:

  1. Configure the name of the pool and specify the IPv4 family.
    [edit access]user@host# edit address-assignment pool pool-name family inet
  2. 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
  3. 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:

[edit access]user@host# edit address-assignment pool lns-v4-pool family inet[edit access address-assignment pool lns-v4-pool family inet]user@host# set network 192.168.1.1/16 [edit access address-assignment pool lns-v4-pool family inet]user@host# set range lns-v4-pool-range low 192.168.1.1 high 192.168.255.255

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:

  1. Configure the name of the pool and specify the IPv6 family.
    [edit access]user@host# edit address-assignment pool pool-name family inet6
  2. 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
  3. 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:

[edit access]user@host# edit address-assignment pool lns-v6-pool family inet6[edit access address-assignment pool lns-v6-pool family inet6]user@host# set prefix 2010:9999::/32[edit access address-assignment pool lns-v6-pool family inet6]user@host# set range lns-v6-pool-range low 2010:9999:1::/48 high 2010:9999::ffff::/48

Published: 2012-11-29