Put a VPCS node your topology

Set an IP

Manually set an IP

Use DHCP

Ping & traceroute

Save configuration

Limitations

Last updated
December 7, 2017

Contributors
Julien Duponchelle
Edit this Article
Last updated
December 7, 2017

Contributors
Julien Duponchelle
Edit this Article

VPCS


Virtual PC Simulator is a program written by Paul Meng. It’s allow you to simulate a PC supporting DHCP and ping. It’s consume only 2MB of RAM by node and do not require an additional image.

The official website:

https://sourceforge.net/projects/vpcs/?source=directory

Put a VPCS node your topology

The VPCS node is builtin with GNS3. You don’t need any configuration. Just click on the end devices and drag the VPCS node in your topology.

After you start the VPCS node you can connect to the console:

Welcome to Virtual PC Simulator, version 0.6.1
Dedicated to Daling.
Build time: Feb 25 2016 00:35:23
Copyright (c) 2007-2015, Paul Meng ([email protected])
All rights reserved.

VPCS is free software, distributed under the terms of the "BSD" licence.
Source code and license can be found at vpcs.sf.net.
For more information, please visit wiki.freecode.com.cn.

Press '?' to get help.

Executing the startup file


PC1>

Set an IP

Manually set an IP

PC1> ip 192.168.1.1
Checking for duplicate address...
PC1 : 192.168.1.1 255.255.255.0

Use DHCP

PC1> dhcp

Ping & traceroute

PC1> ping 192.168.1.2

84 bytes from 192.168.1.2 icmp_seq=1 ttl=64 time=0.576 ms
84 bytes from 192.168.1.2 icmp_seq=2 ttl=64 time=0.512 ms
84 bytes from 192.168.1.2 icmp_seq=3 ttl=64 time=0.473 ms
84 bytes from 192.168.1.2 icmp_seq=4 ttl=64 time=0.453 ms
84 bytes from 192.168.1.2 icmp_seq=5 ttl=64 time=1.182 ms

PC1> trace 192.168.1.2
trace to 192.168.1.2, 8 hops max, press Ctrl+C to stop
 1   *192.168.1.2   0.398 ms (ICMP type:3, code:3, Destination port unreachable)

Save configuration

The ip will be lost at next restart if you don’t save the config.

PC1> save
Saving startup configuration to startup.vpc
.  done

Limitations

VPCS is PC simulator. His implementation of the network stack is not perfect and you will see bugs when use in complex topologies.