N ETWORK S ECURITY Network Address Translation. C ONTENTS What is NAT NAT Terminology How NAT works NAT translation Dynamic, static and overloading Advantages.

Slides:



Advertisements
Similar presentations
CST Computer Networks NAT CST 415 4/10/2017 CST Computer Networks.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 W. Schulte Chapter 5: Network Address Translation for IPv4  Connecting.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Lecture15: Network Address Translation for IPv4 Connecting Networks.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—5-1 WAN Connections Enabling the Internet Connection.
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP CCNA 4 version 3.0.
Ch. 1 – Scaling IP Addresses NAT/PAT and DHCP
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Scaling the Network with NAT and PAT.
M. Dahshan - TCOM52721 TCOM 5272 Telecomm Lab Dr. Mostafa Dahshan OU-Tulsa 4W 2 nd floor
Sybex CCNA Chapter 11: Network Address Translation Instructor & Todd Lammle.
© 2003, Cisco Systems, Inc. All rights reserved. ICND v2.1—4-1 © 2003, Cisco Systems, Inc. All rights reserved. 1 Scaling the Network with NAT and PAT.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition Chapter 9 Network Services.
Sybex CCENT Chapter 13: Network Address Translation Instructor & Todd Lammle.
Andrew Smith 1 NAT and DHCP ( Network Address Translation and Dynamic Host Configuration Protocol )
4: Addressing Working At A Small-to-Medium Business or ISP.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Scaling the Network with NAT and PAT.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Network Address Translation
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 1 Scaling IP Addresses.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 1 Scaling IP Addresses.
NAT (Network Address Translation) Natting means "Translation of private IP address into public IP address ". In order to communicate with internet we must.
Page 1 NAT & VPN Lecture 8 Hassan Shuja 05/02/2006.
Introduction to Network Address Translation
CS 540 Computer Networks II Sandy Wang
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
Mr. Mark Welton.  Firewalls are devices that prevent traffic from entering or leaving a network  Firewalls are often used between networks, or when.
Network Address Translations Project no. : 12 Prof. Edmund Gean Presented by DhruvaPatel( ) Sweta Patel( ) Rushika Patel ( ) Guided.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Planning the Addressing Structure Working at a Small-to-Medium Business.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 1 Scaling IP Addresses.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0 Module 1 Scaling IP Addresses.
Instructor & Todd Lammle
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.1 Module 1 Scaling IP Addresses.
CCNA 4 v3.1 Module 1 Scaling IP Addresses
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 11: Network Address Translation for IPv4 Routing And Switching.
Configuring NAT and PAT Chapter 18 powered by DJ 1.
1 © 2004, Cisco Systems, Inc. All rights reserved. Scaling IP Addresses Network Address Translation(NAT)
Scaling Networks with Network Address Translation Scaling Networks with Network Address Translation Solutions for IPv4 Security and Scalability ECPI College.
NAT & PAT Network Address Translation Port Address Translation.
IP Addressing.
NAT/PAT by S K SATAPATHY
1 Pertemuan 14 Scaling Networks with NAT and PAT.
CCNA4-1 Chapter 7-1 IP Addressing Services Scaling Networks With Network Address Translation (NAT)
Configuring NAT. Configuring Static NAT There are two basic tasks to perform when configuring static NAT translations: Create the mapping between the.
Network Troubleshooting CT NWT NameTP No. Gan Pei ShanTP Tan Ming FattTP Elamparithi A/L ThuraisamyTP Tan Ken SingTP
CCNA4-1 Chapter 7-1 NAT Chapter 11 Routing and Switching (CCNA2)
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
Network Troubleshooting CT NWT NameTP No. Gan Pei ShanTP Tan Ming FattTP Elamparithi A/L ThuraisamyTP Tan Ken SingTP
Planning the Addressing Structure
Implementing IP Addressing Services
© 2002, Cisco Systems, Inc. All rights reserved.
Chapter 13 Network Address Translation
Network Address Translation
Instructor Materials Chapter 9: NAT for IPv4
NAT / PAT.
Routing and Switching Essentials v6.0
Introducing To Networking
NAT , Device Discovery Chapter 9 , chapter 10.
CIS 82 Routing Protocols and Concepts Chapter 11 NAT
Routing and Switching Essentials v6.0
NAT / PAT.
Cabrillo College Building Cisco Remote Access Network
Instructor Materials Chapter 9: NAT for IPv4
Planning the Addressing Structure
Planning the Addressing Structure
Chapter 11: Network Address Translation for IPv4
Prepared by :Adeel Ahmad
Sybex CCNA Chapter 11: Network Address Translation.
Presentation transcript:

