Thursday, February 28, 2019

Understanding a NAT Translation

Hi,

Just had a quick question about a NAT statement in my environment that I am inheriting, can you please explain what exactly it is defining. I have changed some of the IP information for privacy:

R1# ip nat inside source route-map RMAP_1 interface Dialer0 overload

R1# ip nat inside source static tcp 10.120.100.25 8080 142.23.24.132 62701 route-map RMAP_1 extendable

R1# ip nat inside source static tcp 10.120.100.25 443 142.23.24.132 63701 route-map RMAP_1 extendable

-I understand that the first line is PAT, it is basically saying the inside source is a route-map, and it should translate to the IP address on the Dialer0 interface (this is PPPoE), and overload so it uses PAT

-To add some context the route-map is matching pools of addresses in an extended ACL called traffic_for_nat

-The next two lines are static NAT right? From what I understand is is stating that the inside source is 10.120.100.25 to the outside of 142.23.24.132. Extendable needed because I am making translations to the same external IP correct?

-So what is the route-map doing in those static statements?

Any help is appreciated!



No comments:

Post a Comment