Final exams_CN_S1_2021-22_ODD_signed_ans_revised
Final exams_CN_S1_2021-22_ODD_signed_ans_revised
School/Department Name
-----------------
Full name: Nguyễn Văn Sinh Full name: Võ Thị Lưu Phương
Proctor 1 Proctor 2
Signature Signature
STUDENT INFO
Student name:
Student ID:
QUESTIONS
Q1. (10 marks) What is the key equation used in link-state routing protocol? Explain the equation via
an example?
Q4. (10 marks) Using the IP range 10.8.0.0/16, please assign the IP addresses for two subnets with
the subnetwork addresses, subnet mask, and valid IP ranges of each subnet. Each subnet can support
4000 IP addresses.
Q5. (10 marks) that network layer functionality can be divided into data plane functionality and control
plane functionality. What are the main functions of the data plane and the control plane?
Q6. (10 marks) Consider a datagram network using 8-bit host addresses. Suppose a router uses
longest prefix matching and has the following forwarding table:
2 /5
International University – VNUHCM Student Name:………...………….
School/Department Name Student ID:……………………….
-----------------
For each of the four interfaces, give the associated range of destination host addresses and the number
of addresses in the range
Q7. (10 marks) Recall that with the CSMA/CD protocol, the adapter waits K*512 bit times after a
collision, where K is drawn randomly. For K = 100, how long does the adapter wait until returning to
Step 2 for a 100 Mbps broadcast channel?
Q8. (10 marks) Describe a situation in which the hidden terminal problem occurs? How can RTS/CTS
messages solve the hidden terminal problem?
Q9. (10 marks) Why do we need VLAN trunking? Give an example of usages of VLAN trunking in a
network?
Q10. (10 marks) Consider the pattern of red and black packet arrivals to a router’s output port queue,
shown below. Suppose each packet takes one time slot to be transmitted and can only begin
transmission at the beginning of a time slot after its arrival. Indicate the sequence of departing packet
numbers (at t = 1, 2, 3, 4, 5, 7, 8) under priority scheduling, where red packets have higher priority.
– END –
3 /5
International University – VNUHCM Student Name:………...………….
School/Department Name Student ID:……………………….
-----------------
ANSWERS
Questions Lessons and CLOs
Q1. (10 marks) Chapter 5: Network layer-
Dijkstra's shortest path equation: 5 points control plane
Show a step applying Dijkstra update for routing update: 5 points CLO1: Analyze the
components, architecture, and
protocols in computer networks
Q2. (10 marks) Chapter 6: The Link Layer
a) No. Since D is in different subnet. and LANs
b) Source IP: 10.8.0.2; Destination IP: 10.8.10.7 CLO1: Analyze the
Source MAC add.: …-FF-55; Destination MAC add.: …-56-2A. components, architecture, and
protocols in computer networks
Q3. (10 marks) 10.8.242.10/23 Topic: IP addressing
a. subnetmask: /23 => 11111111.11111111.11111110.00000000 CLO1: Analyze the
IP 10.8.142.10 => 10 . 8 .11110010. 10 (242 components, architecture, and
= 128+64+32 +16+2) protocols in computer networks
Range: 10.8. 1111001|x.xxxxxxxx
Subnetwork address: 10.8. 1111001|0.00000000 = 10.8.242.0
Broadcast address: 10.8.1111001|1.11111111= 10.8.243.255
Note: The students who chose less than 04 subnet bits (subnet
size > 4096) are still correct.
Q5. (10 marks) CLO1: Analyze the
data plane: data forwarding components, architecture, and
control plane: routing protocols in computer networks
4 /5
International University – VNUHCM Student Name:………...………….
School/Department Name Student ID:……………………….
-----------------
5 /5