N ETWORK S ECURITY Network Address Translation

C ONTENTS What is NAT NAT Terminology How NAT works NAT translation Dynamic, static and overloading Advantages and disadvantages Configuration and troubleshooting on Cisco routers.

W HAT IS NAT? An IETF standard that allows an organization to present itself to the Internet with far fewer IP addresses than there are nodes on its internal network. NAT translates non-routable, private, internal addresses into routable, public addresses. NAT uses: To save IP addresses by allowing networks to use private IP addresses. Adds a degree of privacy and security to a network by hiding internal IP addresses from outside networks. A NAT-enabled device typically operates at the border of a stub network. (A stub network is a network that has a single connection to its neighbor network).

NAT T ERMINOLOGY Inside local address – “ The IP address assigned to a host on the inside network” (McQuery, 2008). From the figure an example is: x.x.x.x Inside global address –A legitimate public IP address assigned to a host when it exits a NAT device. From the figure x.x.x.x is translated to p.p.p.p Outside global address – “ The public IP address of an outside host as it appears to the inside network” (McQuery, 2008). For example, the web server is reachable at IP address

NAT TRANSLATION

NAT T YPES “Static NAT: This type of NAT is designed to allow one-to-one mapping between local and global addresses. The static version requires you to have one real Internet IP address for every host on your network” “Dynamic NAT: This version gives you the ability to map an unregistered IP address to a registered IP address from out of a pool of registered IP addresses. You need enough real, IP addresses for everyone who's going to be sending packets to and receiving them from the Internet at the same time” “Overloading: This is the most popular type of NAT configuration. It maps multiple unregistered IP addresses to a single registered IP address (many-to-one) by using different source ports. Also known as Port Address Translation (PAT). By using PAT (NAT Overload), you get to have thousands of users connect to the Internet using only one real global IP address (Lammle, 2011).

NAT O VERLOAD PAT uses unique source port numbers on the inside global IP address to distinguish between translations. Port number is encoded in 16 bits, thus, 65,536 addresses can be translated into 1 address!!

NAT ADVANTAGES AND DISADVANTAGES NAT AdvantagesNAT Disadvantages Conserves the legally registered addresses Translation introduces switching path delays. Remedies address overlap occurrence. Loss of end to end IP traceability. Increases flexibility when connecting to Internet. Certain applications will not function with well with NAT enabled. (like VoIP) Eliminates address renumbering as network changes. Provides security by hiding internal IP addresses

C ONFIGURING S TATIC NAT ON A C ISCO R OUTER Library(config)# ip nat inside source static Library(config)# interface Library(config-if)# ip address Library(config-if)# ip nat inside Library(config)# interface Library(config-if)# ip address Library(config-if)# ip nat outside

S TATIC NAT C ONFIGURATION E XAMPLE Library(config)# ip nat inside source static Library(config)# interface Ethernet0 Library(config-if)# ip address Library(config-if)# ip nat inside Library(config)# interface Serial0 Library(config-if)# ip address Library(config-if)# ip nat outside

D YNAMIC NAT C ONFIGURATION Library(config)# ip nat pool netmask Library(config)# ip nat inside source list pool Library(config)# interface Library(config-if)# ip address Library(config-if)# ip nat inside Library(config)# interface Library(config-if)# ip address Library(config-if)# ip nat outside Library(config)# access-list {permit | deny}

D YNAMIC NAT C ONFIGURATION E XAMPLE Library(config)# ip nat pool todd netmask Library(config)# ip nat inside source list 1 pool todd Library(config)# interface Ethernet0 Library(config-if)# ip address Library(config-if)# ip nat inside Library(config)# interface Serial0 Library(config-if)# ip address Library(config-if)# ip nat outside Library(config)# access-list 1 permit

V ERIFYING NAT C ONFIGURATIONS “Check the dynamic pools. Are they composed of the right scope of addresses? Check to see if any dynamic pools overlap. Check to see if the addresses used for static mapping and those in the dynamic pools overlap. Ensure that your access lists specify the correct addresses for translation. Make sure there aren't any addresses left out that need to be there, and ensure that none are included that shouldn't be. Check to make sure you've got both the inside and outside interfaces delimited properly.”(Lammle, 2011)

V ERIFYING NAT AND NAT O VERLOAD Library# Show ip nat translations Library# Debug ip Nat Library# Show ip nat statistics