0% found this document useful (0 votes)
7 views

computer networks lab manual

The document is a lab record for the Computer Networks course in the Department of Electronics and Communication Engineering, detailing various experiments using the GNS3 simulator. It includes step-by-step procedures for setting up virtual networks with different configurations, such as connecting PCs and routers, as well as implementing static routing and DHCP on Cisco routers. Each experiment outlines the necessary apparatus, procedures, and expected results for successful network simulation.

Uploaded by

Rajesh P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

computer networks lab manual

The document is a lab record for the Computer Networks course in the Department of Electronics and Communication Engineering, detailing various experiments using the GNS3 simulator. It includes step-by-step procedures for setting up virtual networks with different configurations, such as connecting PCs and routers, as well as implementing static routing and DHCP on Cisco routers. Each experiment outlines the necessary apparatus, procedures, and expected results for successful network simulation.

Uploaded by

Rajesh P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

DEPARTMENT OF

ELECTRONICS AND COMMUNICATION


ENGINEERING

COMPUTER NETWORK’S
LAB RECORD
INDEX

S.No Name of the Experiment Page. Date of Date of Signature Remarks


No Experiment Submission
=================================================================================================

Experiment 1:

Installation of GNS3: Graphical Network Simulator


GNS3 is a Graphical Network Simulator that allows emulation of complex networks. These programs allow you
to run operating systems such as Windows XP Professional or Ubuntu Linux in a virtual environment on your
computer. GNS3 allows the same type of emulation using Cisco Internetwork Operating Systems. It allows you
to run a Cisco IOS in a virtual environment on your computer. GNS3 is a graphical front end to a product called
Dynagen. Dynamips is the core program that allows IOS emulation. Dynagen runs on top of Dynamips to
create a more user friendly, text-based environment. A user may create network topologies using simple
Windows ini-type files with Dynagen running on top of Dynamips. GNS3 takes this a step further by providing a
graphical environment.

GNS3 allows the emulation of Cisco IOSs on your Windows or Linux based computer. Emulation is possible for
a long list of router platforms and PIX firewalls. Using an EtherSwitch card in a router, switching platforms may
also be emulated to the degree of the card’s supported functionality. This means that GNS3 is an invaluable
tool for preparing for Cisco certifications such as CCNA and CCNP.

I’d like to list a variety of Web sites that you will find useful:

http://www.gns3.com GNS3’s primary Web site


http://wiki.gns3.com GNS3’s Wiki site
http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator Dynamips – the actual emulator
http://www.ipflow.utc.fr/blog/ Dynamips blog
http://dyna-gen.sourceforge.net/ Dynagen
http://www.ipflow.utc.fr/bts/ Dynamips/Dynagen bug tracking
http://7200emu.hacki. at Hacki’s forum.

The most useful sites will be www.gns3.net and http://7200emu.hacki.at.


GNS3 Quick Start Guide for Windows Users
This section will take you through the steps to get started with GNS3 in a Windows environment. All of the
critical and most important things to know will be covered, but for an in-depth discussion, see later sections of
this document. If you use Linux, there is a GNS3 Quick Start Guide for Linux Users in the next section.

Step 1: Download GNS3.


Use your Web browser to access http://www.gns3.com.
Click on the green Download button.
The easiest way to install GNS3 in a Windows environment is to use
the top file:

GNS3-2.2.17-all-in-one-regular.exe
.

STEP-1
Click on save button and then choose a location on your hard
drive ta save the file

Your download will begin. The file is a little under 90 MB in size


and will take less than 10 minutes to download on a DSL or
cable connection. Dail-up connection will take somewhat
longer.

STEP-2
Find the file you downloaded and double-
click on it to begin installing GNS3.
The GNS3 setup wizard will begin. Click the
next button.

Click the I Agree button to continue.

Here select the unchecked one winpcap and keep


remaining checked no change. Then click next.

Installation starts.
Click on next and the proceed to next step.

Npcap is now successfully installed.


Here click Next to complete the GNS3 installation.

here in this step select no option and then click next


for final installation to complete.

The installation of GNS3 has successfully installed on


your system.
After GNS3 window is opened automatically it detects the internet and connects to the GNS3 Server.
After connection establishment successfully then aal the icon will be appeared on the screen.

How to add Cisco files to GNS3 Project:


Step 1:
Go to edit and select preferences or by
shortcut key ctrl+shift+P

Here select IOS routers. Click on new.


Here select the IOS bin file to add to the GNS3
Project.

here in this step no changes will be made,


by default it will come and then click on
next.
in this step RAM allocation is required. We
can make a changed that we can increase
or decrease the RAM to that particular
Router.
But here we will make as default and then
click next.

Here in this step we are selecting


ethernet connection i.e slot ‘s
provicing . then click next after
selection how many Ethernet
connections we required to our
project.

Here in this step it is very important, click on


idle pc finder, this checks that the IOS image
file is suitable to our system or not.
like this it shows suitable for IOS image.
Click on ok then apply ,ok. Finally it is added to
the GNS3 project.

Finally the installation of GNS3 and adding of Cisco IOS Router’s are successfully completed.
Now we can start doing projects.
Experiment No :2

