GNS3/C2/Introduction-to-GNS3/English

From Script | Spoken-Tutorial
Revision as of 20:29, 28 November 2012 by Pravin1389 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Title of script:Introduction to GNS3

Author: Amit

Keywords: GNS3, networking simulator



Visual Cue

Narration

Slide Number 1

Welcome to the spoken tutorial on GNS3

Slide Number 2

Learning Objective

In this tutorial we will learn.

1.What is GNS3.

2.Install and download GNS3.

3.How to use GNS3.

4.How to use PING command.

Slide 3

Prerequisite

User should have basic Knowledge of networking.

User should be familiar with basic terminal commands.

Slide 4

Let me brief you about GNS3


GNS3 stands for Graphical Network Simulator.

It is an Open source simulator.

Slide Number 5

Let me now explain you, where GNS3 can be used.

GNS3 is helpful in simulating network devices.

It connect VPCS, which is an open source application for virtual Machine.

It helps in troubleshooting the complex networks.

Therefore GNS3 can be used to test the network before being implemented in real environment.

Slide Number 6

Software used

In this tutorial we are using Ubuntu 11.04 .

You should have GNS3 v 0.7.4 and VPCS on installed on your machine.

VPCS stands for Virtual PC Simulator.

GNS3 has dependence of Dynamips.

Slide Number 7

Download and Installation

Now let us learn how to install GNS3 and configure VPCS.

GNS3 can be installed using Synaptic package manager.

For VPCS file go to this link

http://sourceforge.net/projects/gns-3/files/VPCS/0.21a/vpcs-0.21a.zip/download

Hands on 1

Click on

System-->administration

-->synaptic manager.

type-->password

type-->gns3

right click on check box

-->select mark installation-->click on apply

Open synaptic manager on your machine.

Type GNS3 on search textbox.

you will find GNS3 and Dynamips on the list of software.

Right click on the check box click on mark for the installation.

Click on apply.

You have successfully installed GNS3.

Slide Number 8

To connect GNS3 with virtual clouds like VPCS and VirtualBox you need root access.

For this we have to create a launcher.


Hands on 2


go to desktop-->right click-->click on create launcher.

Type-->gns3

Type-->gksudo/usr/bin/gns3--> click ok

display slide 7 agains as slide 9.

Let me show you how to create a launcher on your desktop.

For this right click on the desktop.

Select 'create launcher' .

this will open Create launcher dialog box.

Type GNS3 in textbox labeled 'name'.

Type 'gksudo /usr/bin/gns3' in the textbox labeled 'command' .

Now click on OK.

You will see Gns3 icon appeared on desktop.

Let us see how to download the VPCS file.

Hands on

Download VPCS file

/* switch to terminal*/

type command-->sudo gedit startup.vpc

Let us see how to download the VPCS file.

copy paste this link(http://sourceforge.net/projects/gns-3/files/VPCS/0.21a/vpcs-0.21a.zip/download) in your web browser and hit ENTER

save the file by pressing OK buttons.

visit your downloaded file and extract it

Now open the terminal in your Ubuntu machine using 'ctrl+alt t' keys.

Go to the location where your VPCS file is using 'cd /Download/vpcs/0.21a' command.

Type command 'chmod +x vpcs32' .

Now to run vpcs type './vpcs32' .

Then press 'ctrl + c' .

We can simulate 9 virtual PC using VPCS.

For the tutorial I am configuring only 2 PC.

Type 'ip 10.1.1.11/8' this is IP of first VPCS machine.

Type '2' to enter second VPCS machine.

Repeat the command to assign IP.

Type 'show' to check your configuration.

You will find you IP assigned.

Hands on 3

Running GNS3

Click on GNS3 icon--> type user password.

Now I will run GNS3.

Click on the icon.

A pop up window will open, which prompts for password.

Type your user password.

Hands on 4

Select a switch--> drop it in work space-->

select a cloud--> drop it in work space

/* switch to terminal */

Type command--> ./virtual32.linux
Type command--> show

Right click on cloud-->select configure

-->select c1-->select NIO node

-->copy value of ports from terminal VPCS

and paste on NIO node

Click on add link-->

right click on switch-->select port

-->right click on cloud-->select NIO port.

/* switch to terminal*/

Type Ping 10.102.152.11


Here GNS3 is opened.

You will also find another window opened with it.

It ask to save the project with name.

For this time click on cancel.

At the center you will find the workspace.

Workspace is use to create network topology.

The right side pane give topology summary.

which lists each device and its connection.

The left side pane is node type window.

You can select network devices from node type window, drag and drop it in workspace.

Now I will show you how to create a topology.

For creating topology I am using Switch and VPCS.

Now click on the Switch, drag it and drop at workspace.

Go to the clouds icon, drag it and drop them to workspace.

As you add nodes to workspace, You will find the topology summary adds the name of device.

Now I will connect all nodes using links.

Before it we will configure the ports for VPCS.

We again switch to our terminal.

Type the command ' ./virtual32.linux '

The command run your VPCS.

Now type 'show' . It will display description of ports and IP address of VPCS.

I am switching to GNS3, to configure ports on VPCS clouds.

Right click on cloud go to configure, select c1 and click to NIO-UDP tab.

Now copy Local port and Remote port value from the VPCS terminal.

So I am switching to terminal, select Rport value copy it.

Switch to GNS3 and paste the value in Local port test box.

Now for Remote port value we repeat the process.

Click on add, you will find entry of ports on left side.

Click on ok.

Repeat the process for the second cloud.

To add a link.

Click on 'link button' on the toolbar at the top.

Choose 'manual' from the list open.

Now left click on the switch and select any of the port.

Expand the link and click on VPCS cloud and select the NIO port.

You will find two green bubble with this nodes are connected.

Again click on 'add a link' to make normal cursor.

You can see on the right side 'topology summary window' details of connections.

We can also use some of the useful feature from toolbar.

show host name which display name of nodes.

show interface label which give interface number connected.

To give description about your topology we can 'add a note ' .

To do this click on 'add a note' on the toolbar at the top.

Then click on the workspace.

Type your description.

Now we have completed our topology.

Lets us see the ping command to see the connectivity between simulated topology.

Go to the terminal.

Go to your VPCS PC by typing its number.

In my case it is 1 and 2.

Type ping and Ip of second PC.

In my case it 10.102.152.11

You will find the reply from the second PC.

Now we have successfully connected to PC using switch.

So we have learn a basic concept of networking by creating a simulation of nodes using GNS3

This bring us to end of this tutorial.

Slide Number 8

To summaries we learn,

How to download and install GNS3.

How to add a node on workspace.

Configuring VPCS and its port

Designing a topolgy

Using ping command to check the connectivity.

Slide Number 9-10

The video available at http://spoken-tutorial.org/What_is_a_Spoken_Tutorial


summarizes the Spoken Tutorial project.

If you do not have good bandwidth, you can download and watch it.

We conduct workshops using spoken tutorials.

We also give certificates for those who pass an online test.

Please contact us for more details.

We conduct workshops using spoken tutorials.

We also give certificates for those who pass an online test.

Please contact us for more details.

Slide 11

Spoken Tutorial Project is a part of the Talk to a Teacher project,

supported by the National Mission

on Education through ICT, MHRD, Government of India.

Slide Number 12

This project is co-ordinated by,http://spoken-tutorial.org

More information on the same is available at,

http://spoken-tutorial.org/NMEICT-Intro

Slide Number 13

IIT, Bombay This is Amit signing off.

Contributors and Content Editors

Pravin1389