cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
332
Views
0
Helpful
4
Replies

Dynamic PAT only?

mahesh18
Level 6
Level 6

Hi Everyone,

For below config   need to know it will do the dynamic PAT  only   or  it will do the Dynamic NAT  +  PAT?

object network inside_net

subnet 192.168.3.0 255.255.255.0

object network outhosts

subnet 172.16.5.0 255.255.255.0

nat (inside,outside) source dynamic inside_net interface destination static outhosts outhosts

Regards

Mahesh

2 Accepted Solutions

Accepted Solutions

Jouni Forss
VIP Alumni
VIP Alumni

Hi Mahesh,

Yes, the mentioned configuration will do Dynamic PAT for the hosts under "inside_net". The IP address used for the PAT is the "outside" interface IP address.

This PAT is only done when the destination network is "outhosts"

- Jouni

View solution in original post

Hi,

Since the "outhosts" is set as both real and mapped destination address that essentially means that no NAT will be done for the destination network.

But at the same sime it means that this Dynamic PAT configuration will only apply when the destination network is

"outhosts"

if the destination real and mapped contained different network then it would mean that NAT would also be done for the destination network.

If you had this configuration

nat (inside,outside) source dynamic inside_net interface

Then it would mean that this Dynamic PAT would apply to every destination IP address/network.

- Jouni

View solution in original post

4 Replies 4

Jouni Forss
VIP Alumni
VIP Alumni

Hi Mahesh,

Yes, the mentioned configuration will do Dynamic PAT for the hosts under "inside_net". The IP address used for the PAT is the "outside" interface IP address.

This PAT is only done when the destination network is "outhosts"

- Jouni

Hi  Jouni,

One last thing on this here we have destination mapped and destination real  both as outhosts.

So when does Destination mapped and real changes does it change  when we want to translate the Destination IP also?

Regards

MAhesh

Hi,

Since the "outhosts" is set as both real and mapped destination address that essentially means that no NAT will be done for the destination network.

But at the same sime it means that this Dynamic PAT configuration will only apply when the destination network is

"outhosts"

if the destination real and mapped contained different network then it would mean that NAT would also be done for the destination network.

If you had this configuration

nat (inside,outside) source dynamic inside_net interface

Then it would mean that this Dynamic PAT would apply to every destination IP address/network.

- Jouni

Hi Jouni,

Seems it is enough to learn about NAT  today.

Best Regards

Mahesh

Review Cisco Networking products for a $25 gift card