Download - EC2356 - Network Lab Manual
-
8/10/2019 EC2356 - Network Lab Manual
1/42
Department Of Information Technology
EC2356 - COMPUTER ET!OR"# $%&OR%TOR'
$a( Man)al
EC2356 - COMPUTER ET!OR"# $%&OR%TOR' $ T P C
* * 3 2
1
-
8/10/2019 EC2356 - Network Lab Manual
2/42
1. PC to PC Communication - Parallel Communication using 8 bit
parallel cable
2. Serial communication using RS 232C
3. A) Token bus Topology
) Token ring Topology
!. "mplementation an# stu#y o$ stop an# %ait protocol
&. "mplementation an# stu#y o$ 'oback-( protocols.. "mplementation an# stu#y o$ selecti*e repeat protocols.
+. Star Topology - CS,A C protocol
8. Star Topology - CS,A CA protocol
/. 0ireless - CS,A CA A( protocol
1.Simulation o$ Token us Topology
11.Simulation o$ Token Ring Topology
12.Simulation o$ istance ector Routing Algorit4m
13.Simulation o$ ink State Routing Algorit4m
1!.Trans$er o$ $iles $rom PC to PC using 0in#o%s 5ni6 socket
processing.
1&."mplementation o$ ata encryption an# #ecryption
Pc to Pc Comm)nication
#erial Comm)nication
E+, o .a
%im
To establis4 a link bet%een t%o computers using serial ports an# totrans$er $ile bet%een t4em
2
-
8/10/2019 EC2356 - Network Lab Manual
3/42
E/)ipment0 re/)ire1
#,o ame of the
E/)ipment0
#pecification )antity
Re/)ire1
1ata Communication
Trainer kitCT 7 3 1
2 Serial Port Cable Rs 232 7 / 2
3Computer %it4 P
2 operating system- 2
Proce1)re
1. Connect t4e serial port o$ t%o computers to t4e CT kit using RS
232 cable.2. S%itc4 on t4e CT po%er supply
3. Run t4e CT so$t%are on t4e t%o computers
!. 9nsure t4e port setup in t%o computers are bi#irectional
&. Set on computer in transmitting mo#e an# anot4er computer in
recei*er mo#e using CT so$t%are.
. 5sing t4e CT so$t%are $ile trans$er option trans$er t4e $ile
+. Repeat t4e abo*e step using *arious connecting me#ium suc4 as
optical cable: etc.
8. "ntro#uce some $ault using $ault s%itc4 an# repeat t4e abo*e steps.
3
-
8/10/2019 EC2356 - Network Lab Manual
4/42
#!ITC 4%U$T#
Pc to Pc Comm)nication
Parallel Comm)nication
E+,o .(
!
RS 7 232
TRA(SR
9C9"9
R
RS 7 232
TRA(SR
9C9"9
RSerial
Port
C
;
,
P - ""
5
T
9R
C
;
,
P - "
5
T
9R
Serial
Port
. O44
2 O443 O44
O44
-
8/10/2019 EC2356 - Network Lab Manual
5/42
%im
To establis4 a link bet%een t%o computers using parallel ports an#
to trans$er $ile bet%een t4em
E/)ipment0 re/)ire1
#,o ame of the
E/)ipment0
#pecification )antity
Re/)ire1
1ata Communication
Trainer kitCT 7 3 1
2 Parallel Port Cable RS232 2& 2
3Computer %it4 P
2 operating system- 2
Proce1)re
1. Connect t4e parallel port o$ t%o computers to t4e CT kit using
RS 2322& cable.
2. S%itc4 on t4e CT po%er supply
3. Run t4e CT so$t%are on t4e t%o computers
!. 9nsure t4e port setup in t%o computers are bi#irectional
&. Set on computer in transmitting mo#e an# anot4er computer in
recei*er mo#e using CT so$t%are.
. 5sing t4e CT so$t%are set #i$$erent protocols like 0top an1 ait7
go (ac8 7 0electi9e repeatan# per$orm t4e $ile trans$er
+. "ntro#uce some $ault using $ault s%itc4 an# repeat t4e abo*e steps.
&
-
8/10/2019 EC2356 - Network Lab Manual
6/42
R#232
D&25pino)t
To8en &)0 Topology
ATA
C;,,5("CAT";(
TRA"(9R
-
8/10/2019 EC2356 - Network Lab Manual
7/42
E+,o 2
%im
To create a ocal Area (et%ork using us topology an# to stu#y
t4e c4aracteristics o$ t4e token bus topology
E/)ipment0 Re/)ire1
#,o ame of the
E/)ipment0
#pecification )antity
Re/)ire1
1 A( trainer kit TS 7 1 1
2 Connecting cable R> !& !
3 7 Sim So$t%are - Sim & 5ser
!Computer %it4 P
2 operating system- !
Proce1)re
1. 5sing A( connecting %ire ?R> !& Cable) t4e entire computer
%it4 t4e A( trainer kit.
2. S%itc4 on t4e po%er supply to t4e A( trainer kit.
3. 9nsure all connections are ma#e on 5S topology.
!. Run - Sim so$t%are $irst on t4e ser*er an# t4en on ot4er
computers connecte# %it4 t4is kit.
&. ;ne system acts as t4e ser*er an# ot4er no#es acts as clients.
. T4e ".P a##ress o$ t4e clients %as #isplaye# on t4e ser*er an# t4e
ser*er ".P a##ress are #isplaye# on t4e clients.
+. 5sing t4e $ile trans$er option in 7 Sim so$t%are Client cantrans$er any $ile to t4e ser*er computer.
8. Remo*e one client A( cable $rom t4e trainer an# repeat t4e
abo*e set.
/. ;bser*e t4e be4a*iors o$ t4e net%ork.
+
-
8/10/2019 EC2356 - Network Lab Manual
8/42
&)0 Topology
ote
1) Set t4e token timing abo*e ! sec.
2) Select appropriate packet si@e base# on t4e $ile si@e.
8
C;
,
,
;
(
S
A
R9
,
9
"
5
,
Computer
Terminal - "
Computer
Terminal - ""
Computer
Terminal -"""
Computer
Terminal- "
-
8/10/2019 EC2356 - Network Lab Manual
9/42
Protocol %naly:er
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Protocol Topology "nterpacket
#elay
ata
rate
(o o$
packet
resen#
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Packet
lengt4
Total
packet
Protocol Topology ata
rate
(o o$
packet
resen#
etor8 %naly:er
To8en Ring Topology
E+p o 3
/
-
8/10/2019 EC2356 - Network Lab Manual
10/42
%im
To create a ocal Area (et%ork using Ring topology an# to stu#y
t4e c4aracteristics o$ t4e token ring protocol
E/)ipment0 Re/)ire1
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1 A( trainer kit TS 7 1 1
2 Connecting cable R> !& !
3 7 Sim So$t%are - Sim & 5ser
! Computer %it4 P 2 operating system
- !
Proce1)re
1. 5sing A( connecting %ire ?R> !& Cable) t4e entire computer
%it4 t4e A( trainer kit.
2. S%itc4 on t4e po%er supply to t4e A( trainer kit.
3. 9nsure all connections are ma#e on Ring topology.
!. Run - Sim so$t%are $irst on t4e ser*er an# t4en on ot4ercomputers connecte# %it4 t4is kit.
&. ;ne system acts as t4e ser*er an# ot4er no#es acts as clients.
. T4e ".P a##ress o$ t4e clients %as #isplaye# on t4e ser*er an# t4e
ser*er ".P a##ress are #isplaye# on t4e clients.
+. 5sing t4e $ile trans$er option in 7 Sim so$t%are Ser*erClient
can trans$er any $ile to ClientSer*er computer.
8. Remo*e one client A( cable $rom t4e trainer an# repeat t4e
abo*e set.
/. ;bser*e t4e be4a*iors o$ t4e net%ork.
1
-
8/10/2019 EC2356 - Network Lab Manual
11/42
ote
1) Set t4e token timing abo*e ! sec.
2) Select appropriate packet si@e base# on t4e $ile si@e.
3) T4e computers are not p4ysically arrange# in circle.
11
ogical Ring
Computer
Terminal - 1
Computer
Terminal - 3
ComputerTerminal - !
Computer
Terminal - 2
-
8/10/2019 EC2356 - Network Lab Manual
12/42
Protocol %naly:er
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Protocol Topology "nterpacket
#elay
ata
rate
(o o$
packet
resen#
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Packet
lengt4
Total
packet
Protocol Topology ata
rate
(o o$
packet
resen#
etor8 %naly:er
#tar Topology
#top an1 ait protocol
E+,o
%im
12
-
8/10/2019 EC2356 - Network Lab Manual
13/42
To create a ocal Area (et%ork using Star topology an# to stu#y
t4e c4aracteristics o$ t4e stop an# %ait protocol
E/)ipment0 Re/)ire1
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1 A( trainer kit TS 7 1 1
2 Connecting cable R> !& !
3 7 Sim So$t%are - Sim 5ser
!Computer %it4 P
2 operating system- !
Proce1)re
1. 5sing A( connecting %ire ?R> !& Cable) t4e entire computer
%it4 t4e A( trainer kit.
2. S%itc4 on t4e po%er supply to t4e A( trainer kit.
3. 9nsure all connections are ma#e on star topology.
!. Run - Sim so$t%are $irst on t4e ser*er an# t4en on ot4er
computers connecte# %it4 t4is kit.
&. ;ne system acts as t4e ser*er an# ot4er no#es acts as clients.. T4e ".P a##ress o$ t4e clients %as #isplaye# on t4e ser*er an# t4e
ser*er ".P a##ress are #isplaye# on t4e clients.
+. Set t4e protocol to stop an# 0ait in - Sim so$t%are.5sing t4e $ile
trans$er option in 7 Sim so$t%are Ser*erClient can trans$er any
$ile to ClientSer*er computer.
8. Remo*e one client A( cable $rom t4e trainer an# repeat t4e
abo*e set.
/. ;bser*e t4e be4a*iors o$ t4e net%ork.
13
-
8/10/2019 EC2356 - Network Lab Manual
14/42
(oteD
1) Select appropriate packet si@e base# on t4e $ile si@e.
1!
Computer
Terminal - "
Computer
Terminal -"""
Computer
Terminal -"
Computer
Terminal - "
C
9
(
T
R
A
5
Computer
Terminal - "" ComputerTerminal -
-
8/10/2019 EC2356 - Network Lab Manual
15/42
Protocol %naly:er
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Protocol Topology "nterpacket
#elay
ata
rate
(o o$
packet
resen#
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Packet
lengt4
Total
packet
Protocol Topology ata
rate
(o o$
packet
resen#
etor8 %naly:er
#tar Topology
;o (ac8 protocol
E+,o 5
%im
1&
-
8/10/2019 EC2356 - Network Lab Manual
16/42
To create a ocal Area (et%ork using Star topology an# to stu#y
t4e c4aracteristics o$ t4e go back ( protocol
E/)ipment0 Re/)ire1
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1 A( trainer kit TS 7 1 1
2 Connecting cable R> !&
3 7 Sim So$t%are - Sim 5ser
!Computer %it4 P
2 operating system- !
Proce1)re
1. 5sing A( connecting %ire ?R> !& Cable) t4e entire computer
%it4 t4e A( trainer kit.
2. S%itc4 on t4e po%er supply to t4e A( trainer kit.
3. 9nsure all connections are ma#e on star topology.
!. Run - Sim so$t%are $irst on t4e ser*er an# t4en on ot4er
computers connecte# %it4 t4is kit.&. ;ne system acts as t4e ser*er an# ot4er no#es acts as clients.
. T4e ".P a##ress o$ t4e clients %as #isplaye# on t4e ser*er an# t4e
ser*er ".P a##ress are #isplaye# on t4e clients.
+. Set t4e protocol to 'o back ( in - Sim so$t%are. 5sing t4e $ile
trans$er option in 7 Sim so$t%are Ser*erClient can trans$er any
$ile to ClientSer*er computer .
8. Remo*e one client A( cable $rom t4e trainer an# repeat t4e
abo*e set.
/. ;bser*e t4e be4a*iors o$ t4e net%ork.
1
-
8/10/2019 EC2356 - Network Lab Manual
17/42
OTED select t4e packet si@e base# on t4e $ile si@e
1+
Computer
Terminal - "
Computer
Terminal -"""
Computer
Terminal -"
Computer
Terminal - "
C
9
(
T
RA
5
ComputerTerminal - "" Computer
Terminal -
-
8/10/2019 EC2356 - Network Lab Manual
18/42
Protocol %naly:er
S.(o =ilename
=ilesi@e
".P o$Recei*e
r
Protocol Topology "nterpacket#elay
atarate
(o o$packet
resen#
S.(o =ilename
=ilesi@e
".P o$Recei*e
r
Packetlengt4
Totalpacket
Protocol Topology atarate
(o o$packet
resen#
etor8 %naly:er
#tar Topology
#electi9e Repeat protocol
E+,o 6
18
-
8/10/2019 EC2356 - Network Lab Manual
19/42
%im
To create a ocal Area (et%ork using Star topology an# to stu#y
t4e c4aracteristics o$ t4e selecti*e repeat protocol
E/)ipment0 Re/)ire1
S.(o (ame o$ t4e9Buipments Speci$ication uantityReBuire#
1 A( trainer kit TS 7 1 1
2 Connecting cable R> !&
3 7 Sim So$t%are - Sim 5ser
!
Computer %it4 P
2 operating system - !
Proce1)re
1. 5sing A( connecting %ire ?R> !& Cable) t4e entire computer
%it4 t4e A( trainer kit.
2. S%itc4 on t4e po%er supply to t4e A( trainer kit.
3. 9nsure all connections are ma#e on star topology.
!. Run - Sim so$t%are $irst on t4e ser*er an# t4en on ot4er
computers connecte# %it4 t4is kit.&. ;ne system acts as t4e ser*er an# ot4er no#es acts as clients.
. T4e ".P a##ress o$ t4e clients %as #isplaye# on t4e ser*er an# t4e
ser*er ".P a##ress are #isplaye# on t4e clients.
+. Set t4e protocol to selecti*e repeat in - Sim so$t%are. 5sing t4e
$ile trans$er option in 7 Sim so$t%are Ser*erClient can trans$er
any $ile to ClientSer*er computer .
8. Remo*e one client A( cable $rom t4e trainer an# repeat t4e
abo*e set.
/. ;bser*e t4e be4a*iors o$ t4e net%ork.
1/
-
8/10/2019 EC2356 - Network Lab Manual
20/42
ote Select appropriate packet si@e base# on t4e $ile si@e.
2
Computer
Terminal - "
Computer
Terminal -"""
Computer
Terminal -"
Computer
Terminal - "
C
9
(
T
R
A
5
Computer
Terminal - "" Computer
Terminal -
-
8/10/2019 EC2356 - Network Lab Manual
21/42
Protocol %naly:er
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Protocol Topology "nterpacket
#elay
ata
rate
(o o$
packet
resen#
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Packet
lengt4
Total
packet
Protocol Topology ata
rate
(o o$
packet
resen#
etor8 %naly:er
#tar Topology
C#M% < CD protocol
E+,o=
%im
To create a ocal Area (et%ork using Star topology an# to stu#y
t4e c4aracteristics o$ t4e CS,A C protocol
E/)ipment0 Re/)ire1
21
-
8/10/2019 EC2356 - Network Lab Manual
22/42
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1 A( trainer kit TS 7 1 1
2 Connecting cable R> !&
3 7 Sim So$t%are - Sim 5ser
!Computer %it4 P
2 operating system- !
Proce1)re
1. 5sing A( connecting %ire ?R> !& Cable) t4e entire computer
%it4 t4e A( trainer kit.2. S%itc4 on t4e po%er supply to t4e A( trainer kit.
3. 9nsure all connections are ma#e on star topology.
!. Run - Sim so$t%are $irst on t4e ser*er an# t4en on ot4er
computers connecte# %it4 t4is kit.
&. ;ne system acts as t4e ser*er an# ot4er no#es acts as clients.
. T4e ".P a##ress o$ t4e clients %as #isplaye# on t4e ser*er an# t4e
ser*er ".P a##ress are #isplaye# on t4e clients.
+. Set t4e protocol to CS,A C in - Sim so$t%are. 5sing t4e $ile
trans$er option in 7 Sim so$t%are Ser*erClient can trans$er any$ile to ClientSer*er computer .
8. Collision occurs when more than one client transmit the files.
/. Remo*e one client A( cable $rom t4e trainer an# repeat t4e
abo*e set.
1.;bser*e t4e be4a*iors o$ t4e net%ork.
22
-
8/10/2019 EC2356 - Network Lab Manual
23/42
ote Select appropriate packet si@e base# on t4e $ile si@e.
23
Computer
Terminal - "
Computer
Terminal -"""
Computer
Terminal -"
Computer
Terminal - "
C
9
(
T
R
A
5
Computer
Terminal - "" Computer
Terminal -
-
8/10/2019 EC2356 - Network Lab Manual
24/42
Protocol %naly:er
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Protocol Topology "nterpacket
#elay
ata
rate
(o o$
packet
resen#
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Packet
lengt4
Total
packet
Protocol Topology ata
rate
(o o$
packet
resen#
etor8 %naly:er
#tar Topology
C#M% < C% protocol
E+,o >
%im
To create a ocal Area (et%ork using Star topology an# to stu#y
t4e c4aracteristics o$ t4e CS,A CA protocol
E/)ipment0 Re/)ire1
2!
-
8/10/2019 EC2356 - Network Lab Manual
25/42
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1 A( trainer kit TS 7 1 1
2 Connecting cable R> !&
3 7 Sim So$t%are - Sim 5ser
!Computer %it4 P
2 operating system- !
Proce1)re
1. 5sing A( connecting %ire ?R> !& Cable) t4e entire computer
%it4 t4e A( trainer kit.2. S%itc4 on t4e po%er supply to t4e A( trainer kit.
3. 9nsure all connections are ma#e on star topology.
!. Run - Sim so$t%are $irst on t4e ser*er an# t4en on ot4er
computers connecte# %it4 t4is kit.
&. ;ne system acts as t4e ser*er an# ot4er no#es acts as clients.
. T4e ".P a##ress o$ t4e clients %as #isplaye# on t4e ser*er an# t4e
ser*er ".P a##ress are #isplaye# on t4e clients.
+. Set t4e protocol to CS,A CA in - Sim so$t%are. 5sing t4e $ile
trans$er option in 7 Sim so$t%are one system can trans$er $ile toany one computer . ,ore t4an one system can not trans$er t4e $ile.
So collision can be a*oi#e# using CS,ACA protocol.
8. Remo*e one client A( cable $rom t4e trainer an# repeat t4e
abo*e set.
/. ;bser*e t4e be4a*iors o$ t4e net%ork.
2&
-
8/10/2019 EC2356 - Network Lab Manual
26/42
ote Select appropriate packet si@e base# on t4e $ile si@e.
2
Computer
Terminal - "
Computer
Terminal -"""
Computer
Terminal -"
Computer
Terminal - "
C
9
(
T
R
A
5
Computer
Terminal - "" ComputerTerminal -
-
8/10/2019 EC2356 - Network Lab Manual
27/42
Protocol %naly:er
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Protocol Topology "nterpacket
#elay
ata
rate
(o o$
packet
resen#
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Packet
lengt4
Total
packet
Protocol Topology ata
rate
(o o$
packet
resen#
etor8 %naly:er
!IRE$E## $%
C#M% < C% protocol
E+,o ?
%im
2+
-
8/10/2019 EC2356 - Network Lab Manual
28/42
To create a %ireless ocal Area (et%ork using Star topology an#
to stu#y t4e c4aracteristics o$ t4e CS,A CA protocol.
E/)ipment0 Re/)ire1
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1 0A( access point TS 7 1 1
2 0A( recei*er point R> !& !
3 7 Sim So$t%are - Sim ! 5ser
!Computer %it4 P
2 operating system- !
Proce1)re
1. Connect t4e 0A( access point in one computer. T4e access point
transmit recei*e #ata to or $rom all computers.
2. S%itc4 on t4e po%er supply to t4e 0A( access point.
3. Connect all t4e 0A( recei*er point to all t4e net%orke#
computers t4roug4 5S port.
!. Run - Sim so$t%are $irst on t4e ser*er an# t4en on ot4er
computers connecte# %it4 t4is net%ork.
&. ;ne system acts as t4e ser*er an# ot4er no#es acts as clients.. T4e ".P a##ress o$ t4e clients %as #isplaye# on t4e ser*er an# t4e
ser*er ".P a##ress are #isplaye# on t4e clients.
+. Set t4e protocol to CS,A CA in - Sim so$t%are. 5sing t4e $ile
trans$er option in 7 Sim so$t%are one system can trans$er $ile to
any one computer . ,ore t4an one system can not trans$er t4e $ile.
So collision can be a*oi#e# using CS,ACA protocol.
8. Remo*e one client A( cable $rom t4e trainer an# repeat t4e
abo*e set.
/. ;bser*e t4e be4a*iors o$ t4e net%ork.
28
-
8/10/2019 EC2356 - Network Lab Manual
29/42
ote Select appropriate packet si@e base# on t4e $ile si@e.
2/
Computer
Terminal - "
Computer
Terminal -"""
ComputerTerminal -""
Computer
Terminal -"
0A(
access point
-
8/10/2019 EC2356 - Network Lab Manual
30/42
Protocol %naly:er
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Protocol Topology "nterpacket
#elay
ata
rate
(o o$
packet
resen#
S.(o =ile
name
=ile
si@e
".P o$
Recei*e
r
Packet
lengt4
Total
packet
Protocol Topology ata
rate
(o o$
packet
resen#
etor8 %naly:er
#im)lation of To8en &)0 Topology
3
-
8/10/2019 EC2356 - Network Lab Manual
31/42
E+,o .*
%im
To create a subnet $or us topology an# to stu#y t4e c4aracteristics
o$ t4e Token us topology
E/)ipment0 Re/)ire1
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1Computer %it4 P
2 operating system- 1
2 ( 7 Sim So$t%are (- Sim 1 5ser
Proce1)re
1. Create a subnet $or bus topology using subnet in ( - Sim so$t%are.
2. Select t4e topology as us set t4e cable type as 1 ase T an# sa*e
t4e subnet in a name.
3. 5sing connection options a## t4e reBuire# number o$ computer an#
net%ork component.!. Sa*e t4e create# net%ork an# open t4e net%ork un#er 9t4ernet
$ast 9t4ernet Simulation menu.
&. 5sing t4e $ile trans$er option trans$er any $ile to any client
computers.
. ;pen t4e same net%ork un#er TCP Simulation menu.
+. ;bser*e t4e be4a*iors o$ t4e net%ork.
31
-
8/10/2019 EC2356 - Network Lab Manual
32/42
us Topology
#im)lation of To8en Ring Topology
32
C;
,
,
;
(
S
A
R9
,
9
"
5
,
Computer
Terminal - "
Computer
Terminal - ""
Computer
Terminal- """
Computer
Terminal -"
S%itc4
ub
-
8/10/2019 EC2356 - Network Lab Manual
33/42
E+,o..
%im
To create a subnet $or Ring topology an# to stu#y t4e
c4aracteristics o$ t4e Token Ring topology
E/)ipment0 Re/)ire1
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1Computer %it4 P
2 operating system- 1
2 ( 7 Sim So$t%are (- Sim 1 5ser
Proce1)re
1. Create a subnet $or ring topology using subnet in ( - Sim so$t%are.
2. Select t4e topology as R"(' set t4e cable type as 1 ase T an#
sa*e t4e subnet in a name.
3. 5sing connection options a## t4e reBuire# number o$ computer an#
net%ork component.
!. Sa*e t4e create# net%ork an# open t4e net%ork un#er 9t4ernet
$ast 9t4ernet Simulation menu.
&. 5sing t4e $ile trans$er option trans$er any $ile to any client
computers.
. ;pen t4e same net%ork un#er TCP Simulation menu.
+. ;bser*e t4e be4a*iors o$ t4e net%ork.
33
-
8/10/2019 EC2356 - Network Lab Manual
34/42
Ring Topology
#im)lation of Di0tance @ector Ro)ting %lgorithm
E+,o.2
3!
ogical Ring
Computer
Terminal -""
Computer
Terminal -"""
Computer
Terminal -"
Computer
Terminal - 1
-
8/10/2019 EC2356 - Network Lab Manual
35/42
%im
To simulate #istance *ector routing algorit4m an# to $in# t4e
s4ortest pat4 bet%een any t%o routers using (-Sim So$t%are.
E/)ipment0 Re/)ire1
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1Computer %it4 P
2 operating system- 1
2 ( 7 Sim So$t%are (- Sim 1 5ser
Proce1)re
1. Run (-sim so$t%are an# select istance ector routing algorit4m
5sing algorit4m menu
2. A## routers by selecting A## Routers tab ? ,a6 o$ 8 routers ).
3. Speci$y t4e pat4 %eig4ts bet%een t4e routers an# select A## link.
!. Select t4e source E #estination routers using source-#estination tab
&. Select simulate tab to i#enti$y t4e s4ortest pat4 bet%een t4e source
E #estination routers
. Clear t4e links an# Repeat t4e steps ! : & E $or #i$$erent pat4 an#source E #estination routers
+. Select t4e SummaryResult tab an# note #o%n t4e tabulation.
8. (ote #o%n t4e Time comple6ity E message comple6ity o$ t4e
net%ork $orme# using t4e Time comple6ity E message comple6ity
tabs.
ET!OR"
3&
-
8/10/2019 EC2356 - Network Lab Manual
36/42
T%&U$%TIO
S
.
(
; A
lgorit4m
(o.o$
Routers
(o.o
$1inks
Source
Router
estinationrouter
S4ortest
Pat4 Pa
t4%eig4t
Time
comple6ity
,essage
comple6ity
1
2
4ORMU$% 4OR ME##%;E %D TIME COMP$EAIT'
et ( be number o$ routers: 9 be t4e number o$ e#ges ?inks) bet%een
routers: , be t4e ,essage Comple6ity an# T be t4e Time Comple6ity
istance ector Routing Algorit4mD
,essage Comple6ity , F
Time Comple6ityD T F (
#im)lation of $in8 #tate Ro)ting %lgorithm
E+,o.3
3
-
8/10/2019 EC2356 - Network Lab Manual
37/42
%IM
To $in# t4e s4ortest pat4 bet%een t4e routers using link state
routing algorit4m in (-Sim so$t%are.
EUIPMET# REUIRED
S.(o (ame o$ t4e
9Buipments
Speci$ication uantity
ReBuire#
1Computer %it4 P
2 operating system- 1
2 ( 7 Sim So$t%are (- Sim 1 5ser
PROCEDURE
1. Run (-sim so$t%are an# select link state routing algorit4m 5sing
algorit4m menu.
2. A## routers by selecting A## Routers tab ? ,a6 o$ 8 routers ).
3. Speci$y t4e pat4 %eig4ts bet%een t4e routers an# select A## link.
!. Select t4e source E #estination routers using source-#estination
tab
&. Select simulate tab to i#enti$y t4e s4ortest pat4 bet%een t4e source
E #estination routers.
. Clear t4e links an# Repeat t4e steps ! : & E $or #i$$erent pat4
%eig4ts an# source E #estination routers.+. Select t4e SummaryResult tab an# note #o%n t4e tabulation.
8. (ote #o%n t4e Time comple6ity E message comple6ity o$ t4e
net%ork $orme# using t4e Time comple6ity E message
comple6ity tabs.ET!OR"
T%&U$%TIO
3+
-
8/10/2019 EC2356 - Network Lab Manual
38/42
S
.
(
; Algorit4m
(o.o$Routers
(o.o$1inks
Source
Router
estinationrouter
S4ortest
Pat4
Pat4%eig4t
Time
comple6ity
,essage
comple6ity
1
2
4ORMU$% 4OR ME##%;E %D TIME COMP$EAIT'
et ( be number o$ routers: 9 be t4e number o$ e#ges ?inks) bet%een
routers: , be t4e ,essage Comple6ity an# T be t4e Time Comple6ity
ink State Routing Algorit4mD
,essage Comple6ity , F (G9
Time Comple6ity T F (Glog?()
#oc8et Programming
E+,o.
%IM
To trans$er a $ile bet%een t%o computers using socket
programming in %in#o%s 5ni6 operating system.
EUIPMET# REUIRED
S.no (ame o$ t4e eBuipment Speci$ication uantity
ReBuire#
1. -Sim TCP client:
ser*er program
-Sim 1
2 A( trainer kit TS 1 1
38
-
8/10/2019 EC2356 - Network Lab Manual
39/42
3 Connecting %ire R>-!& 2
! Computer %it4 P
2 operating system
- 2
PROCEDURE
1. 5sing R> !& cable connects t%o computers to A( trainer kit.
2. Run client TCP program an# ser*er TCP program in t%o PCs
3. 9nter t4e port a##ress in bot4 t4e computer an# using create socket
tab create t4e socket
!. 5sing t4e listen tab make t4e ser*er to listen $or client reBuest.
&. 9nter t4e ".P a##ress o$ t4e ser*er in t4e client an# using t4e
connection tab make a reBuest to t4e ser*er $or connection
. ;nce t4e connection %as establis4e#: using sen# $ile sen#
message option trans$er t4e $ile message bet%een client an#
ser*er
+. 5sing 9t4ernet A( :user can trans$er t4e $ilemessage bet%een
t4e computers. i.e.:0it4out A( Trainer
-
8/10/2019 EC2356 - Network Lab Manual
40/42
Encryption an1 Decryption
E+,o.5
%IM
To 9ncrypt an# ecrypt a plain te6t using symmetrical secret key
met4o#
EUIPMET# REUIRED
S.(o (ame o$ t4e eBuipment Speci$ication uantity
ReBuire#
1. -Sim cryptograp4y
so$t%are
-Sim 1 5ser
2 A( trainer kit TS 1 1
!
-
8/10/2019 EC2356 - Network Lab Manual
41/42
3 Connecting %ire R>-!& 2
! Computer %it4 P
2 operating system
- 2
PROCEDURE
1. Run (-sim cryptograp4y so$t%are.
2. ro%se t4e $ile to be 9ncrypte#.
3. 9nter t4e Secret
-
8/10/2019 EC2356 - Network Lab Manual
42/42
Cipher Te+t %fter Encryption
Plain Te+t %fter Decryption