Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Which is 1st , dynamic NAT or static nat ???

hi ,

 

i want to ask a question :

 

if i have two nat statements that match a src ip. 

and i have two statements  , one as dynamic nat/pat and the other is static nat.

 

i found that when both of them exist , the router use the dynamic nat.

now if i remove the dynamci nat statement , and keep the static nat statement.

the router use the static nat statement ??!!!

 

does that mean that router always uses dynamic nat before static nat ??

 

here is sample config about wt i mean :

ip nat pool sorin xx.126.128 xx.126.159 netmask 255.255.255.224
ip nat inside source list Internetxyz pool sorin
ip nat inside source static 10.0.0.51 192.168.10.10 route-map CondNatx

 

as we see in config here , it will use the statement of <ip nat inside source list Internetxyz pool sorin>

if i remove this ,

it will use

<ip nat inside source static 10.0.0.51 192.168.10.10 route-map CondNatx>

 

 

wish to have a clear view at this point 

 

 

regards

25
Views
0
Helpful
0
Replies
CreatePlease to create content