cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
749
Views
0
Helpful
3
Replies

ip nat translation

rgoethel
Level 1
Level 1

Hi,

there is one question.

By the customer is running a 7206vxr with 3 pools for address-translation.

One of this pools is the pool "car". This pool is running good, but there are not enough addresses to translate for network in access-list1.

"Overload" wil not be accepted from the customer, so i will configure a new

translation-network to the pool "car".

ip nat translation timeout 300

ip nat pool car 172.17.24.1 172.17.24.250 prefix-length 24

ip nat inside source list 1 pool car

Now the question :

Will the configured line be overwritten from the new entry,

or is it possible to have two lines with given networks for one pool?

Thanks!

Ralf

3 Replies 3

rwiesmann
Level 4
Level 4

Hi Ralf

If you define a new range on a pool with the same name it will

overwrite the old range.

So you have:

ip nat pool car 172.17.24.1 172.17.24.250 prefix-length 24

Define now:

ip nat pool car 191.168.1.1 192.168.1.250 prefix-length 24

The config will be:

ip nat pool car 191.168.1.1 192.168.1.250 prefix-length 24

Hope that helps

Roger

Hi roger ,

thank you for information.

The info does not make me happy.

The only way is, to integrate the network 172.17.23.0 to pool car.

The config will be : ip nat pool car 172.17.23.1 172.17.24.250 prefix-length 23

Now i will hope, that network 172.17.23.0 is free for use.

Thank you.

Ralf

You can also do something like this:

ee(config)#ip nat pool test netmask 255.255.255.0

ee(config-ipnat-pool)#address 172.17.24.1 172.17.24.250

ee(config-ipnat-pool)#address 172.17.23.1 172.17.23.250

ee(config-ipnat-pool)#^Z

ee#show ip nat stat

Total active translations: 0 (0 static, 0 dynamic; 0 extended)

Outside interfaces:

Inside interfaces:

Ethernet0

Hits: 0 Misses: 0

Expired translations: 0

Dynamic mappings:

-- Inside Source

[Id: 1] access-list 1 pool test refcount 0

pool test: netmask 255.255.255.0

start 172.17.23.1 end 172.17.23.250

start 172.17.24.1 end 172.17.24.250

type generic, total addresses 500, allocated 0 (0%), misses 0