欢迎访客 ( 登陆 | 注册 )

论坛索引 | 最新主题 | 热门主题 | 搜索论坛 | 成员列表 | 在线帮助

 
nat问题?
« 上一篇主题 | 下一篇主题 » 跟踪主题 | 邮寄主题 | 打印主题
  maying 离线
  1. nat问题?
HP : 0 / 164
MP : 25 / 2866
EXP : 59%
江湖游侠


成员等级: 7
发表总数: 75
金币总数: 163
所属组别: 普通成员
注册日期: 2003/01/28

我用一台2621做nat!
配置如下:
interface FastEthernet0/0
ip address 200.11.111.2 255.255.255.252
ip nat outside
!
interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
!
ip nat pool nat 200.101.111.225 200.101.111.225 prefix-length 30
ip nat inside source list 1 pool nat overload
ip nat inside source static 192.168.1.12 200.101.111.226
ip classless
ip route 0.0.0.0 0.0.0.0 200.11.111.1
no ip http server
!
access-list 1 permit 192.168.1.0 0.0.0.255


运行一直很正常!!

当我使用命令show ip nat statistics看nat统计值时发现:
Total active translations: 1470 (1 static, 1469 dynamic; 1469 extended)
Outside interfaces:
FastEthernet0/0
Inside interfaces:
FastEthernet0/1
Hits: 83273442 Misses: 1872000
Expired translations: 1754161
Dynamic mappings:
-- Inside Source
[Id: 1] access-list nat pool nat refcount 1469
pool nat: netmask 255.255.255.252
start 200.101.111.225 end 200.101.111.225
type generic, total addresses 1, allocated 1 (100%), misses 127581
最后一行miss 为127581,而allocated 为1,难道说明未成功的值有127581? 但运行一直很正常呀! 上面还有一个Misses 为1872000,这两个有什么区别?
最后这行代表的意思谁能给详细解释解释?

发表于2003/02/15, 20:52
     Top
  bug 离线
2. Re:nat问题?
HP : 243 / 1219
MP : 1503 / 21389
EXP : 79%
测试中......


成员等级: 49
发表总数: 4509
金币总数: 301
所属组别: 核心成员
注册日期: 2003/01/10

当转换表里面的条目被使用来转换一个包的地址时,HIT的计数会增加一次。
反之,当转换一个包的地址时,找不到相应的转换表里的条目。MISSES计数会增加一次。
MISSES的数目增加是正常的。



user posted image
发表于2003/02/15, 21:42
      Top
  bug 离线
3. Re:nat问题?
HP : 243 / 1219
MP : 1503 / 21389
EXP : 79%
测试中......


成员等级: 49
发表总数: 4509
金币总数: 301
所属组别: 核心成员
注册日期: 2003/01/10

http://www.cisco.com/en/US/tech/tk648/tk36...080094c32.shtml


user posted image
发表于2003/02/15, 21:51
      Top
主题评分
未评分. 匿名用户无权对主题进行评分
0 名会员正在浏览该主题 (0 名游客 和 0 名隐身会员)
0 名会员:
有 2 篇回复自 2003/02/15, 20:52 跟踪主题 | 邮寄主题 | 打印主题

<< Back to 网络世界

 




Powered by PhoenixBBS v1.2 © 2000-2003  NetBuddy.Org