知方号

知方号

9.2.1.4 Packet Tracer

9.2.1.4 Packet Tracer – Configuring Static NAT (Instructor Version)

Instructor Note: Red font color or Gray highlights indicate text that appears in the instructor copy only.

Topology

ObjectivesPart 1: Test Access without NATPart 2: Configure Static NATPart 3: Test Access with NATScenario

In IPv4 configured networks, clients and servers use private addressing. Before packets with private addressing can cross then Internet, they need to be translated to public addressing. Servers that are accessed from outside the organization are usually assigned both a public and a private static IP address. In this activity, you will configure static NAT so that outside devices can access and inside server at its public address.

Part 1: Test Access without NATStep 1: Attempt to connect to Server1 using Simulation Mode.

a. From PC1 or L1, attempt to connect to the Server1 web page at 172.16.16.1. Use the Web Browser to browse Server1 at 172.16.16.1. The attempts should fail.

b. From PC1, ping the R1 S0/0/0 interface. The ping should succeed.

Step 2: View R1 routing table and running-config.

a. View the running configuration of R1. Note that there are no commands referring to NAT.

b. Verify that the routing table does not contain entries referring to the IP addresses used by PC1 and L1.

c. Verify that NAT is not being used by R1.

R1# show ip nat translationsPart 2: Configure Static NATStep 1: Configure static NAT statements.

Refer to the Topology. Create a static NAT translation to map the Server1 inside address to its outside address.

R1(config)# ip nat inside source static 172.16.16.1 64.100.50.1Step 2: Configure interfaces.

Configure the correct inside and outside interfaces.

R1(config)# interface g0/0R1(config-if)# ip nat insideR1(config)# interface s0/0/0R1(config-if)# ip nat outsidePart 3: Test Access with NATStep 1: Verify connectivity to the Server1 web page.

a. Open the command prompt on PC1 or L1, attempt to ping the public address for Server1. Pings should succeed.

b. Verify that both PC1 and L1 can now access the Server1 web page.

Step 2: View NAT translations.

Use the following commands to verify the static NAT configuration:

show running-configshow ip nat translationsshow ip nat statisticsDownload Packet Tracer (.pka) file: 9.2.1.4 Packet Tracer - Configuring Static NAT.pka 141.68 KB 2987 downloads ... Download

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lizi9903@foxmail.com举报,一经查实,本站将立刻删除。