dynamips 报错及非正常现象的解决办法
所有问题的解决方法请遵循以下步骤
1.请确认您的操作系统的 TCP/IP 模块没有被精简,被精简的代表有番茄花园、电脑城装机等部分版本操作系统 2.请确认您下载了最新的更新包,并按照更新包中的使用说明正确安装了更新包
3.请确认按照正确步骤正确安装了 WinPcap 并获取了非无线设备的网卡参数,请确认您获取参数的网卡在使用 dynamips 时没有被禁用
4.请确认 dynamips 使用的端口(一般为 7200、3001~3008 以及 UDP 端口)没有被其他程序占用,端口使用情况查看请 使用 cmd 中 netstat -a 命令,请退出不必要的程序(如迅雷等多端口下载程序),请检查防火墙是否阻止了服务端 的通讯,若 UDP 端口被占用,请运行 setup 目录下的 UDP 端口号修改程序
5.启动各设备,若提示无 idlepc 值,请使用 idlepc get XX 获取,使用 idlepc save XX db 保存
6.存放pemuwrapper 的路径中有中文,就会出现现象二的情况,原因是pemuwrapper不支持双字节字符。(即使你的配置中使用的相对路径,但也会出现这种错误提示)。解决方法:保证整个路径中不出现中文,例如,将模拟器放在D:/clab目录下,并且涉及pemu的子目录不能出现中文。
引用:
现象一:
Reading configuration file...
Error: timed out communicating with dynamips server localhost Exiting...
Press ENTER to exit
请参照步骤 3、4
引用:
现象二 :
Error: lost communication with pemuwrapper server localhost It may have crashed. Check the pemuwrapper server output.
请参照步骤 3、4
引用:
现象三 :
Reading configuration file...
*** Warning: Connecting SW1 port 2 to access 1 NIO_gen_eth:\\Device\\NPF_{******* *-****-****-****-************} resulted in:
206-unable to create generic ethernet NIO
*** Error: errors during loading of the topology file, please correct them Press ENTER to continue
请参照步骤 4
引用:
现象四 :
Reading configuration file... *** Dynagen has crashed ****
Please open a bug report against Dynagen at http://www.ipflow.utc.fr/bts/ Include a description of what you were doing when the error occured, your network file, any errors output by dynamips, and the following traceback data: Traceback (most recent call last):
File \dynagen\, line 910, in ?
File \dynagen\, line 729, in import_config File \dynamips_lib.pyc\, line 282, in __init File \dynamips_lib.pyc\, line 2033, in send error: (10054, 'Connection reset by peer') Press ENTER to exit
请参照步骤 3
引用:
现象五 :
=> start R1
Warning: Starting R1 with no idle-pc value 100-VM 'R1' started
请参照步骤 5
引用:
现象六 :
请关闭所有 dynamips 相关窗口,然后清空 tmp 目录
引用:
现象七 :vlan database exit 时
% not enough space on flash to store vlan database. trying squeeze...First create squeeze log by erasing the entire device
% error squeezing flash - (Missing or corrupted log)
% not enough space on flash to store vlan database. trying squeeze...First create squeeze log by erasing the entire device
% error squeezing flash - (Missing or corrupted log)
请先 eraser flash:在配置 vlan 或将 net 文件中的 ram 值增大。警告:真实设备 eraser flsh:将导致 IOS 丢失!
引用:
现象八 :
* 按任意键开始获取本机网卡参数
*---------------------------------------------------------------
* 网卡型号: Intel(R) 82566MM Gigabit Network Connection
* 网卡参数: \\Device\\NPF_{59EC25EC-14CC-45A2-ACB5-AEC213ED06DE}
*=============================================================== Press any key to continue . . .
粘贴获取到的网卡参数:
请参照步骤 4
引用:
现象九 :
WinPcap 安装出错且出现现象八
解决方法由 iamlnx 提供
引用:
换了一个 windows XP SP3 中文精简美化安装版 V.3300,结果发现 Dynamips 不能用了。一是安装 Dynamips 时出错,二是不能获取网卡参 数。这两个问题折腾我整个双修日,其它什么事都耽误了。不过终于找到解决方法,还算劳有所值。下面是解决方法:
一:在安 WINPCAP4.02 时,却出现以下错误提示:
An error occurred while installing the Microsoft Network Monitor Driver (NetMon) (0x800F0203). You will be able to use WinPcap on standard network adapters, but not on Dialup connections and VPNs. Please contact the WinPcap Team <[email=winpcap-winpcap-team@winpcap.org>. The installation will now continue
解决办法:先把其它正常的机子的 netnm.inf 拷过来,安装协议“network monitor”
二:如果用“修改网卡参数”,不能获取网卡参数,就用下面的办法获取直接,并复制到 Dynamips@EDURainbow\\net 目录下,每个文件中 的 Device\\NPF_后,也可以从其它正常的机子复制 net 下的文件,修改文件中 Device\\NPF_后的值。 打开注册表,“HKEY_LOCAL_MACHINE”注册表子键,在其后展开的注册表分支下面依次用鼠标选中其中的
“SYSTEM\\ControlSet001\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}”
选
项
(
有
多
个 “{4D36E972-E325-11CE-BFC1-08002BE10318}”,选第一个),下面那个“{1191117A-40AE-48BD-A5A1-ADBF65F279C4}”(机子不同这个 值也不同,这是取自我的机子),就是网卡参数。(可以对照其它正常的机子)
引用:
现象十 :
直连口不通
解决方法:请关闭杀毒软件(已发现部分卡巴斯基会产生该问题)
引用:
现象十一 :
启动模拟器后
Cisco Router Simulation Platform (version 0.2.8-RC2-x86) Copyright (c) 2005-2007 Christophe Fillot.
Build date: Oct 14 2007 10:54:51
ILT: loaded table \ips64j\ from cache. ILT: loaded table \ips64e\ from cache. ILT: loaded table \pc32j\ from cache. ILT: loaded table \pc32e\ from cache.