Tutorial 6 Qns
Tutorial 6 Qns
School of Computing
1. [Modified from KR, Chapter 4, P21] Consider the network setup in the following figure.
Suppose that the ISP assigns the router the address 24.34.112.235 and that the network
address (i.e. network prefix) of this home network is 192.168.1/24.
24.34.112.235
Page 1 of 3
2. [Modified from KR, Chapter 4, P19] Consider sending a 1500-byte IP datagram into a link
that has an MTU of 500 bytes. Suppose the original datagram is stamped with the
identification number 422. Also assume that IP header is 20 bytes long.
a) How many fragments will be generated?
b) What is the length of each fragment (including IP header)?
c) What are the values of identification number, offset and flag in each fragment?
3. [CS2105 Final Exam, April 2006] The following diagram shows a simple network topology
with 4 nodes. The links in the diagram are labeled with the cost of each link. The nodes
run distance vector routing protocol. The protocol has terminated, and each node knows
the cost of the minimum cost path to every other node.
20
w z
7 6
3 2
3
x y
The following table shows an incomplete distance vector table at node x. Fill in the
missing distance vectors.
cost to w cost to x cost to y cost to z
from x 0
from y 0
from z 0
4. Wireshark: IP
Do the following:
1. Start up Wireshark and begin packet capture.
2. Start up the Terminal and execute the following command:
ping www.google.com (Windows)
OR
Ping www.google.com -c 4 (Linux/mac)
Page 2 of 3
3. Stop Wireshark packet capture.
4. Type in “icmp” into the display filter specification window, then select Apply.
Page 3 of 3