配置动态地址转换时-亲测overload区别

配置cisco路由器时,本人亲测了配置动态地址映射时,有过载配置和无过载配置的区别,不算什么技巧,仅供本人笔记只用,网络拓扑如下
配置动态地址转换时-亲测overload区别_第1张图片
具体配置就不多说了,在这里我想记录的是路由器0配置了动态路由后,配置过载和不配置过载的区别,即
ip nat inside source list xx pool xx/ip nat inside list xx pool xx overload的区别
首先,在不加过载的情况下,分别用laptop4.lap top5去ping baidu.com,ping  google.com,ping通后,我们来看路由器0映射表
Pro  Inside global     Inside local       Outside local      Outside global
icmp 116.24.70.12:5    172.16.10.2:5      64.233.189.99:5    64.233.189.99:5
icmp 116.24.70.12:6    172.16.10.2:6      64.233.189.99:6    64.233.189.99:6
icmp 116.24.70.12:7    172.16.10.2:7      64.233.189.99:7    64.233.189.99:7
icmp 116.24.70.12:8    172.16.10.2:8      64.233.189.99:8    64.233.189.99:8
icmp 116.24.70.11:5    172.16.20.3:5      220.181.6.81:5     220.181.6.81:5
icmp 116.24.70.11:6    172.16.20.3:6      220.181.6.81:6     220.181.6.81:6
icmp 116.24.70.11:7    172.16.20.3:7      220.181.6.81:7     220.181.6.81:7
icmp 116.24.70.11:8    172.16.20.3:8      220.181.6.81:8     220.181.6.81:8
udp 116.24.70.12:1026  172.16.10.2:1026   202.96.134.133:53  202.96.134.133:53
udp 116.24.70.11:1026  172.16.20.3:1026   202.96.134.133:53  202.96.134.133:53
 
这是我们来no掉这条语句,然后用overload代替
icmp 116.24.70.13:10   172.16.10.2:10     64.233.189.99:10   64.233.189.99:10
icmp 116.24.70.13:11   172.16.10.2:11     64.233.189.99:11   64.233.189.99:11
icmp 116.24.70.13:12   172.16.10.2:12     64.233.189.99:12   64.233.189.99:12
icmp 116.24.70.13:9    172.16.10.2:9      64.233.189.99:9    64.233.189.99:9
icmp 116.24.70.12:10   172.16.20.3:10     220.181.6.81:10    220.181.6.81:10
icmp 116.24.70.12:11   172.16.20.3:11     220.181.6.81:11    220.181.6.81:11
icmp 116.24.70.12:12   172.16.20.3:12     220.181.6.81:12    220.181.6.81:12
icmp 116.24.70.12:9    172.16.20.3:9      220.181.6.81:9     220.181.6.81:9
udp 116.24.70.13:1027  172.16.10.2:1027   202.96.134.133:53  202.96.134.133:53
udp 116.24.70.12:1027  172.16.20.3:1027   202.96.134.133:53  202.96.134.133:53
 
看出其中区别了吧
 

本文出自 “pulse” 博客,谢绝转载!

你可能感兴趣的:(职场,路由,休闲)