cisco1#ping 192.168.23.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.23.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 68/71/80 ms
Terminal-Server>2
[Resuming connection 2 to cisco2 ... ]
01:01:55: NAT*: s=192.168.12.1->192.168.34.1, d=192.168.23.3 [74]
01:01:55: NAT*: s=192.168.23.3, d=192.168.34.1->192.168.12.1 [74]
省略…
cisco2#sh ip nat tr
Pro Inside global Inside local Outside local Outside global
Icmp 192.168.34.1:6 192.168.12.1:6 192.168.23.3:6 192.168.23.3:6
注:由于发送的ping包,所以显示转换的是icmp协议 。随机产生端口号6 。
cisco2#
01:02:55: NAT: expiring 192.168.34.1 (192.168.12.1) icmp 6 (6)
注:约1分钟的时间释放地址转换的空间 。
cisco2# sh ip nat translations----查找NAT,表中没有任何的转换条目 。
cisco2#
8、在cisco1用192.168.12.2上ping 192.168.23.3
cisco1#ping
Protocol [ip]:
Target IP address: 192.168.23.3
Extended commands [n]: y
Source address or interface: 192.168.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.23.3, timeout is 2 seconds:
Packet sent with a source address of 192.168.12.2
!!!!!
Terminal-Server>2
[Resuming connection 2 to r5 ... ]
01:03:37: NAT: s=192.168.12.2->192.168.34.1, d=192.168.23.3 [75]
01:03:37: NAT*: s=192.168.23.3, d=192.168.34.1->192.168.12.2 [75]
省略…
cisco2#sh ip nat tr
Pro Inside global Inside local Outside local Outside global
icmp 192.168.34.1:7 192.168.12.2:7 192.168.23.3:7 192.168.23.3:7
注:端口号已改为7 。
cisco2#
01:04:37: NAT: expiring 192.168.34.1 (192.168.12.2) icmp 7 (7)
推荐阅读
- 分析:网络中的各种互通与不通
- 像鱼子酱一样的水果 水果中的鱼子酱是什么水果
- Python中的列表、元组、集合和字典详解
- 认识独立显卡中的A卡和N卡,学会选择适合自己的显卡
- Cisco ASA 防火墙 NAT - 基本概念
- SEO中的假设检验及其统计意义
- 茶叶中的三大法宝五大禁忌
- 传说中的不周山在现在的中国哪里 不周山的来历
- 乌托邦理想主义是什么意思 我理想中的乌托邦
- 一 桑椹酒的功效与作用
