Sybex CCNA 640-802: Chapter 11: Network Address Translation
Sybex CCNA 640-802: Chapter 11: Network Address Translation
2
What is NAT?
4
Where NAT is typically
configured
5
Basic NAT
6
Three types of NAT
• Static
• Dynamic
• Overloading
7
Static NAT
8
Dynamic NAT
Here is a sample output of a dynamic NAT
configuration:
ip nat pool <pool name> 170.168.2.2 170.168.2.100
netmask 255.255.255.0
ip nat inside source list <acl no> pool <poolname>
!
interface Ethernet0
ip address 10.1.1.10 255.255.255.0
ip nat inside
!
interface Serial0
ip address 170.168.2.1 255.255.255.0
ip nat outside
!
access-list <acl no> permit 10.1.1.0 0.0.0.255
!
9
Port Address Translation
10
PAT
Here is a sample output of a PAT configuration:
ip nat pool <poolname> 170.168.2.1 170.168.2.1
netmask 255.255.255.0
ip nat inside source list <acl no> poolname> overload
!
interface Ethernet0/0
ip address 10.1.1.10 255.255.255.0
ip nat inside
!
interface Serial0/0
ip address 170.168.2.1 255.255.255.0
ip nat outside
!
access-list <acl no> permit 10.1.1.0 0.0.0.255
11
What is your configuration?
12
NAT Lab example
13
Summary
– Summary
– Open your books and go through all the
written labs and the review questions.
– Review the answers in class.
14