CMPE-344: COMPUTER NETWORKS Laboratory work Study of TCP, IP and the Internet with the use of animations

mustardpruneNetworking and Communications

Oct 23, 2013 (3 years and 7 months ago)

78 views

CMPE
-
344: COMPUTER NETWORKS


Laboratory work


Study of TCP, IP and the Internet

with the use of animations



INTRODUCTION


The purpose of this laboratory work is to investigate
the Internet protocols TCP and IP and to
understand how these protocols functio
n in the Internet. The lab work consists of a few parts. These parts
are adopted from the book of D.E. Comer “Computer Networks and Internets”, 4
th

edition, and from the
book of J.F. Kurose and K.W. Ross “Computer Networking”, 2
nd

edition. The student shou
ld carefully run
all examples, corresponding to the parts of the lab work, and draw, in his/her notebook, the pictures
presented in those parts


All experiments
in this lab work
will be done in Windows operating system.
The materials for these
experiments

are available

for students from the
following places
:


1.

Animations from the book of D.E. Comer “Computer Networks and Internets”, 4
th

edition, 2004,
ftp://cmpe.emu.edu.tr/cmpe344/animat ions/
.

2.

Apple
ts from the book of J.F. Kurose and K.W. Ross “Computer Networking”, 2
nd

edition, 2003,
http://www.aw.com/kurose
-
ross

--
> Open Resources
--
> Applets.

3.

How things work,
http://cmpe.emu.edu.tr/rahim/cmpe344/
.



EXPERIMENTS


1.

Establishment of a TCP connection
. For this experiment,
the student should start the animation
anim20_1.htm

from the place 1 (see the list of places above). As a result, the student should
draw a
timing diagram of messages sent during the establishment of a TCP connection.


2.

TCP handshaking during the release of the TCP connection
. The student should start the animation
anim20_2.htm

from the place 1. As a result, the student should draw a tim
ing diagram of messages
sent during the release of a TCP connection.


3.

Flow control in TCP
. Use
the
animations
anim20_3.htm, anim20_4.htm, anim20_
5
.htm
. The
student should copy some illustrations into his/her notebook.


4.

Investigation of the IP datagram for
mat
. Use the animation
anim16_2.htm
. Draw the format of an
IP datagram into the notebook.


5.

Constructing IP datagram and transmitting it
. Use the animation
anim17_1.htm
.


6.

Forwardi ng IP datagrams
. Use the animation
anim16_1.htm
.


7.

How Internet infrastructu
re works
. Take this section from place 3 above. Watch the behavior of the
Internet and make your conclusions.




QUESTIONS


1.

What is the purpose of this lab work?

2.

At what layers do the protocols TCP, UDP and IP run
?

3.

What
are

the layers of TCP/IP reference m
odel
?

4.

Which reference model is more general: Basic Reference Model of OSI or TCP/IP reference model
?

5.

What
are the layers of the Basic Reference Model of OSI
?

6.

What is
the main function of the network layer in the TCP/IP reference model
?

7.

What
are the functio
ns of the transport layer in the TCP/IP reference model
?

8.

What is
the difference between the TCP and UDP protocols
?

9.

For the network interprocess communication port numbers are used. Where are these port numbers
transmitted? In the datagram header? In the fr
ame header? In TCP or UDP segment header
?

10.

In the Internet, IP addresses are used for communication? Where are these addresses: in the frame
header? In the datagram header? In TCP or UDP segment header?

11.

Where is the TTL (Time
-
To
-
Live) field? In the frame he
ader? In the datagram header? In the TCP
segment header?

12.

What
is the purpose of the TTL (Time
-
To
-
Live) field
?

13.

They say that the IP protocol makes the best effort to deliver datagrams through the Internet.
What
does this mean
?

14.

Does the IP protocol provide t
he possibility of all packets belonging to the same TCP connection to be
delivered via the same path in the Internet
?

15.

What is the main reason for the loss of packets (datagrams) in the In
t
ernet
.

16.

How many messages are transmitted between a client and a serv
er during the establishment of a TCP
connection?

17.

How many messages are transmitted between a client and a server during the release of the
connection?

18.

What is the purpose of the flow control in TCP?

19.

What method of the flow control is used in TCP?


--------
---------------------------------------------------

© This lab work was prepared by A. Kostin