Verifying and Managing Location-Based IP Address Pools
Purpose
Action
Meaning
Related Topics
Copyright © 2010, Juniper Networks, Inc.
Ipv6poolZ {
family inet6 {
location {
1 address fec0:1:1:1::1/64;
3 address fec0:1:1:1::3/64;
5 address fec0:1:1:1::5/64;
}
}
}
}
}
}
[edit]
interfaces ge-0/0/0 {
unit 0 {
family inet {
location-pool-address ipv4poolX;
}
family inet6 {
location-pool-address ipv6poolZ;
}
}
}
Using this configuration example, a router in slot 3 has an IPv4 address of 172.0.0.3/24
and an IPv6 address of fec0:1:1:1::3/64 assigned to gigabit Ethernet interface 0/0/0. If
you move the router to slot 5, it has an IPv4 address of 192.0.0.5/24 and an IPv6 address
of fec0:1:1:1::5/64 assigned to gigabit Ethernet interface 0/0/0.
Display location-based IP address pools.
user@host> show access address-assignment location-pool
If a pool name is not specified, all pool entries are displayed.
Pool
Family
Location
ipv4poolX
inet
ipv4poolX
inet
ipv4poolX
inet
ipv4poolX
inet
ipv4poolX
inet
ipv4poolX
inet
ipv4poolY
inet
ipv4poolY
inet
ipv4poolY
inet
ipv6poolZ
inet6
ipv6poolZ
inet6
ipv6poolZ
inet6
For more information, see the Junos OS System Basics and Services Command Reference
Chapter 4: Location-Based IP Address Pools
IP address
1
10.0.0.1/24
2
10.0.0.2/24
3
172.0.0.3/24
4
172.0.0.4/24
5
192.0.0.5/24
32
192.0.0.32/24
1
10.0.0.11/24
3
172.0.0.33/24
5
192.0.0.55/24
1
fec0:1:1:1::1/64
3
fec0:1:1:1::3/64
5
fec0:1:1:1::5/64
27