This is an old revision of the document!
Virtual PC Simulator
The VPCS can simulate up to 9 PCs. You can ping/traceroute them, or ping/traceroute the other hosts/routers from the virtual PCs when you study the Cisco routers in the Dynamips. VPCS is not the traditional PC, it is just a program running on the Linux or Windows, and only few network commands can be used in it. But VPCS can give you a big hand when you study the Cisco devices in the Dynamips. VPCS can replace the routers or VMware boxes which are used as PCs in the Dynamips network.
Try VPCS, it can save your CPU/Memory. It is very small.
Now, VPCS can be run in udp or ether mode. In the udp mode, VPCS sends or receives the packets via udp. In the ether mode, via /dev/tap, not support
on the Windows.
Download
The latest version 0.21, download, has been tested under CentOS64/Ubuntu64/OSX/WindowsXP/Windows7. And special thanks to Chris Welsh for his suggestions and help.
Usage
vpcs [options] -u udp mode, default -e tap mode, using /dev/tapx -s port local udp port, default from 20000 -c port remote udp port(dynamips udp ports), default from 30000 -r file run startup file
VPCS[1]> ?
show Print the net configuration of PCs d Switch to the PC[d], d is digit, range 1 to 9 history List the command history ip [arguments] Configure PC's IP settings dhcp Configure host/gateway address using DHCP arp Show arp table ping address [options] Ping the network host tracert address [maxhops] Print the route packets take to network host echo [text] Display text in output clear [arguments] Clear ip/ipv6, arp/neighbor cache set [arguments] Set hostname, connection port and echo on or off load filename Load the configuration/script from the file 'filename' save filename Save the configuration to the file 'filename' ver Show version ? Print help quit Quit program
VPCS[1]> sh NAME IP/CIDR GATEWAY MAC LPORT RPORT VPCS1 192.168.1.2/24 192.168.1.1 00:50:79:66:68:00 20000 30000 fe80::2050:79ff:fe66:6800/64 VPCS2 0.0.0.0/0 0.0.0.0 00:50:79:66:68:01 20001 30001 fe80::2050:79ff:fe66:6801/64 2001:1::2050:79ff:fe66:6801/64 eui-64 VPCS3 192.168.11.2/24 192.168.11.1 00:50:79:66:68:02 20002 30002 fe80::2050:79ff:fe66:6802/64 2001:11::2/64 eui-64 VPCS4 192.168.12.2/24 192.168.12.1 00:50:79:66:68:03 20003 30003 fe80::2050:79ff:fe66:6803/64 2001:12::2050:79ff:fe66:6803/64 eui-64 VPCS5 192.168.3.5/24 0.0.0.0 00:50:79:66:68:04 20004 30004 fe80::2050:79ff:fe66:6804/64 VPCS6 192.168.3.6/24 0.0.0.0 00:50:79:66:68:05 20005 30005 fe80::2050:79ff:fe66:6805/64 VPCS7 192.168.4.7/24 0.0.0.0 00:50:79:66:68:06 20006 30006 fe80::2050:79ff:fe66:6806/64 VPCS8 192.168.4.8/24 192.168.4.1 00:50:79:66:68:07 20007 30007 fe80::2050:79ff:fe66:6807/64 VPCS9 192.168.4.9/24 192.168.4.1 00:50:79:66:68:08 20008 30008 fe80::2050:79ff:fe66:6808/64
VPCS[9]> p ping address [options], Ping the network host, Ctrl+C to stop the command -1 ICMP mode, default -2 UDP mode -3 TCP mode -c count packet count -l size data size -T ttl set TTL, default 64 -p port source and destination port -f flag tcp head flag, |C|E|U|A|P|R|S|F| bits |7 6 5 4 3 2 1 0| -s winsize tcp window size -t send packet until interrupt by Ctrl+C -i ms wait 'ms' milliseconds between sending each packet -w ms wait 'ms' milliseconds to receive the response
VPCS[9]> i ip address [gateway] CIDR, Set the PC's ip, gateway's ip and network mask. dhcp Configure host/gateway address using DHCP, only ipv4 auto Stateless address autoconfiguration, only ipv6 PC will try to get the ipv6 address from the router at startup address [gateway] CIDR set the PC's ip, gateway's ip and network mask Default IPv4 CIDR is 24, IPv6 is 64. In the ether mode, the ip of the tapx is the maximum host ID of the subnet. '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 in the ether mode.
If in the ether mode, please run it before the dynamips loads/starts the ios.
When VPCS started, it listens the ports from 20000 to 20008 and wait the dymamips to connet, and send the packets to the ports from 30000 to 30008 which should be listened by the Dynamips.
VPCS looks for the file named 'startup.vpc' in the current directory, and execute the commands in it if you are not set the startup file from the command line. All the commands in the startup file are the internal command of the VPCS. The line started with '#' or '!' will be discarded.
# The startup file of VPCS # # pc1, ipv4 & ipv6 1 ip 172.16.1.1 172.16.1.10 24 ip 2001:1::10 64 # pc2, using dhcp 2 dhcp # pc3, ipv4 3 ip 172.16.3.3 172.16.3.10 24 # pc4, ipv4 & ipv6 4 ip 192.168.4.4 192.168.4.10 24 ip 2001:4::10 64 # switch to PC1 1
.net file (ether mode), please refer to dynagen for details.
# VLAN lab ghostios = True sparsemem = True [localhost] [[ROUTER sw]] model = 2621 image = /ios.run/c2600-ipbase-mz.123-8.T.bin ram = 128 slot1 = NM-16ESW f1/0 = r1 f0/1 f1/1 = NIO_linux_eth:tap0 f1/2 = NIO_linux_eth:tap1 [[router r1]] model = 2621 image = /ios.run/c2600-i-mz.123-6c.bin ram = 32 slot1 = NM-1FE-TX f0/0 = NIO_linux_eth:tap2
.bat (udp mode)
dynamips-wxp.exe -i R1 -T 2000 -P 2600 -r 64 -c 0x2142 -p 1:NM-16ESW -s 1:0:udp:30000:127.0.0.1:20000 -s 1:1:udp:30001:127.0.0.1:20001 -s 1:2:udp:30002:127.0.0.1:20002 ..\ios.run\c2600-te.bin
Dynamips loads ios with NM-16ESW module in slot 1, and listens 30000 to 30002. NM-16ESW is 16 port switch module (from f1/0 to f1/15). '-s 1:0:udp:30000:127.0.0.1:20000' means:
1. this is port 0 2. dynamips (or ios) sends the packets from port 30000 to port 20000 which listens by VPCS (PC1). 3. VPCS (PC1) sends the packets from port 20000 to dynamips.
.net file (udp mode)
# VLAN lab ghostios = True sparsemem = True [localhost] [[ROUTER sw]] model = 2621 image = /ios.run/c2600-ipbase-mz.123-8.T.bin ram = 128 slot1 = NM-16ESW f1/0 = r1 f0/1 f1/1 = NIO_udp:30000:127.0.0.1:20000 f1/2 = NIO_udp:30001:127.0.0.1:20001 idlepc = 0x805785a0 [[router r1]] model = 2621 image = /ios.run/c2600-i-mz.123-6c.bin ram = 32 slot1 = NM-1FE-TX f0/0 = NIO_udp:30002:127.0.0.1:20002 idlepc = 0x804f4044
Note
- The cygwin1.dll used by VPCS maybe conflicted with the older or other versions, please keep the LATEST cygwin1.dll in the your PC.
- You should run VPCS before starting the dynamips while using ether mode. VPCS opens the tap interfaces. And you should know, VPCS will CLOSE the tap interfaces before quit.
MD5
- 0.21
vpcs32 20b60d282d81e4ad0568f9f6c2a52cc5
vpcs64 cac354e87d49de7dfda536b5cb73589f vpcs.osx d138f76382cd6dc95e22c6653c3d0cd3 vpcs.exe abc613c61ec737b16f2eeb0aad29e05e cygwin1.dll bc68345f873de78310d324320e82fe65
vpcs.exe is windows program, only udp mode.
Under linux or OSX, maybe you need chmod +x vpcs.
vpcs.osx is OS X program, only udp mode.
ChangeLog
- version 0.21
1. fix many bugs
- version 0.20b
1. make the external tcp server happy 2. fix a bug of the command history function
- version 0.20a
1. new 'ping' command with many option 2. new 'set', set local/remote port and pc name 3. new 'save' and 'load', save the current configuration or load the configuration 4. new 'clear' to zero ip address, arp table 5. now, can stop the running command such as 'ping' or 'tr' by Ctrl+C 6. fix the bugs: 'queue is full' and coredump caused by entering the command 'ip' without parameter. 7. support stateless auto configuration, get ipv6 prefix from RA. 8. support save/load the commmand history automaticlly. And Easter Egg for XV Anniversary Memorial. ^_^
- version 0.16c
1. Use the new function to parse IPv6 address
- version 0.16a
1. Support IPv6
- version 0.15a
1. Configure the host ip using dhcp.
- version 0.14g
1. Fix the traceroute loop running bug.
- version 0.14f
1. Fix the traceroute TTL bug.
- version 0.14e
1. Fix the bug, parse 'echo' or 'traceroute' command line error, this bug causes core dump.
- version 0.14d
1. Fix the bug that replys the arp request with broadcast address as the source MAC address. Thanks [email protected]
- version 0.14c
1. change the TTL to 64
- version 0.14b
1. fix the I/O queue bug
- version 0.14a
1. add 'arp' command, show the arp table, 120 seconds expired. 2. add 'echo' command, send tcp/udp packet to the remote host.
- version 0.13a
1. add 'ping/tracert' local host 2. fix a ping bug, can get echo reply from a non-exist host ip
- version 0.12
1. fix the 'tracert' argument bug
- version 0.11
1. replace a static array
- version 0.10
1. add udp mode 2. can be run on the windows platform 3. support CIDR
- version 0.02
1. Fixed a bug about the history commands
Discussion
Hi all,
Is it possible to change MTU for UDP ping packets? I am looking for jumbo-frames and it seems it is not possible..
Anyway, with or without jumbo, this is an amazing tool. Many thanks
Hello,
I was wondering it was possible to integrate VPCS with UNETLAB ? I guess we are all familiar with GNS3, but under UNETLAB, it would be really good too.
Thanks,
Really, really fantastic job, I always use it on m$ and on linux platform… a little question, does it possible to release an version to sparc architecture?! I would like to use it on netbsd/solaris. keep it up!!! :) thanks
It's hard to find a SPARC platform to compile the VPCS. Or you can download the source code from sf.net, try to compile it by yourself.
I'm not familiar with compilation without makefile, can you provide me it? :D I think it would be fine on netbsd/sparc
Please refer to Makefile.freebsd.
Thanks a lot for this great tool!
Any plan to create a configuration file with the MAC addresses and the number of virtual PC? I would be very interested in such a feature! :)
great code, vpcs.osx works fine
(I am running GNS3 on Snow Leopard)
Roland
The best marketing techniques is to find easy way to reach wide audiences , the strategy is to reach through online processes and web processes
Hi,
I am not able to run VPCs on my system(ubuntu), the VPCS simulator just appears for less than a sec and disappears. Please help me on this and let me know how to run a VPC simulator successfully
Anil.
HI ,
What do you mean overwrite .dll file???
Please help me on this… I am not able to run the VPCS launcher.
I know so a great deal a lot more about this than I did previous to. Your blog seriously brought some items to light which i never would have believed about ahead of reading through it [http://www.counterpointpos.com pos system] [http://www.counterpointpos.com pos systems]
it`s my fisrt time here but i have to say that your information posted on this site is very helpfull to me, the more you learn more about the smarter you become. I`ll be back to read your site , lets hope that your future news will be as good as this ones are.Dresses to wear to a wedding
Big thanks for putting up the sourcecode on sourceforge.
I made a basic setup with one VPCS 192.168.1.50 connecting to real router 192.168.1.1 using NIC on PC 192.168.1.2 - from VPCS I can ping both router and PC but not traceroute and I can't ping from PC cmd line to VPCS instance… is there something I'm missing? The setup (very basic) is VPCS cloud → ethernet switch → cloud connected to router via NIC on PC. Also the VPCS can't get a DHCP from the router, again something I'm missing?
I'm going to be using emulated 2621 routers and real 2950 switches in my lab so was testing the ability to connect VPCS through PC NIC's to real devices in GNS3.
UPDATE: The VPCS is picking up DHCP and can traceroute the router but not the PC…
While working with VPCS version 0.21a (and also with version 0.20a) I found out two strange behaviors on the IPv4 stack:
1- For sessions targeted to VPCS, VPCS doesn't issue (as supposed) ARP Requests, even when the ARP cache is empty. The IPv4 stack, as far as I can conclude, immediately use the Source MAC Address of the incoming Ethernet frames to fulfill the Destination MAC Address of the outgoing Ethernet frames. Although this “simplification” works fine most of the time, it is not the standard behavior and brings some annoying effects over non-trivial scenarios. For instance, it is not possible to keep asymmetric routing working for incoming sessions. I. e., no matter the Default Gateway programmed on the VPCS, the VPCS terminal always uses the MAC addresses present on the incoming packets. At the same time, and once outgoing sessions must use ARP Request/Reply when the ARP cache is empty, the VPCS uses the default gateway with which it is programmed (the standard behavior). This puts VPCS on a strange situation where incoming sessions follow one path (symmetric) and outgoing sessions follow a different one (asymmetric). This also turns troubleshooting harder.
2-When VPCS terminals employ ARP Request/Reply the stack picks up the MAC Address it is looking for from the Source Address of the ARP Reply and not from the ARP Reply PDU. This is also a non-standard behavior that works must of the same but fails, for instance, when using Cisco GLBP protocol.
From these observations I ask:
A-Is it possible to solve the problems reported on the next VPCS release? B-Is it possible to access the VPCS source code? C-Is there any way to collaborate on code development around this project?
There are some interesting features missing. VPCS can implement up to 9 terminals but just the server side of them can be explored concurrently. Currently there is no way of having a continuous outgoing ping session on several VPCS terminals at the same time. Maybe a tab-like window becomes nice or some ”&” and fg bg commands may help on this issue.
Congratulations for your great project. Without it teaching networking will not be so accessible.
Best regards, Luis Santos (.PT)
My Virtual pcs are pinging with each other, but how to save the VPC configuration, so that next time when i open the vpcs the ip address remain intact. i loose all the ip addresses as soon as open vpcs again.
second question- can i create different file for different topologies, and use those files from the same vpcs.exe. plz help me out.
I have tried downloading the source above for my Ubuntu Linux but it does not work. Can only find .exe file for Windows.
Thank's for all help.
The Sourceforge project got deleted? I can't download it anymore.
Hello, i found your software on sourceforge, where it claims to be GPLv3.
i would like to package it and distribute it into openSUSE distribution together with gns3 and dynamips..
where can i find vpcs source code? Regards Andrea
hallo am a beginner with all this could sm1 help me with a step by step description on how to get my vpcs to communicate wz my GNS3 iv failed to ping all the pcs of other routers. iv been following the GNS3 tutorial for beginners and iv followed all the steps. is there smthng i should do during installtion of VPCs im using gns3 0.7.3 win 32 and vpcs o.21a. what should i do
glbp时,有问题,貌似是ARP处理的问题,获取的都是同一个mac,没有负载均衡,0.16c是可以的。
Does 0.21 send IPv6 router solicitation on startup?
Hi, I think that it doesn´t, according to my wireshark captures - I have to wait until my IPv6 router sends an IPv6 router advertisement by its own. Did anybody see same behaviour?
Hi, I downloaded vpcs-0.21.7z but not able to extract it. I also install 7-Zip.
I think the file you downloaded from the sourceforge.net is malformed, but some mirrors work fine. You can download from this site.
Hi, I have a issue. When I attempt trace route from router 3725(emulated in GNS3 0.7.3) to a virtual pc (VPCS 0.20a) the VPCS sends error messages and closes. What's happening?. The ping works fine (from and to virtual pcs).
Error messages? Would you please post it? And there's a bug that the traceroute from the router to vpcs can not get the correct response. Please try the latest version 0.21
If you download the vpcs-0.20a.zip file from this site you will find a file called cygwin1.dll - if this file is in the same directory as you run the Windows vpcs.exe, it should run. If there is a problem with the GNS3 package, you should report that on the gns3.net website.
Can anyone please tell me how to use the new version 20a VPCS in GNS3.0.7.3, because there is no cygwin.DLL and the path which you have mentioned
furosekhan has a point about using in that using routers or even a qemu host can also be used for testing, however there are a couple of reasons why I normally use vpcs rather than another router or qemu host: 1. Resources - vpcs is pretty light on resources compared to the other methods 2. Interface - vpcs gives me one window where I can quickly switch from PC to PC - and even easily repeat my last ping on the different PC by hitting the up arrow. 3. Features - you can ping tcp and udp port numbers using vpcs - try doing that on a router! 4. Scripts - vpcs v0.2 allows the loading of a file which will be run as a script. Not possible on a router.
if you guys are such a technical savvy, why dont u guys use the router by disabling ip routing as PC. huff… thats much much much more better than wasting time on vps, cloud, configuring them etc etc.. take these commands if anyone donno..
router#conf t router(config)# no ip routing router(config)#ip default-gateway 192.168.1.1 (router's address) router(config)#int f0/0 router(config-if)#ip add 192.168.1.2 255.255.255.0 router(config)#exit
that's it.. now ur router will do the same functions as vps hosts
Where is vps-0.20b download link ?
Thanks for the tip! I connected my vpcs via switches which are working under the local dynamips which also connected to the routers working under “remote” dynamips and it works now. So, the idea is vpcs should be connected to devices emulated by “local” dynamips(es).
Hi! My setup consists of two dynamipses running on 192.168.1.3 and 192.168.1.4. GNS3 and vpcs are both running at 192.168.1.2. VPCs settins in GNS3 is like nio_udp:30000:192.168.1.2:20000 and nio_udp:30001:192.168.1.2:20001. VPCs are connected to the routers (dynamipses above). Routers and VPCs can not ping each other. Using wireshark at 192.168.1.2 i can see packets from 192.168.1.3:30000 to 192.168.1.2:20000 and 192.168.1.4:30001 to 192.168.1.2:20001 but no one packet from 192.168.1.2:20000 or 192.168.1.2:20001 back. When i use only local dynamips it works ok. Is the there a way to get my setup working?
vpcs only works with the local dynamips.
Please everyone help, i need a CISCO IOS image? thank u…
@dary http://www.google.com/search?q=intitle%3Aindex.of+ios+-site%3Acisco.com&safe=active all the best
queue is full queue is full I have noticed dozens of “queue is full” messages get printed on the screen whenever the vpcs program sees an UNANSWERED ARP packet I'm not sure how much of the following scenario is needed to re-create the problem. SETUP SCENARIO 1. I'm running vpcs and GNS3 in Ubuntu 10.04, which is a VMware Virtual machine running on my host operating system of Windows Vista. The results are similar but not exactly the same when running the SAME VM on a OS X host. 2. My GNS3 topology consists of a GNS3 virtual switch - connecting to this switch, all on VLAN1 is: a) f0/0 of router R0 b) the vpc “cloud” c) the VM's eth0 adapter
This extract from the .net might explain it better: ETHSW SW0
This allows the host OS (Windows Vista) to communicate with both the router and the vpc
PROBLEM DESCRIPTION My host OS (Win Vista), the vpc, and the router's Fa0/0 can all ping each other quite happily. If ( a. my host PC (Win Vista) sends an ARP request, or b. an ARP request turns up from the external network, or c. the router sends an ARP request )
AND the request is not answered
THEN queue is full message appears on the vpc screen.
CONCLUSION It appears that the “queue is full” message does not interfere with the operation of vpcs, its a cosmetic problem only.
NOTE re Mac OS X In the scenario described above but using Macintosh OS X as the VMware host operating system, I can't get the vpc to see either the host (Mac OSX) or the router (f0/0) - BUT when the host or router or externally received ARP requests turn up, the “queue is full” message appears. Note also in this situation, the Mac OSX CAN ping the router, (and vice-versa) but neither the router or the Mac OSX can ping the vpc (and vice versa)
HISTORY I noticed this behaviour when I had 2 PCs, each running the same VM (the Ubuntu VM running vpcs & GNS3). One PC was a Macintosh, the other Win Vista. Physically they were both connected to the same switch on the same vlan.
I noticed that the “queue is full” message was occurring simultaneously on each vpcs screen - and quite often (the switch they were connected to had my whole home network hanging off it). I ran Wireshark hoping to find an unusual packet that caused the “queue is full” - but too much traffic, so I isolated my two host PCs. After watching the traces carefully I was able to determine that it was the ARP packets that ran at a 1:1 correlation to the “queue is full” message.
Footnote: The reference to “I can't get the vpc to see either the host (Mac OSX) or the router (f0/0)” was a PEBKAC error (I was trying to ping from the wrong virtual PC). So consistency between Windows Vista and Macintosh OSX host operating systems has been established.
i just have a single problem with this.. . i use the 1st 3 PCs and whenever i close VPCS and re-open, i'll have to assign the ip address again and again…. . is there a solution for this?
feroz - create a text file called *startup.vpc* in the directory you are running vpcs from. In that file place your _*ip*_ commands (and any others you like - I always finish with a _*show*_ command
Hi,
Is there a way to run a continuous ping through VPCS? I'm testing spanning tree out right now and I want to setup a continuous ping from one vpc to another, then break the links and see the ping go down. IT doesn't respond to the ping -t command. I also tried ping ip address -t but no success either.
Courtenay Allen.
i have this problem too… can anyone help?
i found the answer: upgrade to the latest version.
Hi Mimshi,
configuring the virtual pcs in a pc which is connected to office network(i m trying to configure this in office during free time) creates any problem??? I mean any routing issues because the pc is already connected to office network..
Thanks mimshi - static routing configured incorrectly.
Hello,
I cannot run vpcs 0.15a. I use uBuntu 9.40 OS and got this message below even though I mask my permission to be executable!!!. Can you advise please.
~/vpcs-0.15a$ uname -a
Linux client1.cracker.org 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:27 UTC 2010 x86_64 GNU/Linux
!/vpcs-0.15a$ ./vpcs -u -r ./startup.vpc
bash: ./vpcs: Permission denied
~/vpcs-0.15a$ chmod 0755 ./vpcs
~/vpcs-0.15a$ file ./vpcs
./vpcs: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.8, stripped
I also switched to newer version 0.16c. I still has no luck so far.
~/vpcs-0.16c$ ./vpcs
bash: ./vpcs: Permission denied
~/vpcs-0.16c$ ./vpcs_64
bash: ./vpcs_64: Permission denied
Thanks!
Hello,
I cannot run vpcs 0.15a. I use uBuntu 9.40 OS and got this message below even though I mask my permission to be executable!!!. Can you advise please.
~/vpcs-0.15a$ uname -a
Linux client1.cracker.org 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:27 UTC 2010 x86_64 GNU/Linux
!/vpcs-0.15a$ ./vpcs -u -r ./startup.vpc
bash: ./vpcs: Permission denied
~/vpcs-0.15a$ chmod 0755 ./vpcs
~/vpcs-0.15a$ file ./vpcs
./vpcs: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.8, stripped
I also switched to newer version 0.16c. I still has no luck so far.
~/vpcs-0.16c$ ./vpcs
bash: ./vpcs: Permission denied
~/vpcs-0.16c$ ./vpcs_64
bash: ./vpcs_64: Permission denied
Thanks!
hi,
nice work, it's possible to share the source code because i want debug part of pieces, thanks lot !
Hi,
I am using vpcs with gns3 and having problems getting the pc1 and pc2 to ping each other in a 2-router 2-pc configuration when using static routing on the routers. when I use router rip v2 however, no problems. anyone else have this issue?thanks. Joey the fish.
please check static route
Press '?' to get help.
Executing the startup file
DDD Can't find dhcp server
same problem here:
XP SP3 32bit, Amd turion 64×2
what's wrong?
how were u able to solve this because am having the same problem
Hi there,
I'm trying to launch the most current version you have (above) of vpcs, but am encountering the following:
Welcome to Virtual PC Simulator for dynamips, v0.15a Dedicated to Daling
[snip]
Press '?' to get help.
Executing the startup file
DDD Can't find dhcp server
PC2 : 172.16.1.2 255.255.255.0 gateway 172.16.1.10
PC3 : 172.16.1.3 255.255.255.0 VPCS 1 >show
NAME IP/CIDR GATEWAY MAC LPORT RPORT PC1 0.0.0.0/0 0.0.0.0 00:50:79:66:68:00 20000 30000 PC2 172.16.1.2/24 172.16.1.10 00:50:79:66:68:01 20001 30001 PC3 172.16.1.3/24 0.0.0.0 00:50:79:66:68:02 20002 30002 PC4 0.0.0.0/0 0.0.0.0 00:50:79:66:68:03 20003 30003 PC5 0.0.0.0/0 0.0.0.0 00:50:79:66:68:04 20004 30004 PC6 0.0.0.0/0 0.0.0.0 00:50:79:66:68:05 20005 30005 PC7 0.0.0.0/0 0.0.0.0 00:50:79:66:68:06 20006 30006 PC8 0.0.0.0/0 0.0.0.0 00:50:79:66:68:07 20007 30007 PC9 0.0.0.0/0 0.0.0.0 00:50:79:66:68:08 20008 30008
VPCS 1 >
Can you confirm if this is something my end, as I've tried the usual firewall/AV fixes?
And also is the “current” version ok for x86 (32bit) Windows 7, as that's what I'm running at the moment.
Thanks for your help.
Please let me know in case you need any further information.
I am using VPCS with Dynamips and have everything setup exactly as it should be. I will post the .net file the startup.vpc to confirm the same. Even now I am unable to ping the gateway from the PC and vice versa. Please help me identify the problem.
* Please note that there are no errors in terms of installation or .dll file setup ec, in case ther eis an error it has to be with the configs somewhere, please help me identify the same, I have almost given up now :(.
Topology is simple:
R2 — R1 — R3 (Running EIGRP) f
PC2 – PC1 – PC3
#Filename = staticroute.net autostart = True [localhost:7200]
[GNS3-DATA]
D:\Router Simulation\vpcs-0.16c>vpcs.exe
Welcome to Virtual PC Simulator for dynamips, v0.16c Dedicated to Daling. Build time: Mar 12 2009 11:32:18 All rights reserved.
NOTICE: MAY NOT use this software for commercial purposes unless
Please contact me at [email protected] or http://mirnshi.cublog.cn if you have any questions.
Press '?' to get help.
Executing the startup file
PC1 : 11.11.11.12 255.255.255.0 gateway 11.11.11.11
PC2 : 22.22.22.23 255.255.255.0 gateway 22.22.22.22
PC3 : 33.33.33.34 255.255.255.0 gateway 33.33.33.33
VPCS 3 >s
NAME IP/CIDR GATEWAY MAC LPORT RPORT PC1 11.11.11.12/24 11.11.11.11 00:50:79:66:68:00 20000 30000 PC2 22.22.22.23/24 22.22.22.22 00:50:79:66:68:01 20001 30001 PC3 33.33.33.34/24 33.33.33.33 00:50:79:66:68:02 20002 30002 PC4 0.0.0.0/0 0.0.0.0 00:50:79:66:68:03 20003 30003 PC5 0.0.0.0/0 0.0.0.0 00:50:79:66:68:04 20004 30004 PC6 0.0.0.0/0 0.0.0.0 00:50:79:66:68:05 20005 30005 PC7 0.0.0.0/0 0.0.0.0 00:50:79:66:68:06 20006 30006 PC8 0.0.0.0/0 0.0.0.0 00:50:79:66:68:07 20007 30007 PC9 0.0.0.0/0 0.0.0.0 00:50:79:66:68:08 20008 30008
VPCS 3 >1 VPCS 1 >ping 11.11.11.12 11.11.11.12 icmp_seq=1 time=0.001 ms 11.11.11.12 icmp_seq=2 time=0.001 ms 11.11.11.12 icmp_seq=3 time=0.001 ms 11.11.11.12 icmp_seq=4 time=0.001 ms 11.11.11.12 icmp_seq=5 time=0.001 ms
VPCS 1 >ping 11.11.11.11 host (11.11.11.11) not reachable
VPCS 1 >2 VPCS 2 >ping 22.22.22.23 22.22.22.23 icmp_seq=1 time=0.001 ms 22.22.22.23 icmp_seq=2 time=0.001 ms 22.22.22.23 icmp_seq=3 time=0.001 ms 22.22.22.23 icmp_seq=4 time=0.001 ms 22.22.22.23 icmp_seq=5 time=0.001 ms
VPCS 2 >ping 22.22.22.22 host (22.22.22.22) not reachable
VPCS 2 >3 VPCS 3 >ping 33.33.33.34 33.33.33.34 icmp_seq=1 time=0.001 ms 33.33.33.34 icmp_seq=2 time=0.001 ms 33.33.33.34 icmp_seq=3 time=0.001 ms 33.33.33.34 icmp_seq=4 time=0.001 ms 33.33.33.34 icmp_seq=5 time=0.001 ms
VPCS 3 >ping 33.33.33.33 host (33.33.33.33) not reachable
VPCS 3 >
can you tell me about use vpc in gns3? i don't know set IP for PC in gns3
I would like to suggest adding “ver” command in posible future new versions. Something like this: VPCS 1 >ver This is VPCS v0.16c
VPCS 1 >
Another problem with echo - the SYN/ACK from the VPC has a bad checksum, so if you are trying to echo a VPC through a firewall, the SYN gets through, but the SYN/ACK gets droped by the firewall because it has a back checksum See the Firewall Capture below:
PIX2(config)# cap cap1 in dmz real-time detail
Warning: using this option with a slow console connection may
Use ctrl-c to terminate real-time capture
1. If I type simply ip and hit enter, the program crashes (both windows and linux versions). 2. A “version” command would be nice, to check the version number 3. It would be nice if you could echo to routers as well as VPCS - at least for tcp - simply record the time for the 3-way handshake. At the moment, if i do an echo to say port 23 of the router, the SYN and SYN/ACK happen (but vpcs doesn't complete the final ACK) but I don't see any acknowledgement of this exchange - just the * * * output.
A great program - thanks.
host(x.x.x.x) not reachable and 206 - unable to create UDP NIO , I was stuck on these issues, my vpcs was not able to ping my router. please check my post below for solution.
http://crazy4tips.blogspot.com/2009/10/crazy-vpcs.html
Amazing :)
When i add computer in GNS3 and specify the type as cloud . But in the node space it is showing under decorative device. i am not able to set the ports for computer
my net file is like this pc1 (20000 127.0.0.1 30000) connect to a switch switch connext to a router . ping router →pc is ok ping pc →router not ok why ????
Hi,
Is it possible to send more than the default number of pings? A ping -t option would be great!
Hi,
What is the VPCS licence? I din't find it.
Thanks!
I connected the VPC1 to fa1/0 of a router (RTR1)
PC1 10.0.0.2/24 10.0.0.1 00:50:79:66:68:00 20000 30000
then the VPC2 is connected to another router (RTR3)
PC2 10.30.1.2/24 10.30.1.1 00:50:79:66:68:01 20001 30001
the problem is:
from RTR1:
I can ping the PC1 just fine
from RTR2
I cannot ping PC2, however when I do a “show arp” on the router it shows the address of the VPC2 as “incomplete” and eventually disappears from the ARP table
The workaround I discovered is i opened another VPC and it works
How can you have only 1 VPC running and connect the 2 VPCs to Different routers?
I connected the VPC1 to fa1/0 of a router (RTR1)
PC1 10.0.0.2/24 10.0.0.1 00:50:79:66:68:00 20000 30000
then the VPC2 is connected to another router (RTR3)
PC2 10.30.1.2/24 10.30.1.1 00:50:79:66:68:01 20001 30001
the problem is:
from RTR1:
I can ping the PC1 just fine
from RTR2
I cannot ping PC2, however when I do a “show arp” on the router it shows the address of the VPC2 as “incomplete” and eventually disappears from the ARP table
The workaround I discovered is i opened another VPC and it works
How can you have only 1 VPC running and connect the 2 VPCs to Different routers?
I connected the VPC1 to fa1/0 of a router (RTR1)
PC1 10.0.0.2/24 10.0.0.1 00:50:79:66:68:00 20000 30000
then the VPC2 is connected to another router (RTR3)
PC2 10.30.1.2/24 10.30.1.1 00:50:79:66:68:01 20001 30001
the problem is:
from RTR1:
I can ping the PC1 just fine
from RTR2
I cannot ping PC2, however when I do a “show arp” on the router it shows the address of the VPC2 as “incomplete” and eventually disappears from the ARP table
The workaround I discovered is i opened another VPC and it works
How can you have only 1 VPC running and connect the 2 VPCs to Different routers?
I am having the same issue as Samir above.
I just want to test VPCS and get it working so my topology is very simple.
3640 with NM-16 and NM-FE1. VPCS 1 and 2 are connected to ports 1 and 2o of the NM in the router. I see the ports as up/up. I have set the IPs for VPC1 and 2 in the same subnet, but cannot ping between them. Nor can I ping an IP on the router in this same subnet.
I have also tried this with a GNS switch between the router and the VPCs with the same result.
host (a.b.c.d) not reachable
GNS3, OSX, 10.5.7.
Any ideas would be greatly appreciated.
Thanks for all the hard work.
Well.. Maybe not; It appears that I enabled ND RA back on the cisco router for whatever reason, This is why it was working when I added the default gateway. I have suppressed the ND RA on the interface that is directly connected to the VPCS. It appears that the syntax ip 2001:470:C19C:10::2 64 2001:470:C19C:10::1 does not recognize 2001:470:C19C:10::1 as the default gateway. For now I will enable ND RA back on the Cisco Router; however, it would be nice to be able to traditionally add the default gateway to the vpcs config so that the host is not relying on Router Advertisements to locate a router to forward packets; Again, thanks for the app!
Disregard last post, I upgraded to 16c and added ip 2001:470:C19C:10::2 64 2001:470:C19C:10::1 and it works with no issues. Thanks for the app!
Hello, is there an option to configure a IPv6 default gateway for a vpcs host? I can ping my directly connected intergace, but unable to ping anything beyond that. Per the config, for an IPv4 host: ip 172.16.1.2 172.16.1.1 24 (172.16.1.1 being the gateway) My directly connected host is a 3725 Cisco router and ND/RD is disabled. I wish to assign the addresses statically; So a simple question is does vpcs have an option to supply a IPv6 default gateway? Thanks
O sorry I wrongly write down here. Actually my VPCS is configured like this:
At this current scenerio when I am trying to ping gateway address (192.168.0.1) from PC1 (192.168.0.5), it shows the following message:
Would anyone please tell me what is the problem?
What does your .net file look like? You need to connect your VPC to the gateway, so you should have something like:
for VPC1-VPC3 connected to fa0/0 of R0-R2 respectively.
And I assume you have configured the routers, “no shut” the fa0/0 interfaces etc.
My .net file look like this:
there are 3 routers, 1st router conneted to 2nd and 2nd connected to 3rd router through serial link and there are also 3 LAN Switches and 3 VPCS. 1st LAN Switch is connected to 1st router, 2nd switch is connected to 2nd router and 3rd switch is connected to 3rd router.
And 1st VPCS is connected to 1st switch, 2nd VPCS is connected to 2nd switch and 3rd VPCS is connected to 3rd switch.
From this network topology I can say that every VPCS is connectd to router through LAN switch.
In my VPCS end I've configured NIO_udp:30000:127.0.0.1:20000 and also applied “no shutdown” command in fa0/0 interface of router. It is still not working. Is it mandotory to choose NIO Ethernet? I've three NIO Ethernet. Now what should I do to solve this problem?
Does the pc1 connect router? You said the vpcs connects the switch, 1st switch connects router.
Piece of my dynamips's options:
-i R1 -T 2001 -P 3600 -t 3660 -X -r 160 -c 0×2102 –sparse-mem –idle-pc=0x607789b8
-p 0:NM-1FE-TX -p 1:NM-16ESW
-s 0:0:udp:7000:127.0.0.1:7001
-s 1:0:udp:30000:127.0.0.1:20000
-s 1:1:udp:30001:127.0.0.1:20001
-s 1:2:udp:30002:127.0.0.1:20002
-s 1:3:udp:30003:127.0.0.1:20003
-s 1:4:udp:30004:127.0.0.1:20004
The interface f1/0 connects vpc1, f1/1 to vpc2, and so on.
In my network topology I have added a Virtual PC to Switch and then Switch to Router, now I want to ping from Virtual PC (192.168.0.5) to gateway address (192.168.0.1) of Router. But I can not reach this. According to VPCS, I configured 3 Virtual PC like this:
If I want to ping gateway address now what should I do? Anyone can help me.
Do you want to ping 192.168.0.1? PC1's ip address is 192.168.2.5. You should switch to PC3 before you set up PC3.
In my network topology I have added a Virtual PC to Switch and then Switch to Router, now I want to ping from Virtual PC (192.168.0.1) to gateway address (192.168.0.5) of Router. But I can not reach this. According to VPCS, I configured 3 Virtual PC like this:
If I want to ping gateway address now what should I do? Anyone can help me.
Hi Mirnshi, I am having an other problem with new vpcs 16c, I can't ping any host from my GNS3 LAB router and from pc to router also. I have tried editing the vpcs startup file it's taking only the ipv6 host ip only not taking the gateway ip.It's not working. I think u might be familiar with ur vpcs, can u please solve this problem and upload the new vpcs version. Please
Thank You Kishore
you mean that you want to ping a host in ipv6 network, right? The host uses NDP(neighbor discover protocol) to discover the destination automatically in ipv6 network.
Hi: I'm using the v0.16c, and i can't ping one host from my GNS3 LAB. I've configured a Cloud Interface in GNS3 and on the NIO UDP also configure this: Local port: 30000 Remote host: 127.0.0.1 Remote port: 20000 I connect this Cloud device to a SW1 to F0/0 router interface and i cannot ping either. This is my VPCS config when i run.
Is your configuration correct? you'd better modify the configuration file startup.vpc in your lab.
Hi mirnshi this is kishore again. This new vpcs 16c is good to work with ipv6.Thank you very much.
Help please! why? VPCS 1 >ip 2001:1:10::1 64 Invalid ipv6 address.
VPCS 1 >
I had found this bug. I'm not sure it is the cygwin1.dll bug. I'm checking it.
Hi, Can someone demonstrate on how to configure IPv6 addresses. ?
Thanks
Hi,
Could any one explain me how to set an ipv6 address using vpcs 0.161a.I have tried my best.Please help me.
Can you run gns3 and vcps on Windows Server 2003. When I load vcps after gns3 and vice versa — dynamips fails to start when I go to Preferences/Dynamips and run the test. I tried copying the cygwin1.dll file from vpcs to the directory for gns3 and vice versa but this does not solve the problem. I noticed that my server is listening on port 20008 the default local port for pc9 in vcps . But I can change this in the startup file with a “conf lport” command. Any help would be appreciated . I've got this working in XP , but I would like to run in Windows 2003 server.
Thanks Jim
what's wrong? any error messages?
According VPCS I've configured Virtual PC to ping from one to another or to gateway address but it can't do. Would anyone please tell me what would be the problem?
According VPCS I've configured Virtual PC to ping from one to another or to gateway address but it can't do. Would anyone please tell me what would be the problem?
anyone know how I can “run” the vpcs.osx in Mac 10.4.x? I think I need to manually set up Terminal to do this, but I'm not sure.
like linux: 1. upload or unpack 2. chmod +x vpcs.osx 3. ./vpcs.osx
Unless i enter a gateway it doesn`t work in a switching lab. Or am i missing something?
which version? how did you know it does not work in your switch lab? please give more detail. thx
I have the similar problem
OS:win server2008 GUI Dynamips:gns3 0.6 IOS:unzip-c3640-ik9o3s-mz.124-10 slot:NM-16ESW
1. think you need to now to make the idelpc to work for you all time to all time low you need to eliminate the exec-timeout of the console to make the ios kick out of the prompt and make the cpu go high this are the command. and you cpu will be 0% all time ;)
r1(config)# line con 0 r1(config-line)# exec-timeout 0 0 r1(config-line)# logging synchronous
1. think you need to now to make the idelpc to work for you all time to all time low you need to eliminate the exec-timeout of the console to make the ios kick out of the prompt and make the cpu go high this are the command. and you cpu will be 0% all time ;)
r1(config)# line con 0 r1(config-line)# exec-timeout 0 0 r1(config-line)# logging synchronous
it would be very usefull if vpc has the funcation of save the config file then we can save the ip address & cidr & gateway info next time when we use it again we can load the info
Just change the startup.vpc file if you use the same configurations over-and-over again although it would be nice to be able to specify our own configuration file on startup.
Hi,
I'm running VPCS v0.15a on a FC9 virtual machine with 256Mbps memory. I have it connected to a GNS3-emulated Cisco 3725 which acts as a switch, which in turn is connected to a Mikrotik router over VMNet 2. Connectivity is fine but I keep seeing “queue is full” messages, however, this doesn't affect performance. Is this because of running in VMWare?
Is the Mikrotik router a physical device? I never test the vpcs in these environment. Could you please post your topology?
Thanks for the reply. All devices are virtual machines running on VM Workstation. The host machine is Windows Vista. I run 4 virtual machines on it:
1. Fedora Core 9 with GNS3 and VPCS (256Mbps virtual machine) 2. Mikrotik RouterOS (128Mbps virtual machine) 3. Mikotik RouterOS (128Mbps virtual machine) 4. Fedora Core 9 with GNS3 and VPCS (256Mbps virtual machine)
The full topology is:
VPCS PC1–>GNS3 Cisco 3725 with NM-16ESW–>Mikrotik1–>Mikrotik 2–>GNS3 Cisco 3725 with NM-16ESW–>VPCS PC1
As I mentioned before I get end-to-end connectivity and the “queue is full” message does not appear until I start pinging and the only annoyance is that it interrupts the command line in VPCS. I also notice that if the virtual machine is idle and the Fedora Core 9 login prompt comes up then this too causes the message to appear. I can only assume that it is the memory of the virtual machine causing the issue but I have to be a bit cute to ensure that I don't slow down the whole PC when running all four virtual machines. The idlepc values have been calculated too and have got them to go as low as possible.
Thanks in advance for your help and a rather belated thanks for your program. Hopefully you've seen my run through on my blog (subnettingmadeeasy) of your program.
Kind regards,
Chris
I will check the code to find out where's wrong.
I got the same message “queue is full” on the VPCS console when pinging an configured IP. The problem was an rport bad configured on GNS3 cloud. Once i put it in the right way, worked well.
Regards.
Hello All,
I started getting the same message “queue is full” on the VPCS console too when I added VLANs to my C3725 switches. When I ping from a VPCS pc connected to any of these new VLANs ports the message appears. I hope this bug gets fixed soon cuz it's so annoying.
regards,
Nidal
Hi,
I would like to download file vpcs-0.16a.zip and receive information Page can't be desplayed. Can you corect a link to vpcs-0.16a for i64?
It's ok now.
THX
Hello ..
The binary file on version 0.16a for Linux it does'nt work, but on 0.15a version works perfectly:
tony@fenix:~/Downloads/Linux/vpcs-0.16a$ ./vpcs -u -r startup.vpc bash: ./vpcs: cannot execute binary file tony@fenix:~/Downloads/Linux/vpcs-0.16a$ ls -la total 2044 drwx—— 2 tony tony 4096 2008-12-27 09:40 . drwxr-xr-x 9 tony tony 4096 2008-12-27 09:40 .. -rw-r–r– 1 tony tony 1872520 2008-02-29 16:45 cygwin1.dll -rw-r–r– 1 tony tony 3508 2008-12-24 23:56 ex.sh -rw-r–r– 1 tony tony 520 2008-12-24 23:45 filelist.txt -rw-r–r– 1 tony tony 2312 2008-12-24 23:15 readme_cn.txt -rw-r–r– 1 tony tony 2642 2008-12-24 23:15 readme.txt -rw-r–r– 1 tony tony 271 2008-12-24 23:51 startup.vpc -rwxr-xr-x 1 tony tony 62000 2008-12-24 23:09 vpcs -rw-r–r– 1 tony tony 47104 2008-12-24 23:09 vpcs.exe -rw-r–r– 1 tony tony 60152 2008-12-24 23:43 vpcs.osx tony@fenix:~/Downloads/Linux/vpcs-0.16a$
tony@fenix:~/Downloads/Linux/vpcs-0.16a$ cd ..
tony@fenix:~/Downloads/Linux$ cd vpcs-0.15a/
tony@fenix:~/Downloads/Linux/vpcs-0.15a$ ls -la total 2508 drwx—— 2 tony tony 4096 2008-12-27 09:38 . drwxr-xr-x 9 tony tony 4096 2008-12-27 09:40 .. -rw-r–r– 1 tony tony 1872520 2008-02-29 16:45 cygwin1.dll -rw-r–r– 1 tony tony 2730 2008-03-31 11:17 ex.sh -rw-r–r– 1 tony tony 520 2008-06-28 11:36 filelist.txt -rw-r–r– 1 tony tony 2346 2008-06-28 11:16 readme_cn.txt -rw-r–r– 1 tony tony 2674 2008-06-28 11:17 readme.txt -rw-r–r– 1 tony tony 116 2008-06-28 11:37 startup.vpc -rwxr-xr-x 1 tony tony 571684 2008-06-26 12:24 vpcs -rw-r–r– 1 tony tony 34304 2008-06-26 12:22 vpcs.exe -rw-r–r– 1 tony tony 43456 2008-06-28 11:32 vpcs.osx
tony@fenix:~/Downloads/Linux/vpcs-0.15a$
tony@fenix:~/Downloads/Linux/vpcs-0.15a$ ./vpcs -u -r startup.vpc
Welcome to Virtual PC Simulator for dynamips, v0.15a Dedicated to Daling. Build time: Jun 26 2008 11:22:03 All rights reserved.
NOTICE: MAY NOT use this software for commercial purposes unless
Please contact me at [email protected] or http://mirnshi.cublog.cn if you have any questions.
Press '?' to get help.
Executing the startup file
DDD Can't find dhcp server
PC2 : 172.16.1.2 255.255.255.0 gateway 172.16.1.10
PC3 : 172.16.1.3 255.255.255.0
VPCS 1 >
VPCS 1 >show
NAME IP/CIDR GATEWAY MAC LPORT RPORT PC1 0.0.0.0/0 0.0.0.0 00:50:79:66:68:00 20000 30000 PC2 172.16.1.2/24 172.16.1.10 00:50:79:66:68:01 20001 30001 PC3 172.16.1.3/24 0.0.0.0 00:50:79:66:68:02 20002 30002 PC4 0.0.0.0/0 0.0.0.0 00:50:79:66:68:03 20003 30003 PC5 0.0.0.0/0 0.0.0.0 00:50:79:66:68:04 20004 30004 PC6 0.0.0.0/0 0.0.0.0 00:50:79:66:68:05 20005 30005 PC7 0.0.0.0/0 0.0.0.0 00:50:79:66:68:06 20006 30006 PC8 0.0.0.0/0 0.0.0.0 00:50:79:66:68:07 20007 30007 PC9 0.0.0.0/0 0.0.0.0 00:50:79:66:68:08 20008 30008
VPCS 1 >
Sorry, the previously file is x86_64 version. I uploaded 32bit version.
Thanks , now is working fine.
I finally was able to define the computer symbol as a cloud type. Within the symbol manager I made sure to place several symbols in the right pane, with one being the computer. I was then able to select and highlight the computer symbol before naming it and saving it as a cloud type. Vpcs works great.
I am having a problem integrating vpcs with gns3.First , I copied the vpcs cygwin1.dll to the dynamips directory under the GNS3 directory. Once , I did that dynamips was able to load. However , I followed the instructions in the gns3 tutorial for adding a computer symbol as a cloud type within the symbol manager. The computer symbol appears under the node types on the left pane under a category called decorative nodes. When I drag and drop the computer symbol it is of type decorative node and not the cloud type. I can't seem to define the computer symbol as a cloud type - I am selecting the cloud type but it doesnt save it as a cloud type. Can anyone help me on this.
Hello …
1. Keep the cygwin1.dll file on dynamips directory under GNS3 UNTOUCHED and copy this to the VPCS directory. 2. Follow the instructions in the gns3 tutorial for adding a computer symbol as a cloud type within the symbol manage and do a double click on the computer icon from the rigth column (COSTUMIZED NODES) to edit properties. 3. Save it with a diferent name (vPC for example).
I hope this can resolve youre problem.
It's ok, nothing wrong.
Hi,
I have an strange issue. GNS3 its working properly, and VPCS runs fine without any error, cygwing1.dll also.
But the ports are binding to 0.0.0.0, not 127.0.0.1.
This is part of my netstat -an
Please let me know if someone has the same problem. Thanks, Francisco.
hiiiiiiiiiiiiiii
hello. this tool is awesom! thanks!!!
here is a tipp which i found in another forum, if you get a “206-unable to create UDP NIO” error on gns3:
http://7200emu.hacki.at/viewtopic.php?t=6261&sid=235689ec4431f31d4ff8b37391ae8ad0
cite: ” try switching the ports 20000 > 30000 30000 > 20000 ”
please add telnet funcionality… (with selected ports) it's enough for me…
I have a super simple setup with two switches (NSW) and a trunk, and I am trying to ping from VPC1 to VPC 2 each connected at the edges. ping response - host (0.0.0.0)not reachable. Is this not meant to work over L2 links? My VPCs have not gateway set. Thanks, J
ping response - host (0.0.0.0)not reachable
are you sure your setting is right?
Thanks!
Hi I have a problem with using vpcs with GNS3. I cant run both simultaniouly. if I open VPCs first it will open but GNS3 will give a error when i start making topology saying “Can't connect to the hypervisor on port 7200”. if I open GNS3 first and make a topology it will work but then can't open vpcs application. it just open and disappears when i open it. kindly advice on this. (i'm using this with windows)
I got the same problem in Windows XP (both version 0.14g and 0.15a). How can I solve this?
I found the reason of this. Both Dynamips and VirtualPCs use cygwin1.dll, just copy file .dll from VirtualPCs overwrite file .dll in Dynamips (Remember backup original .dll)
Goodluck!!!!
thanks very much! really saved time! thanks thanks
Hi,
I have an issue launching VPCS on my system(Ubuntu). The VP simulator is getting open and disappearing when i am trying to open it. I saw your post regarding this but i am not able to understand it. U have asked to copy .dll file from Virtual PCs overwrite file.dll in dynamips.. I am not able to understand that… Please please help me on this, I am still a begginner…
Regards, Anil
hi, I also got this problem just now. I found that the WinPcap in my computer was uninstall in mistake and after I reinstall the software Gns3 work again. you may check if you got this problem either. Good luck…
Some suggestions: 1) Add the -t flag to the ping command so that it can be used to generate traffic. 2) Add the ability to switch between multiple VPCs and generate ping traffic from each. 3) Add ability to change ping packet sizes, and use tcp or udp packets.
It's a great tool that I'll continue to use even without the suggestions.
Thanks
I have a problem when I want to connect the cable to the interface, it said unable to create UDP NIO, what's that suppose to mean ? thx b4
Nice tool , and I wonder if you can add port in the command “ping”,like this ping 10.0.0.1:8080 thanks
Nice tool , and I wonder if you can add port in the command “ping”,like this ping 10.0.0.1:8080 thanks
dsFSDzfdasfasdfaESfcm/asd.fm/cx.z,cmv/zxc.,vmx/cz.,vmzx/c.,vmz/x.c,vmz/.cx,mv/.zxc,mv/.zxc,m
will you please share the source with me? sciwander dot 163 dot com
Hello
respectfully
steve
which dll?
Welcome to Virtual PC Simulator for dynamips, v0.14f
Dedicated to Daling.
Build time: Mar 26 2008 02:40:36
All rights reserved.
NOTICE: MAY NOT use this software for commercial purposes unless you get an appropriate commercial license for it.
Please contact me at [email protected] or http://mirnshi.cublog.cn
if you have any questions.
Press '?' to get help.
Executing the startup file
PC1 : 192.168.20.1 255.255.255.0 gateway 192.168.20.254
VPCS 1 >
⇒ ver
Dynagen version 0.11.0.031408
hypervisor version(s):
dynamips at localhost:7200 has version 0.2.8-RC2-x86
Credits:
Dynagen is written and maintained by Greg Anuzelli
Contributing developer: Pavel Skovajsa
Pemuwrapper: Thomas Pani
Pemu: Milen Svobodnikov
Thanks to the authors of the ConfObj library
And big thanks of course to Chris Filot as the author of Dynamips.
RO-A#sh run
Building configuration…
Current configuration : 1277 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname RO-A
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.10.254 255.255.255.0
ip nat inside
speed 100
full-duplex
!
interface FastEthernet0/1
ip address dhcp
ip nat outside
speed 100
full-duplex
!
interface Serial1/0
ip address 1.1.1.5 255.255.255.252
ip nat inside
serial restart-delay 0
clock rate 128000
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
router rip
version 2
passive-interface FastEthernet0/1
network 1.0.0.0
network 10.0.0.0
network 192.168.10.0
no auto-summary
!
ip nat inside source list 10 interface FastEthernet0/1 overload
no ip http server
ip classless
!
!
access-list 10 permit 192.168.10.0 0.0.0.255
access-list 10 permit 192.168.20.0 0.0.0.255
access-list 10 permit 192.168.30.0 0.0.0.255
access-list 10 permit 192.168.40.0 0.0.0.255
!
!
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
!
end
RO-A#
Thank you for your work. I've got the bug.
Is working perfectly now !!!! Thanks allot !!!
Welcome to Virtual PC Simulator for dynamips, v0.14g Dedicated to Daling. Build time: Apr 1 2008 19:03:58 All rights reserved.
NOTICE: MAY NOT use this software for commercial purposes unless
Please contact me at [email protected] or http://mirnshi.cublog.cn if you have any questions.
Press '?' to get help.
Executing the startup file
PC1 : 192.168.20.1 255.255.255.0 gateway 192.168.20.254
VPCS 1 > VPCS 1 > VPCS 1 >ping 192.168.20.254 192.168.20.254 icmp_seq=1 time=4.950 ms 192.168.20.254 icmp_seq=2 time=5.237 ms 192.168.20.254 icmp_seq=3 time=8.214 ms 192.168.20.254 icmp_seq=4 time=3.859 ms 192.168.20.254 icmp_seq=5 time=5.520 ms
VPCS 1 > VPCS 1 > VPCS 1 > VPCS 1 >tracert 192.168.10.254 7 traceroute to 192.168.10.254, 7 hops max 1 192.168.20.254 5.848 ms 3.892 ms 6.181 ms 2 1.1.1.5 17.392 ms 8.036 ms 17.719 ms
VPCS 1 >tracert 192.168.40.254 traceroute to 192.168.40.254, 64 hops max 1 192.168.20.254 3.111 ms 4.412 ms 4.239 ms 2 2.2.2.6 12.501 ms 9.951 ms 9.225 ms 3 3.3.3.6 17.009 ms 21.746 ms 20.315 ms
Follow my .net dynamips.
I note a problem when I replace the original cygwin.dll by vpc cygwin.dll, I can not make a telnet on my third router.
My lab has 3 routers and I do telnet to R1 and R2, but with R3 the window of Putty close automatically.
Any help is welcome!!!
Are you sure that the third dynamips was started correctly? out of memory?
I did not think the problem is out of memory. My Windows XP has 2G RAM.
topo是《tcp/ip路由技术》(第一卷)(第二版)上的,
第三章 静态路由→3.2.5 浮动静态路由→图3-5
configuration也和书上都一样
如果mirnshi不方便查阅此书的话,我再把topo和conf发给你(ps:找不到你的邮件地址)
再次感谢mirnshi为大家做出的贡献!
topo是《tcp/ip路由技术》(第一卷)(第二版)上的,
第三章 静态路由→3.2.5 浮动静态路由→图3-5
configuration也和书上都一样
如果mirnshi不方便查阅此书的话,我再把topo和conf发给你(ps:找不到你的邮件地址)
再次感谢mirnshi为大家做出的贡献!
please post your topology and your router configuration
f的确没解决好trace问题,我的一个拓扑包含负载均衡,但是在最后一跳的时候就循环了,换成真实网卡就ok了,望mirnshi解决,谢谢。(mirnshi能看懂中文吧?)
kya hall ha tara kya kar raha aaj kal wasa tu apna aap ko bohot hoshar samaj ta ha japani lekh kar samaj ta ha ka tari bata hum ko hai sumj aagi chal ja bharma
f的确没解决好trace问题,我的一个拓扑包含负载均衡,但是在最后一跳的时候就循环了,换成真实网卡就ok了,望mirnshi解决,谢谢。(mirnshi能看懂中文吧?)
Version is 0.14f still not working on tracert:
VPCS 1 >tracert 192.168.40.254 traceroute to 192.168.40.254, 64 hops max 1 192.168.20.254 10.632 ms 4.058 ms 3.706 ms 2 2.2.2.6 15.627 ms 10.931 ms 11.220 ms 3 3.3.3.6 30.142 ms 19.769 ms 17.068 ms 4 3.3.3.6 29.432 ms 16.428 ms 19.421 ms 5 3.3.3.6 60.752 ms 16.208 ms 20.515 ms 6 3.3.3.6 49.813 ms 18.569 ms 17.558 ms 7 3.3.3.6 19.268 ms 19.269 ms 14.346 ms 8 3.3.3.6 19.005 ms 20.802 ms 18.298 ms 9 3.3.3.6 22.309 ms 17.373 ms 17.132 ms ………………
VPCS 1 >tracert 192.168.10.254 4 traceroute to 192.168.10.254, 4 hops max 1 192.168.20.254 3.336 ms 7.239 ms 13.128 ms 2 1.1.1.5 13.357 ms 8.231 ms 19.452 ms 3 1.1.1.5 16.256 ms 10.210 ms 22.401 ms 4 1.1.1.5 10.283 ms 9.840 ms 20.708 ms
Version is 0.14f still not working on tracert:
VPCS 1 >tracert 192.168.40.254 traceroute to 192.168.40.254, 64 hops max 1 192.168.20.254 10.632 ms 4.058 ms 3.706 ms 2 2.2.2.6 15.627 ms 10.931 ms 11.220 ms 3 3.3.3.6 30.142 ms 19.769 ms 17.068 ms 4 3.3.3.6 29.432 ms 16.428 ms 19.421 ms 5 3.3.3.6 60.752 ms 16.208 ms 20.515 ms 6 3.3.3.6 49.813 ms 18.569 ms 17.558 ms 7 3.3.3.6 19.268 ms 19.269 ms 14.346 ms 8 3.3.3.6 19.005 ms 20.802 ms 18.298 ms 9 3.3.3.6 22.309 ms 17.373 ms 17.132 ms ………………
VPCS 1 >tracert 192.168.10.254 4 traceroute to 192.168.10.254, 4 hops max 1 192.168.20.254 3.336 ms 7.239 ms 13.128 ms 2 1.1.1.5 13.357 ms 8.231 ms 19.452 ms 3 1.1.1.5 16.256 ms 10.210 ms 22.401 ms 4 1.1.1.5 10.283 ms 9.840 ms 20.708 ms
I note a problem when I replace the original cygwin.dll by vpc cygwin.dll, I can not make a telnet on my third router.
My lab has 3 routers and I do telnet to R1 and R2, but with R3 the window of Putty close automatically.
Any idea?
The cygwin.dll used by dynamips and vpcs is a special version, which can support IPv6, and will conflict with the same file released by cygwin.com. It recommends you to keep the latest cygwin.dll in your path because the different version will fight each other.
Hi. It did not work on my PC. I am using Windows XP.
I run VPC and then when I run Dynamips, i got the following error:
6 [main] ? (4964) C:\Arquivos de programas\Dynamips\dynamips.exe: *** fata
l error - system shared memory version mismatch detected - 0x2D1E009C/0x75BE0096
.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start→Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
I note that my dynamips folder have your own cygwin and the VPC folder have one too.
What is the problem?
Can you help me?
I ran into the same issue and what helped me was deleting the cygwin DLL file in the VPC folder and copying the cygwin DLL from the dynamips folder into the VPC folder. I can now use VPC.
“tracert” is wrong!
traceroute to 10.1.5.1, 64 hops max 1 192.168.1.194 141.000 ms 125.000 ms 141.000 ms 2 192.168.1.194 156.000 ms 141.000 ms 125.000 ms 3 192.168.1.194 156.000 ms 219.000 ms 141.000 ms 4 192.168.1.194 187.000 ms 125.000 ms 140.000 ms 5 192.168.1.194 204.000 ms 141.000 ms 109.000 ms 6 192.168.1.194 157.000 ms 78.000 ms 140.000 ms 7 192.168.1.194 156.000 ms 187.000 ms 110.000 ms 8 192.168.1.194 172.000 ms 203.000 ms 125.000 ms 9 192.168.1.194 156.000 ms 156.000 ms 141.000 ms 10 192.168.1.194 125.000 ms 157.000 ms 109.000 ms 11 192.168.1.194 125.000 ms 157.000 ms 156.000 ms
you can change these ports in the startup file. For example: 1 conf rport 40000
Hi,
Great program! But whats the complete syntax of the startup.vpc file? I got Bad command: “1 conf rport 40001”. after starting with that:
# The startup file of VPC # pc1 1 conf rport 40001 ip 192.168.10.2 192.168.10.1 24
I need different lport and rport for each PC. Hope u will help,thx Balazs
Use the following in the startup.vpc file:- set rport 30000
Use “set lport 20000” or “set rport 30000” in the startup.vpc file where the port number is the port of your choice.
With the new hot Dynamips GNS3 the RPort 30000-30008 is used in pemu, so I have a bat file to change in vpcs -c 40000 start, can you make this change in vpcs as default RPort to not conflict and make easier for noobs that want to use this great tool.
To Mike J: I am looking for the OS X to compile the code.
It's a layer3 tools to help NE to study router/switch, why add so many functions? Simple is the best.
Amazing,
If you add nmap, telnet, ssh, traceroute and netcat functionality (maybe even tcpdump) then you would have absolutely coolect tool around for integrating with dynamips. That would allow us to do/test just about every single required feature.
hey…how do i add all these functionalities?? i would like nmap, telnet, ssh, traceroute, mtr….could you please guide me?
lovely! great! excellent!
lovely! great! excellent!
Thanks mirnshi! Can this functionality be changed in the future and perhaps the source code released? I run dynamips in OS X and it would be nice to have a ported version of vpcs so I don't have to use multiple machines or play with static routes (to support multiple tap interfaces).
yes, just for work easy.
I have dynamips and vpcs running on two different hosts on the same LAN. In my net file, I simply replaced “127.0.0.1” with the ip address of the host running vpcs in the NIO_udp line. I see the traffic going out and the traffic being received on the other host, but the vcps host does not respond, thus the vpcs cannot ping the dynamips router.
Is vpcs hard-coded to only work with the loopback adapter?
Hi… have you found any workaround.
I have a similar issue, but in my case VPCS bind the ports to 0.0.0.0 instead of 127.0.0.1
Please let me know if you can. Thanks.
Just curious, I can get vpcs to load up in windows, but if I configure an interface for my local network and use my local router as the gateway, I cannot ping from Windows to the vpsc ip that I configured. Btw, my main connection is wireless.
Robert
Bad command:“conf rport 1111”.Use ? for help. The vpcs cannot ping the dynamips router. What is the problem? Can you help me?