© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Scaling the Network with NAT and PAT.

Slides:



Advertisements
Similar presentations
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
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 Configuring IP ACLs.
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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 CCNA 5.0 Planning Guide Chapter 5: Network Address Translation for IPv4.
Lecture Week 7 Implementing IP Addressing 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 )
1 © 2005 Cisco Systems, Inc. All rights reserved. 111 © 2004, Cisco Systems, Inc. All rights reserved.
ICND2 – OSPF – Mark Lab Reset for lab 4 Configure 2 loopback interfaces on both routers –RTR1 – 10.X.X.2/32 and 10.X.X.3/32 (area X) –RTR2 – 10.X.X.4/32.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Scaling the Network with NAT and PAT.
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.
NAT (Network Address Translation) Natting means "Translation of private IP address into public IP address ". In order to communicate with internet we must.
NAT 강사 김성훈.
CCNA Guide to Cisco Networking Chapter 8: Routing Protocols and Network Address Translation.
Page 1 NAT & VPN Lecture 8 Hassan Shuja 05/02/2006.
Introduction to Network Address Translation
Implementing IP Addressing Services Accessing the WAN – Chapter 7.
1 © 2004 Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 11 Access Control Lists (ACLs)
Network Address Translations Project no. : 12 Prof. Edmund Gean Presented by DhruvaPatel( ) Sweta Patel( ) Rushika Patel ( ) Guided.
Access Control List ACL’s 5/26/ What Is an ACL? An ACL is a sequential collection of permit or deny statements that apply to addresses or upper-layer.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Filtering Traffic Using Access Control Lists Introducing Routing and Switching.
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
Firewalls and proxies Unit objectives
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.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Filtering Traffic Using Access Control Lists Introducing Routing and Switching.
N ETWORK S ECURITY Network Address Translation. C ONTENTS What is NAT NAT Terminology How NAT works NAT translation Dynamic, static and overloading Advantages.
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)
Network Troubleshooting CT NWT NameTP No. Gan Pei ShanTP Tan Ming FattTP Elamparithi A/L ThuraisamyTP Tan Ken SingTP
© 2001, Cisco Systems, Inc. CSPFA 2.0—5-1 Chapter 5 Cisco PIX Firewall Translations.
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 Address Translation (NAT)
© 2002, Cisco Systems, Inc. All rights reserved.
Chapter 13 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.
Implementing IP Addressing Services
CIS 82 Routing Protocols and Concepts Chapter 11 NAT
Routing and Switching Essentials v6.0
NAT / PAT.
Instructor Materials Chapter 9: NAT for IPv4
Implementing IP Addressing Services
Chapter 11: Network Address Translation for IPv4
Prepared by :Adeel Ahmad
Sybex CCNA Chapter 11: Network Address Translation.
Presentation transcript:

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Scaling the Network with NAT and PAT

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-2 Outline Overview Introducing NAT and PAT Translating Inside Source Addresses Overloading an Inside Global Address Verifying the NAT and PAT Configuration Troubleshooting the NAT and PAT Configuration Summary

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-3 Network Address Translation An IP address is either local or global. Local IP addresses are seen in the inside network.

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-4 Port Address Translation

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-5 Translating Inside Source Addresses

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-6 Configuring Static Translation Establishes static translation between an inside local address and an inside global address Router(config)# ip nat inside source static local-ip global-ip Marks the interface as connected to the inside Router(config-if)# ip nat inside Marks the interface as connected to the outside Router(config-if)# ip nat outside

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-7 Enabling Static NAT Address Mapping Example

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-8 Configuring Dynamic Translation Establishes dynamic source translation, specifying the ACL that was defined in the prior step. Router(config)# ip nat inside source list access-list-number pool name Defines a pool of global addresses to be allocated as needed. Router(config)# ip nat pool name start-ip end-ip {netmask netmask | prefix-length prefix-length} Defines a standard IP ACL permitting those inside local addresses that are to be translated. Router(config)# access-list access-list-number permit source [source-wildcard]

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-9 Dynamic Address Translation Example

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-10 Overloading an Inside Global Address

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-11 Configuring Overloading Establishes dynamic source translation, specifying the ACL that was defined in the prior step Router(config)# ip nat inside source list access-list-number interface interface overload Defines a standard IP ACL that will permit the inside local addresses that are to be translated Router(config)# access-list access-list-number permit source source-wildcard

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-12 Overloading an Inside Global Address Example

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-13 Clearing the NAT Translation Table Clears a simple dynamic translation entry that contains an inside translation or both an inside and outside translation Router# clear ip nat translation inside global-ip local-ip [outside local-ip global-ip] Clears all dynamic address translation entries Router# clear ip nat translation * Clears a simple dynamic translation entry that contains an outside translation Router# clear ip nat translation outside local-ip global-ip Clears an extended dynamic translation entry Router# clear ip nat translation protocol inside global-ip global-port local-ip local-port [outside local-ip local-port global-ip global-port]

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-14 Displays translation statistics Router# show ip nat statistics Displays active translations Router# show ip nat translations Router# show ip nat translation Pro Inside global Inside local Outside local Outside global Router# show ip nat statistics Total active translations: 1 (1 static, 0 dynamic; 0 extended) Outside interfaces: Ethernet0, Serial2.7 Inside interfaces: Ethernet1 Hits: 5 Misses: 0 … Displaying Information with show Commands

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-15 Sample Problem: Cannot Ping Remote Host

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-16 Solution: New Configuration

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-17 Using the debug ip nat Command Router# debug ip nat NAT: s= > , d= [6825] NAT: s= , d= > [21852] NAT: s= > , d= [6826] NAT*: s= , d= > [23311] NAT*: s= > , d= [6827] NAT*: s= > , d= [6828] NAT*: s= , d= > [23313] NAT*: s= , d= > [23325]

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-18 Translation Not Installed in the Translation Table? Verify that: The configuration is correct. There are not any inbound ACLs denying the packets entry to the NAT router. The ACL referenced by the NAT command is permitting all necessary networks. There are enough addresses in the NAT pool. The router interfaces are appropriately defined as NAT inside or NAT outside.

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-19 Summary NAT enables private IP internetworks that use non-registered IP addresses to connect to the Internet. PAT, a feature of NAT, enables several internal addresses to be translated to only one or a few external addresses. You can translate your own IP addresses into globally unique IP addresses when you are communicating outside of your network. Overloading is a form of dynamic NAT that maps multiple unregistered IP addresses to a single registered IP address (many-to-one) by using different ports, known also as PAT. Once NAT is configured, the clear and show commands can be used to verify that it is operating as expected. The debug command can be used to troubleshoot NAT connectivity problems.

© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-20