NAT Flashcards
Command to create a static NAT mapping
ip nat inside source static inside local inside global
Command to see static NAT mappings
show ip nat translations
5 steps to configuring dynamic NAT
- Set an interface to inside
- Set an interface to outside
- Create ACL for the inside interface which identifies packets for which NAT should be performed
- Create a pool of global IP’s for use in NAT
- Bind the ACL and the pool together, enabling dynamic NAT
Command to create an IP address pool for use with NAT
ip nat pool name first IP last IP netmask subnet mask
Command to bind pool and ACL together to enable dynamic NAT
ip nat inside source list ACL # pool pool name
Command to clear the NAT translation table
clear ip nat translation *
2 variations to enable PAT
ip nat inside source list ACL # interface interface overload
ip nat inside source list ACL # pool pool name overload
What does “inside local” refer to?
Private IP’s used in NAT
What does “inside global” refer to?
Public IP’s used in NAT
3 steps to configure a router to do static NAT
- Set up an interface as inside local
- Set up an interface as inside global
- Create a mapping between inside and outside IP’s
Command to make an inside NAT interface
conf t
int gi0/0
ip nat inside
Command to make an outside NAT interface
conf t
int gi0/1
ip nat outside
Command to set a static translation
ip nat inside source static inside local IP inside global IP
Command to set an inside local interface
conf t
interface interface
ip nat inside
Command to set an inside global interface
conf t
interface interface
ip nat outside