COM3032 Computer Networks Final Exam 02 June 2023
Name & Surname:
Student ID:
1. Assume a data packet of size 2 Mb is to be send from Host A to Host B in the network shown below
(Fig.1) and the processing times for routers R1 and R2 are 20 and 30 ms. respectively. For the given link
transmission rate values, calculate the total time needed to send the packet and show the calculation
details for each hop/step. Propagation and queuing delays are negligible. (18 pts)
Fig.1
2Mb / 4Mb = 0.5s + 20 ms = 520ms
2/8 + 30 ms = 280ms
2/2 + 30 ms = 1030ms
1830 ms in total
2. Content of an HTTP request is shown as below:
GET /COM3032/midterm_exam.html HTTP/1.1
Host: [Link]
User-Agent: Mozilla/5.0
Accept-Language: en-us, en, tr
Connection: Close
2.a) What is the URL of the object requested by the browser? (5 pts)
[Link]
2.b) What version of HTTP is the browser running? (2 pts)
HTTP/1.1
2.c) What is the IP address of the host on which the browser is running? (5 pts)
Pinging [Link]: [Link]
-1-
Whois query:
[Link] [Link]
[Link] [Link]
so basically IP address is 80.251.40.x and subnet mask is [Link]
3. Consider two hosts, A and B, connected by a single link of rate R bps. Suppose that the two hosts
are separated by D meters, and suppose the propagation speed along the link is V meters/sec. Host A is
to send a packet of size L bits to host B.
3.a) Express the propagation delay, dprop, in terms of D and V. (3 pts)
D/V
3.b) Determine the transmission time of the packet, dtrans, in terms of L and R. (3 pts)
L/R
3.c) Ignoring processing and queueing delays, write an expression for the end-to-end delay. (3 pts)
Dprop + dtrans
3.d) Suppose V = 2.5 × 108, L = 120 bits, and R = 56 Kbps. Find the distance D so that dprop equals
dtrans. Assume that 1 Kbps = 1,000 bps. (5 pts)
Dprop = Dtrans
120 / 56000 = D / 2.5 * 10^8
D = 535.7
4. Consider an Ethernet subnet (Fig.2) just started up and the ARP table on all network interfaces are
empty. Suppose the node with IP address [Link] wants to send a data packet to the node with IP
address [Link].
Fig.2
-2-
4.a) What is the destination MAC address of the first Ethernet frame in this case? (5 pts)
FF-FF-FF-FF-FF-FF
4.b) What is the destination MAC address of the second Ethernet frame in this case? (5 pts)
71-65-F7-2B-08-53
4.c) What is the destination MAC address of the third Ethernet frame in this case? (5 pts)
58-23-D7-FA-20-B0
5. The table below (Table 1) is a forwarding table of a router.
Table 1
Destination Prefix Interface
11001000 00010111 0000 1
11001000 00010111 00001 2
11001000 00010111 00000 3
11001000 00010111 10001 4
default 5
Assume that four packets come along with the destination addresses given below. Which interfaces
will the four packets be forwarded to based on the longest match principle?
5.a) 11001000 00010111 01000000 10110000 (4 pts)
default
5.b) 11001000 00010111 0000 0011 10110000 (4 pts)
Interface-3
5.c) 11001000 00010111 0000 1000 10110000 (4 pts)
Interface-2
5.d) 11001000 00010111 1000 1000 10110000 (4 pts)
Interface-4
6. Pick the most appropriate server/system/term given below for the five boxes shown in the network
diagram (Fig.3). Just write your answers on the right side of the box numbers.
TCP/UDP, Internal Firewall, Path of Logical Access, Web Server, Antivirus/Endpoint Protection
System Server, Protocol, External Firewall, ARP Server, DMZ, WAN, DSL, HFC, Socket, UTP, Layer,
DoS, ATP
-3-
1 ………External Firewall…………………………………………… (5 pts)
2 ………Web Server…………………………………………………… (5 pts)
3 ………ARP Server…………………………………………………… (5 pts)
4 ………Internal Firewall……………………………………………. (5 pts)
5 ………DMZ…………………………………………………………… (5 pts)
Fig.3
-4-