Junos OS LN1000 Mobile Secure Router User Guide
Configuring Location-Based IP Address Pools
Example: Configuring a Location-Based IP Address Pool
26
index that has a unique value within its pool and an IP address and subnet mask that do
not have to be unique. You can also define additional attributes for the pool entry as
required.
In the existing IP interface configuration, you can specify a location-based IP address
pool instead of an explicit IP address and subnet mask. You can configure an IP interface
using one of these IP address specifications types, but not both. An IPv4 address can be
configured for an IP interface as well as an IP pool.
To configure IP address pools, perform the following tasks:
Configure a pool entry that contains a location index, an IP address, and subnet
1.
mask.
Configure one IP address and subnet mask from the pool entry assigned to the IP
2.
interface.
Configure up to 10 location-based address pools, each with a unique name.
3.
Configure one IP address from each pool assigned to the IP interface.
4.
This configuration example creates two IPv4 and one IPv6 location-based IP address
pools, and selects one IPv4 and one IPv6 pool each for an IP interface.
[edit]
access {
address-assignment {
location-pool {
ipv4poolX {
family inet {
location {
1 address 10.0.0.1/24;
2 address 10.0.0.2/24;
3 address 172.0.0.3/24;
4 address 172.0.0.4/24;
5 address 192.0.0.5/24;
32 address 192.0.0.32/24;
}
}
}
ipv4poolY {
family inet {
location {
1 address 10.0.0.11/24;
3 address 172.0.0.33/24;
5 address 192.0.0.54/24;
}
}
}
Copyright © 2010, Juniper Networks, Inc.