How to Configure and Use VPCS in GNS3? – When designing network projects using GNS3, you can use VPCS instead of virtual machines in terms of performance.
How to Configure and Use VPCS in GNS3?

How to Configure and Use VPCS in GNS3?

After running the GNS3 program, there are devices such as Switch, Router and Hub in the Devices panel. When preparing for Cisco exams with GNS3 you need to add virtual machines to the program. On the other hand, virtual machine usage on GNS3 will cause performance loss and we recommend using Virtual PC Simulator (VPCS).

To use VPCS on GNS3 is more specific and faster. We will review the steps for using VPCS in GNS3 and configuring VPCS in GNS3.

VPCS is Virtual PC Simulator. We can also call VPCS as a virtual computer simulator.

How to Configure Virtual PC Simulator (VPCS) on GNS3?

Follow the steps below to configure VPCS on the GNS3 network simulator.

   Step 1

First open GNS3 and create a topology as in the following image.

How to Configure and Use VPCS in GNS3?

   Step 2

Double-click the VPCS PC1 to open the CLI command prompt. To configure the VPCS PC1 TCP / IP settings, execute the ip (ip address) (subnet mask) command (default gateway).

You can use the show ip command to control TCP/IP settings on VPCS PC1.

PC1> show ip

NAME : PC1[1]
IP/MASK : 0.0.0.0/0
GATEWAY : 0.0.0.0
DNS :
MAC : 00:50:79:66:68:00
LPORT : 10000
RHOST:PORT : 127.0.0.1:10001
MTU: : 1500
[/code]

[code]
PC1> ip 192.168.10.10/24 192.168.10.1
Checking for duplicate address...
PC1 : 192.168.10.10 255.255.255.0 gateway 192.168.10.1

 
How to Configure and Use VPCS in GNS3?

   Step 3

In the same way, configure the TCP/IP settings of the VPCS PC2.

How to Configure and Use VPCS in GNS3?

   Step 4

Ping to control PC1 and PC2 network connection.

How to Configure and Use VPCS in GNS3?

   Step 5

You can use clear ip to delete TCP/IP configurations on VPCS PCs. Delete the settings on both PCs and then check the TCP/IP settings with the show ip command.

How to Configure and Use VPCS in GNS3?

   Step 6

After assigning IP addresses to VPCSs on GNS3, configure the Cisco Router as a DHCP server.

Commands for Cisco Router DHCP configuration;

R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#ip dhcp pool DHCPLANPOOL
R1(dhcp-config)#network 192.168.10.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.10.1
R1(dhcp-config)#dns-server 192.168.10.1
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address 192.168.10.1
R1(config)#end
R1#

 
How to Configure and Use VPCS in GNS3?

   Step 7

To configure an automatic IP address for VPCSs after configuring the Cisco Router as a DHCP server, execute ip dhcp on VPCS PC1.

As you can see in the image below, VPCS PC1 has received TCP/IP settings from DHCP Server.

How to Configure and Use VPCS in GNS3?

   Step 8

Likewise, configure the TCP/IP settings on the VPCS PC2.

How to Configure and Use VPCS in GNS3?

   Step 9

Once you have completed the VPCS configuration steps on GNS3, you can use the save command to save these settings. Otherwise, the settings on the VPCS that are restarted or turned off will be lost.

How to Configure and Use VPCS in GNS3?

VPCS Configuration Commands on GNS3

PC1 show ipPC1 ip configPC1 ip dhcpPC1 save configPC2 show ipPC2 ip configPC2 ip dhcpPC2 save configCisco Router DHCP Config
PC1> show ip

NAME : PC1[1]
IP/MASK : 0.0.0.0/0
GATEWAY : 0.0.0.0
DNS :
MAC : 00:50:79:66:68:00
LPORT : 10000
RHOST:PORT : 127.0.0.1:10001
MTU: : 1500
PC1> ip 192.168.10.10/24 192.168.10.1
Checking for duplicate address...
PC1 : 192.168.10.10 255.255.255.0 gateway 192.168.10.1
PC1> ip dhcp DDORA IP 192.168.10.2/24 GW 192.168.10.1 PC1> show ip NAME : PC1[1] IP/MASK : 192.168.10.2/24 GATEWAY : 192.168.10.1 DNS : 192.168.10.1 DHCP SERVER : 192.168.10.1 DHCP LEASE : 86393, 86400/43200/75600 MAC : 00:50:79:66:68:00 LPORT : 10000 RHOST:PORT : 127.0.0.1:10001 MTU: : 1500
PC1> save
Saving startup configuration to startup.vpc
. done
PC2> show ip

NAME : PC2[1]
IP/MASK : 0.0.0.0/0
GATEWAY : 0.0.0.0
DNS :
MAC : 00:50:79:66:68:01
LPORT : 10002
RHOST:PORT : 127.0.0.1:10003
MTU: : 1500
PC2> ip 192.168.10.20/24 192.168.10.1
Checking for duplicate address...
PC1 : 192.168.10.20 255.255.255.0 gateway 192.168.10.1
PC2> ip dhcp
DDORA IP 192.168.10.3/24 GW 192.168.10.1

PC2>
PC2>
PC2> show ip

NAME : PC2[1]
IP/MASK : 192.168.10.3/24
GATEWAY : 192.168.10.1
DNS : 192.168.10.1
DHCP SERVER : 192.168.10.1
DHCP LEASE : 86391, 86400/43200/75600
MAC : 00:50:79:66:68:01
LPORT : 10002
RHOST:PORT : 127.0.0.1:10003
MTU: : 1500
PC2> save
Saving startup configuration to startup.vpc
. done

 

R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#ip dhcp pool DHCPLANPOOL
R1(dhcp-config)#network 192.168.10.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.10.1
R1(dhcp-config)#dns-server 192.168.10.1
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address 192.168.10.1
R1(config)#end
R1#

How to Configure and Use VPCS in GNS3? ⇒ Video

You can watch the video below to configure VPCS on GNS3 step by step and you can subscribe to our YouTube channel to support us…

  Final Word

In this article, we have discussed using and configuring VPCS so that you can work the Cisco exams with GNS3 more easily. Thanks for following us!

If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!

Also, you can add to browser bookmarks by pressing the CTRL+D to read this article later!

Articles Related to How to Configure and Use VPCS in GNS3

Products Related to How to Configure and Use VPCS in GNS3
Related Products


Leave a Reply

Your email address will not be published. Required fields are marked *

two − two =