Datasheet
Lab – Configuring Dynamic and Static NAT
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 15
--- 209.165.200.242 192.168.1.22 --- ---
What protocol was used in this translation? ____________ tcp
What port numbers were used?
Inside: ________________ 1038 to 1052. Answers will vary
outside: ________________ 80
What well-known port number and service was used? ________________ port 80, www or http
d. Verify NAT statistics by using the show ip nat statistics command on the Gateway router.
Gateway# show ip nat statistics
Total active translations: 3 (1 static, 2 dynamic; 1 extended)
Peak translations: 17, occurred 00:06:40 ago
Outside interfaces:
Serial0/0/1
Inside interfaces:
GigabitEthernet0/1
Hits: 345 Misses: 0
CEF Translated packets: 345, CEF Punted packets: 0
Expired translations: 20
Dynamic mappings:
-- Inside Source
[Id: 1] access-list 1 pool public_access refcount 2
pool public_access: netmask 255.255.255.224
start 209.165.200.242 end 209.165.200.254
type generic, total addresses 13, allocated 1 (7%), misses 0
Total doors: 0
Appl doors: 0
Normal doors: 0
Queued Packets: 0
Note: This is only a sample output. Your output may not match exactly.
Step 7: Remove the static NAT entry.
In Step 7, the static NAT entry is removed and you can observe the NAT entry.
a. Remove the static NAT from Part 2. Enter yes when prompted to delete child entries.
Gateway(config)# no ip nat inside source static 192.168.1.20 209.165.200.225
Static entry in use, do you want to delete child entries? [no]: yes
b. Clear the NATs and statistics.
c. Ping the ISP (192.31.7.1) from both hosts.
d. Display the NAT table and statistics.
Gateway# show ip nat statistics
Total active translations: 4 (0 static, 4 dynamic; 2 extended)
Peak translations: 15, occurred 00:00:43 ago
Outside interfaces:
Serial0/0/1