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 | prefix-length prefix-length} Defines a standard IP ACL permitting those inside local addresses that are to be translated RouterX(config)# access-list access-list-number permit source [source-wildcard] Displays active translations RouterX# show ip nat translations Configuring and Verifying Dynamic Translation Dynamic Address Translation Example RouterX# show ip nat translations Pro Inside global Inside local Outside local Outside global --- --- --- --- --- --- Overloading an Inside Global Address Configuring Overloading Establishes dynamic source . | 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 .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.