How to use VPCS with GNS3 in Ubuntu.


1.Download vpcs from here VPCS 0.20a

2.Extract and look for vpcs32.linux(for 32-bit systems) and vpcs64.linux (for 64-bit systems)

3.Fire up the Terminal and issue following command 
chmod +x vpcs32.linux

4.Then we'll open and configure startup.vpc in gedit

gedit startup.vpc


5.Now configure startup.vpc according to your requirement. For example I'll add just two hosts for this tutorial.
Host 1 (VPCS1) with Ip 192.168.1.10/24 and 192.168.1.99 as its gateway.
Host 2 (VPCS2) with Ip 192.168.1.11/24 and 192.168.1.99 as its gateway.


** add # to the rest of the lines.


6.Now lets start VPCS by issuing the following command within the terminal.
 ./vpcs32.linux

7.Use show command to see all the configured ip addresses.


8. We are done with VPCS configuration part, minimize the vpcs window, and lets configure port settings for VPCS on GNS3.

Fire up GNS3 (run gns3 as a root).

9.This is a optional step where I'll be adding symbols to PC hosts.


10.Add computer symbol from 'available symbol' to 'customized nodes'
    on name = anyname ie, PC1
    on type  = Cloud
    click ok
Do the same for PC2


11.Drag and Drop PC1 and PC2 into the GNS3 Workboard.
    Double click on PC1
    click on 'C1'
    go to tab 'NIO UDP'
    hold....
    go back to Step 7
    Check the LPORT and RPORT

12.On Local port add rport value
    on Remote port add lport value
    on Remote host add 127.0.0.1
    click add
    Do the same for PC2 (again check the respective ports)




13. Lets add a Ethernet switch to the GNS3 workboard and check the connectivity between the two hosts.

14. Maximize vpcs window and lets ping to each host to check the connectivity between them.
     To navigate from 1 pc to another, simply type the number


As you see, a successful connectivity has been established between the two hosts. 

Happy Learning :)









Share your views...

10 Respones to "How to use VPCS with GNS3 in Ubuntu."

John said...

Awesome. Thank you so much.


March 3, 2011 at 8:11 AM
Benedict_nero said...

Thank you very much


March 9, 2011 at 10:25 AM
Nitin Mohan 1980 said...

how to generate Http traffic using VPCS ?


April 26, 2011 at 4:15 AM
Bipshr said...

Thank you so much. This tutorial is very helpful.


May 25, 2011 at 5:02 PM
Jamal Batubara said...

dh...
a have error, time  i wont type the terminal
#gedit startup.vpc
the error is:
GLib-GIO:ERROR:/build/buildd/glib2.0-2.26.1/gio/gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)

Plase help me............


May 16, 2012 at 9:10 PM
Jamal Batubara said...

have followed is the step by step command above but i'have errorWhen I type the command#gedit startup.vpcthe error:GLib-GIO:ERROR:/build/buildd/glib2.0-2.26.1/gio/gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)Plase help me search solution..........


May 16, 2012 at 9:16 PM
Nik said...

this tutorial is very useful for me and saved me a lot's of trouble....


June 13, 2012 at 11:47 PM
musa y said...

thanks it work!!!


November 30, 2012 at 3:48 PM
Daniel Baker said...

NIce and clear , thanks!


October 26, 2013 at 3:18 PM
Konstantinos Papadopoulos said...

Very useful for me, thank u!!!!


November 23, 2014 at 12:39 AM

Post a Comment

 

Contributors

Our Partners

DISCLAIMER: This site does not store any files on its server. I only index and link to content provided by other sites. All the files are from internet. In case of any query/objection regarding copyright or privacy, please inform me at Contact me and leave your comment here. I will immediately respond to you.