The CCNA Topics Covered in This Chapter Include: What Is NAT

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 10

NAT

The CCNA Topics Covered in this chapter


include:
 What is NAT
 Static
 Dynamic
 PAT
 Configuring NAT
 Verifying NAT

1
What is NAT?

 Similar to Classless Inter-Domain


Routing (CIDR), the original
intention for NAT was to slow the
depletion of available IP address
space by allowing many private IP
addresses to be represented by
some smaller number of public IP
addresses.

2
Benefits of NAT

 You need to connect to the Internet


and your hosts don’t have globally
unique IP addresses.
 You change to a new ISP that
requires you to renumber your
network.
 You need to merge two intranets
with duplicate addresses.

3
Where NAT is typically
configured

4
Basic NAT

5
Three types of NAT

 Static
 Dynamic
 Overloading

6
Static NAT
Let’s take a look at a simple basic static NAT configuration:

ip nat inside source static 10.1.1.1 170.46.2.2


!
interface Ethernet0
ip address 10.1.1.10 255.255.255.0
ip nat inside
!
interface Serial0
ip address 170.46.2.1 255.255.255.0
ip nat outside
!
7
Dynamic NAT
access-list 1 permit 10.1.1.0 0.0.0.255
ip nat pool TEST 170.168.2.2 170.168.2.25
netmask 255.255.255.0
ip nat inside source list 1 pool TEST

interface serial 0/1


ip nat inside

interface Serial 0/0


ip nat outside

8
Port Address
Translation

9
PAT
Here is a sample output of a PAT configuration:

ip nat pool globalnet 170.168.2.1 170.168.2.1


netmask 255.255.255.0

ip nat inside source list 1 pool globalnet overload

interface Ethernet0/0
ip nat inside

interface Serial0/0
ip nat outside

access-list 1 permit 10.1.1.0 0.0.0.255

10

You might also like