DynamipsGUI自带的VPCS版本比较低,没有dhcp功能,这对于我们平时做实验非常不方便。

冷博客这里用的小凡模拟器,自带的是0.13的VPCS。

下面以windows xp平台为例,冷博客教您如何升级现有的VPCS,由于模拟器版本不同,建议您先备份原程序。

首先去官网下载新版的VPCS,不过这里推荐0.15a版,因为这是第一版带dhcp功能的VPCS,而且高版本如0.2x不支持小凡配置文件startup.vpc中的一些命令。

就是新版的命令改变了,无法兼容现有版本小凡DynamipsGUI模拟器。

1.下载:

http://www.freecode.com.cn/lib/exe/fetch.php?media=wiki:vpcs-0.15a.zip

2.升级:

在小凡安装目录下,清空VPCS目录,将新版内容解压到VPCS目录。

删除其中startup.vpc文件。

把压缩包内cygwin1.dll文件覆盖小凡安装目录下的同名文件。

 

随便做个实验,运行VPCS.exe

如果出现:Welcome to Virtual PC Simulator for dynamips, v0.15a

说明升级成功。

这个版本有如下命令:

show                         Print the net configuration of PCs.
d                            Switch to the PC[d], d is digit, range 1 to 9.
hist                         List the history command, use arrow keys to get
                             recently-executed commands.
ip address CIDR [gateway]    Set the host’s ip, gateway’s ip and network mask.
                             In the ether mode, the ip of the tapx is the
                             maximum host ID of the subnet. Default CIDR is
                             24. ‘ip 10.1.1.70 10.1.1.65 26′, set the host ip
                             to 10.1.1.70, the gateway ip to 10.1.1.65, the
                             netmask to 255.255.255.192, the tapx ip to
                             10.1.1.126 (ether mode).
dhcp                         Configure host/gateway address using DHCP.
arp                          Show arp table.
ping address                 Ping the network host.
echo address port [udp|tcp]  Echo the host port with protocol(udp/tcp).
tracert address [maxhops]    Print the route packets take to network host.
                             default maxhops is 64.
conf [lport|rport] port      Set local or remote port. ‘conf lport’ will close
                             the old port and open the new port. Only udp mode.
?                            Print help.
quit                         Close all the port(udp mode) or the tapx (ether
                             mode), then quit.

 

http://loneblog.com/blog/dynamipsgui_update_vpcs.html?wpmp_switcher=mobile