TAILIEUCHUNG - Lecture Address Space Management: Scaling the Network with NAT and PAT

There are three types of NAT: static, dynamic, and overloading (PAT). Static NAT is one-to-one address mapping. Dynamic NAT addresses are picked. NAT overloading (PAT) allows you to map many inside addresses to one outside address. Use the show ip nat translation command to display the translation table and verify that translation has occurred,. | Address Space Management Scaling the Network with NAT and PAT Network Address Translation An IP address is either local or global. Local IPv4 addresses are seen in the inside network. Global IPv4 addresses are seen in the outside network. Port Address Translation Translating Inside Source Addresses Establishes static translation between an inside local address and an inside global address RouterX(config)# ip nat inside source static local-ip global-ip Marks the interface as connected to the inside RouterX(config-if)# ip nat inside Marks the interface as connected to the outside RouterX(config-if)# ip nat outside Displays active translations RouterX# show ip nat translations Configuring and Verifying Static Translation Enabling Static NAT Address Mapping Example RouterX# show ip nat translations Pro Inside global Inside local Outside local Outside global --- --- --- interface s0 ip address ip nat outside ! interface e0 ip address ip nat inside ! ip nat inside source static Establishes dynamic source translation, specifying the ACL that was defined in the previous step RouterX(config)# ip nat inside source list access-list-number pool name Defines a pool of global addresses to be allocated as needed RouterX(config)# ip nat pool name start-ip end-ip {netmask netmask

TÀI LIỆU MỚI ĐĂNG