cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4416
Views
9
Helpful
1
Replies

ip nat pool with prefix-length to translate to a /32 address

Hi !

i have a nat statement :

ip nat inside source list VLAN108_NAT interface GigabitEthernet0/1 overload

and i want to change it from interface dependent to a "floating nat" .

can i use this ?

ip nat pool VLAN_108_NAT_POOL 212.11.55.55 212.11.55.55 prefix-length 23

ip nat inside source list VLAN108_NAT pool VLAN_108_NAT_POOL overload

- what does the prefix-length stands for ? is it suppose to be the 212.11.55.55 real subnet , or is it the private addresses range length ?

- is it better to do it with a loopback intercae instead of the prefix-length ?

Thanks !

1 Reply 1

cadet alain
VIP Alumni
VIP Alumni

Hi,

this is the netmask of the subnet where the pool resides.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Review Cisco Networking products for a $25 gift card