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保存



现象一:

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-%3Ca%20href=]team@winpcap.org">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 "mips64j" from cache.
ILT: loaded table "mips64e" from cache.
ILT: loaded table "ppc32j" from cache.
ILT: loaded table "ppc32e" from cache.
Hypervisor TCP control server started (port 7200).

启动
* CCNP 标准版控制台                                                           *
*=============================================================================*
Reading configuration file...
一直停留在这个地方

解决方法由zcxr提供

装过ORACLE 11g 会出现此问题
可能部分网络管理软件和dynamips有冲突,建议大家安装无线网卡驱动时使用设备管理器中的更新驱动安装
引用:
现象十二 :

*** Error: Unknown command '***'
See dynamips output for more info.

请检查net文件是否被修改过,一般情况下请从net文件删除***

现象十三 :



上现象是给定的RAM值太少导致的

advsecurityk9-mz 稳定工作一般RAM=128M
adventerprisek9-mz 稳定工作一般RAM = 192M 或 256M

搭载了NM-16ESW的设备稳定工作在192M,128M个别情况下会出错。

现象十四 :

这是什么原因?
R1#dir
%Error opening disk0:/ (Invalid DOS media or no media in slot)
R1#sh flash
Open device slot0 failed (Bad device info block)使用的是unzip-c7200-adventerprisek9-mz.124-20.T.bin


这是正常现象。因为dynamips对于router所需要的flash、disk等,都是通过文件模拟的(tmp下),因此部分ios无法show flash

现象十五 :

运行“修改网卡参数”的时候。
无法获得网卡参数。
显示:PACP: unable to find device list <No interfaces found !Make sure libpcap/WinPcap is properly installed on the local machine.>


该问题发生在Vista及以上版本。如果您出现以上问题,请在WinPcap安装完成后安装Ethereal,在安装过程中勾选“load Winpcap service at startup”
重启后即可获得网卡参数,如果重启后仍然无法获得有效的网卡参数,请打开Ethereal软件,选择capture-start,在弹出的对话框中,您能够看到网卡参数,复制对应的网卡参数,填入修改网卡参数.cmd即可。任何无法获得网卡参数的问题均可使用该方法解决。推荐Ethereal 版本 0.10.10


现象十六 :

这是什么原因?

获取本机网卡参数时系统找不到指定的路径...


如果是Vista系统,使用管理员身份运行时,cmd目录自动更改为c:/windows/system32,因此您需要使用记事本编辑各相关命令行文件,将相对路径改为绝对路径

除此之外则是系统默认变量被非法修改。请使用相关工具进行杀毒和修复操作。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值