Lab6:2PATConfiguration - echadbourne/NET-330 GitHub Wiki
Initial Setup
Set up each of the interfaces with their respective ip addresses and subnet masks
Set a gateway of last resort to router 2:
ip route 0.0.0.0 0.0.0.0 30.0.0.2
Nat
Define the inside and outside interfaces on Router 1 - Fa0/0 ip nat inside
and Serial 0/0/0 ip nat outside
Create a pool called test for the single address the private network clients can use
R1(config)#ip nat pool test 30.0.0.120 30.0.0.120 netmask 255.0.0.0
Create an access list to define who can use the new address pool
R1(config)#access-list 1 permit 192.168.0.0 0.0.0.255
- This uses wildcard subnet masks.
Link the pool and access list
R1(config)#ip nat inside source list 1 pool test overload
This assigns the pool and access list to an interface, specifically going from inside to outside the network. This allows anything on the 192.168.0.0/24 network to use the outside address we set up earlier. "1" refers to the access list, "test" refers to the pool
To verify that PAT is working, use sh ip nat translations