CN ClassTest 2
CN ClassTest 2
1. Explain the Routing Information Protocol. What are its main shortcomings? How these issues are handled.
[CO4] 5+2+3
2. Why is mapping of physical to logical address required? Discuss two limitations of static configuration
protocols. Explain how to address these limitations. Explain the DHCP protocol with a suitable interaction
diagram. [CO5] 2+2+2+4
3. Discuss the UDP header format with a suitable diagram. Assume 06 32 00 0D 00 1C E2 17 is a dump of a
UDP header in hexadecimal format. Answer the following: i) Find the source port number and destination
port number ii) Find the total length of the user datagram iii) Find the length of the data iv) Is the packet
directed from a client to a server or vice versa? v) What is the client process? [CO4] 5+5
1. What are the common fields in a routing table? Explain them. Which problem is solved by address
aggregation? Explain with a suitable example. Explain the concept of longest mask matching with an
example. [CO3] 4+3+3
2. Explain the use of NVT in TELNET. Explain the Simple mail transfer protocol. Why is a connection
establishment for mail transfer needed if TCP has already established a connection? Why do we need POP3
or IMAP4 for email? [CO5] 2+4+2+2
3. What is the value of the receiver window (rwnd) for host A if the receiver host B has a buffer size of 14000
bytes and 2000 bytes of received and unprocessed data? What is the size of the window for host A if the
value of the congestion window (cwnd) is 10000 bytes. A TCP connection is using a window size of host
A, and the previous acknowledgement number was 22001. It receives a segment with acknowledgement
number 24001 and window size advertisement of 12000. Draw a diagram to show the situation of the
window before and after. [CO4] 2+2+6
BCSE III Computer Networks Class Test 2 Set: 3
Name: Roll: Date:
1. Explain the main steps of path vector routing. What is the optimum path in path vector routing?
[CO3] 7+3
2. Describe the three-way handshaking for connection establishment in TCP. How TCP handles out-of-order
segments? [CO4] 5+5
3. Assume the sender prepared an IPV4 packet, the value of HLEN is 1000 in binary. How many options are
being carried by this packet? Assume that the receiver received the IPV4 packet. And it has arrived with the
first 8 bits as 01000010. Now explain what the receiver will do with that packet. Will it be accepted or
discarded? Explain your answer. [CO3] 3+7
1. Explain the border gateway protocol. What is a session in BGP? What are two types of sessions used here?
[CO4] 7+3
2. An ISP has a block of 1024 addresses. Assume it needs to divide the addresses among 1024 customers.
Does it need subnetting? Explain your answer. Assume an organization is granted the block
211.17.180.0/24. The administrator wants to create 32 subnets. Answer the following: i) Find the subnet
mask ii) Find the number of addresses in each subnet iii) Find the first and last address in subnet 1. iv) Find
the first and last address in subnet 32. v) Find the range of addresses in the given block.
[CO3] 3+7
3. Describe the user datagram format. Why does UDP provide connectionless services? Explain the File
transfer protocol with socket. [CO5] 3+2+5
1. What do you mean by name address resolution? Explain the design and main steps of Resolver. Explain
the concept of recursive resolution with a suitable example. [CO3] 2+5+3
2. Describe the three-way handshaking for connection establishment in TCP. How TCP handles out-of-order
segments? A client has a packet of 69000 bytes. Show how this packet can be transferred by using only
one UDP user datagram. [CO4] 3+4+3
3. Describe the IPV4 packet format. Suppose 12 bytes of options are present in an IPV4 packet. If (0028)16 is
the value of the total length field then find the payload in the datagram. Assume that data i.e., payload size
of a datagram is 7221 bytes. If the byte number starts from 0, the 1st fragment transmits the bytes
numbered from 0 to 1399. Find the offset value of the 3rd fragment. [CO3] 4+3+3
BCSE III Computer Networks Class Test 2 Set: 6
Name: Roll: Date:
1. Explain two node and three node instability scenarios in distance vector routing. Discuss the strategies to
address these issues. [CO3] 5+5
2. Why is UDP a suitable protocol for multicasting? Why FTP cannot use UDP, but Trivial FTP can use it?
Explain the flow control and error control mechanisms of TCP. [CO5] 2+2+6
3. Explain the address translation mechanism for outgoing packets and packets coming from the Internet?
Explain how a router finds the network address to route the packet in following two cases: a) A router
outside the department of CSE receives a packet with destination address 190.240.7.91 b) A router inside
the department of CSE receives the same packet with destination address 190.240.33.91. Discuss what
happens if this destination does not exist in these two cases. [CO4] 4+2+2+2
1. What is the purpose of including the IPV4 header and the first 8 bytes of datagram data in the error
reporting ICMPV4 messages? Why is there a restriction on the generation of an ICMPV4 message in
response to a failed ICMPV4 error message? [CO3] 5+5
2. Explain the distance vector routing. What is a session in BGP? What are two types of sessions used here?
[CO3] 6+2+2
3. What is the mask in IPV4 addressing? What is a default mask in IPV4 addressing? Assume an organization
is granted the block 16.0.0.0/8. The administrator wants to create 500 fixed length subnets. Answer the
following: i) Find the subnet mask ii) Find the number of addresses in each subnet iii) Find the first and last
address in subnet 1. iv) Find the first and last address in subnet 500. v) Find the range of addresses in the
given block. [CO3] 2+1+7
1. Explain the Open Shortest Path First protocol. What are the different types of links used in OSPF?
[CO3] 6+4
2. Discuss the IPV4 datagram format with a suitable diagram. Name three strategies for transition from IPV4
to IPV6 and explain them. [CO3] 4+6
3. Discuss the TCP header format with a suitable diagram. Assume 05320017 00000001 00000000 500207FF
00000000 is a dump of a TCP Header in hexadecimal format. Answer the following: i) Find the source port
number and destination port number ii) What is the sequence number? iii) What is the acknowledgement
number iv) What is the type of the segment? v) What is the window size? [CO4] 5+5