TWO PCs connected with single Ethernet switch.

Aim: To design a virtual network using two PC’s and one Ethernet switch by using GNS3 software

Apparatus required:

1. Windows 7 and above


2. PC with 4GB RAM minimum
3. GNS3 simulator tool

Network designed Diagram:

Procedure:

1. Open GNS3 software.

2. Select Two virtual PC’s and one Ethernet switch.

3. Connect two PC’s and switch by using Ethernet cable

4. Configuration of PC 1:

Open console of PC 1
5. Configuration of PC 2:

Output :
Communicating from PC 1 to PC 2 and PC 2 to PC 1.

Result:
Experiment No : 3

TWO Routers Configurations

Aim: To design a virtual network using two Routers by using GNS3 software.

Apparatus required:

1. Windows 7 and above


2. PC with 4GB RAM minimum
3. GNS3 simulator tool

Network designed Diagram:

Procedure:

1. Open GNS3 software.

2. Select Two virtual routers.

3. Connect two routers by using Ethernet cable

4. Configuration of R1:
5. Configuration of R2:

Output:

Communicating from R1 to R2 and R2 to R1.

Result:
Experiment No: 4

Two PC’s connected with single router

Aim: To design a virtual network using two PC’s and one Router by using GNS3 software

Apparatus required:

1. Windows 7 and above


2. PC with 4GB RAM minimum
3. GNS3 simulator tool

Network designed Diagram:

Procedure:

1. Open GNS3 software.

2. Select two virtual routers.

3. Connect two routers by using Ethernet cable

4. Configuration of R1:

Open console of R1
Configuration of PC 1:

Open console of PC 1

Configuration of PC 2:

Open console of PC 2

Output:
Communicating from PC 1 to PC 2 and PC 2 to PC 1.

Result:
Experiment No: 5

TWO PCs connected with two Ethernet switches with two Routers

Aim: To design a virtual network using Two PC’s, Two Router and with two switches by using GNS3 software.

Apparatus required:

1. Windows 7 and above


2. PC with 4GB RAM minimum
3. GNS3 simulator tool

Network designed Diagram:

Procedure:

1. Open GNS3 software.

2. Select Two virtual routers.

3. Connect two routers by using Ethernet cable

4. Configuration of R1:

Open console of R1
Configuration of R2:

Open console of R1

Configuration of PC 1:

Open console of PC 1

Configuration of PC 2:

Open console of PC 2

Output:
Experiment No: 6

Star Topology

Aim: To design a virtual Star Topology network using 5 PC’s, one Router by using GNS3 software.

Software required:

1. PC with 4GB RAM


2. GNS3 simulator tool

Network designed Diagram:

Procedure:

1. Open GNS3 software.

2. Select virtual router.

3. Select virtual PC.

4. Connections can be made with the help of Ethernet cable

4. Configuration of R1:

Open console of R1
Configuration of PC 1:

Open console of PC 1

Configuration of PC 2:

Open console of PC 2

Configuration of PC 3:

Open console of PC 3

Configuration of PC 4:

Open console of PC 4
Configuration of PC 5:

Open console of PC 5

Result:
Experiment No: 7

Mesh Topology.

Aim: To design a virtual Mesh Topology network using four Routers by using GNS3 software.

Apparatus required:

1. Windows 7 and above


2. PC with 4GB RAM minimum
3. GNS3 simulator tool

Network designed Diagram:

Procedure:

1. Open GNS3 software.

2. Select virtual router.

3. Connections can be made with the help of Ethernet cable

4. Configuration of R1:

Open console of R1
5. Configuration of R2:

Open console of R2

6. Configuration of R3:

Open console of R3
7. Configuration of R4:

Open console of R4

Result:
Experiment No: 8

Static routing using GNS3.

Aim: To design a virtual Static routing by using GNS3 software.

Apparatus required:

1. Windows 7 and above


2. PC with 4GB RAM minimum
3. GNS3 simulator tool

Network designed Diagram:

Procedure:

1. Open GNS3 software.

2. Select virtual routers.

3. Select Virtual PC’s

4. Connections can be made with the help of Ethernet cable

5. Configuration of R1:

Open console of R1
6. Configuration of R2:

Open console of R2

7. Configuration of PC1:

Open console of PC1

8. Configuration of PC2:

Open console of PC2

Result:
Experiment No: 9

Configuration of DHCP on CISCO router using GNS3.

Aim: To design and configure a virtual DHCP on CISCO router using GNS3 software.

Apparatus required:

1. Windows 7 and above


2. PC with 4GB RAM minimum
3. GNS3 simulator tool

Network designed Diagram:

Procedure:

1. Open GNS3 software.

2. Select virtual routers.

3. Select virtual switch.

4. Connections can be made with the help of Ethernet cable.

5. Configuration of R1 (PC1):

Open console of R1 (PC1)


6. Configuration of R2 (PC2):

Open console of R2 (PC2)

7. Configuration of R3 (PC3):

Open console of R3 (PC3)

8. Configuration of R4 (Server):

Open console of R4 (server)

Result:

You might also like