Nat Statement allowing to simplify the change of networks
Hi,
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 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
ip nat pool NAT 10.10.2.0 10.10.2.255 netmask 255.255.255.0 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 192.168.2.0 0.0.0.255 any