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

Презентация:



Advertisements
Похожие презентации
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Managing IP Traffic with ACLs Introducing ACLs.
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. ICND v Completing ISDN Calls Configuring ISDN BRI and PRI.
© 2006 Cisco Systems, Inc. All rights reserved. SND v Configuring a Cisco IOS Firewall Configuring a Cisco IOS Firewall with the Cisco SDM Wizard.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Module Summary Using ACLs, you can classify or filter packets on inbound and outbound routed.
© 2003, Cisco Systems, Inc. All rights reserved. CSPFA Chapter 8 Object Grouping.
© 2000, Cisco Systems, Inc. 7-1 Chapter 7 Access Configuration Through the Cisco Secure PIX Firewall.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v IPv6 Transition Mechanisms Describing NAT-PT.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Monitoring and Troubleshooting BGP.
© 2004, Cisco Systems, Inc. All rights reserved. CSPFA Lesson 8 Object Grouping.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring an MP-BGP Session Between PE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Managing IP Traffic with ACLs Configuring IP ACLs.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Outbound Route Filtering.
© 2003, Cisco Systems, Inc. All rights reserved. CSPFA Chapter 9 Routing.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Manipulating Routing Updates Implementing Advanced Cisco IOS Features: Configuring DHCP.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Determining IP Routes Enabling RIP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Employing AS-Path Filters.
Copyright 2003 CCNA 4 Chapter 11 Scaling IP Addresses By Your Name.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Frame-Mode MPLS Implementation on Cisco IOS Platforms Troubleshooting Frame-Mode MPLS on Cisco.
Транксрипт:

© 2006 Cisco Systems, Inc. All rights reserved. ICND v Managing IP Traffic with ACLs Scaling the Network with NAT and PAT

© 2006 Cisco Systems, Inc. All rights reserved. ICND v 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 v 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 v Port Address Translation

© 2006 Cisco Systems, Inc. All rights reserved. ICND v Translating Inside Source Addresses

© 2006 Cisco Systems, Inc. All rights reserved. ICND v 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 v Enabling Static NAT Address Mapping Example

© 2006 Cisco Systems, Inc. All rights reserved. ICND v 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 v Dynamic Address Translation Example

© 2006 Cisco Systems, Inc. All rights reserved. ICND v Overloading an Inside Global Address

© 2006 Cisco Systems, Inc. All rights reserved. ICND v 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 v Overloading an Inside Global Address Example

© 2006 Cisco Systems, Inc. All rights reserved. ICND v 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 v 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 v Sample Problem: Cannot Ping Remote Host

© 2006 Cisco Systems, Inc. All rights reserved. ICND v Solution: New Configuration

© 2006 Cisco Systems, Inc. All rights reserved. ICND v 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 v 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 v 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 v