Nat Statement allowing to simplify the change of networks

Imagine you need to map your local LAN behind another IP range because for example another site uses the same IP addressing.
It exists a great feature on Cisco IOS to allow mapping your range towards another from a simple way (to avoid to define a static NAT for each devices you have). In this case we make a NAT to reach everything:

interface Vlan1
description *** TO LAN CUSTOMER ***
ip address
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
ip nat pool NAT netmask type match-host
ip nat inside source list 111 pool NAT overload
access-list 111 remark NAT_TO_DEFAULT_ROUTE_ONLY
access-list 111 permit ip any

Leave a Reply