Creating a Pool of Discontiguous Addresses
You might need to exclude some addresses from a pool of inside global addresses (for static addresses assigned to hosts or routers, for example). The following example configuration creates a pool of discontiguous addresses:
2509(config)#ip nat pool testpool prefix-length 24 2509(config ipnat-pool)#address 171.69.1.1 171.69.1.4 2509(conf ig•ipnat- pool)^address 171.69.1.6 171.69.1.10 2509(config■ipnat- pool)#exit
The preceding commands create a pool called tcstpool that contains addresses 171.69.1.1 through 171.69.1.4 and 171.69.1.6 through 171.69.1.10 (it skips 171.69.1.5). The addresses in the pool have a prefix-length of 24 bits as defined by the keywords prefix-length 24.
Post a comment