Address Pool for L2TP Network Server IP Address Allocation
With an address pool, you configure an address or address range. When
you define an address pool for a client, the L2TP network server
(LNS) allocates IP addresses for clients from an
address pool. If you do not want to use an address pool, you can specify an IP
address by means of the framed-ip-address
statement at the
[edit access profile profile-name client
client-name ppp]
hierarchy level. For
information about specifying an IP address, see Point-to-Point Protocol (PPP).
When an address pool is modified or deleted, all the sessions using that pool are deleted.
To define an address or a range of addresses, include the
address-pool
statement at the [edit access]
hierarchy level:
[edit access] address-pool pool-name;
pool-name
is the name assigned to the address
pool.
To configure an address, include the address
statement at the
[edit access address-pool pool-name]
hierarchy level:
[edit access address-pool pool-name] address address-or-prefix;
address-or-prefix
is one address
or a prefix value.
When you specify an address range, it cannot exceed 65,535 IP addresses.
To configure the address range, include the address-range
statement
at the [edit access address-pool pool-name]
hierarchy level:
[edit access address-pool pool-name] address-range <low lower-limit> <high upper-limit>;
-
low lower-limit
—The lower limit of an address range. -
high upper-limit
—The upper limit of an address range.Note:The address pools for user access and Network Address Translation (NAT) can overlap. When you configure an address pool at the
[edit access address-pool pool-name]
hierarchy level, you can also configure an address pool at the[edit services nat pool pool-name]
hierarchy level.