Network Layer

Last Updated :
Discuss
Comments

Question 1

Consider a source computer(S) transmitting a file of size 106 bits to a destination computer(D)over a network of two routers (R1 and R2) and three links(L1, L2, and L3). L1connects S to R1; L2 connects R1 to R2; and L3 connects R2 to D.Let each link be of length 100 km. Assume signals travel over each link at a speed of 108 meters per second.Assume that the link bandwidth on each link is 1Mbps. Let the file be broken down into 1000 packets each of size 1000 bits. Find the total sum of transmission and propagation delays in transmitting the file from S to D?

  • 1005 ms

  • 1010 ms

  • 3000 ms

  • 3003 ms

Question 2

Assume that Source S and Destination D are connected through an intermediate router R. How many times a packet has to visit the network layer and data link layer during a transmission from S to D?

  • Network layer – 4 times, Data link layer – 4 times

  • Network layer – 4 times, Data link layer – 6 times

  • Network layer – 2 times, Data link layer – 4 times

  • Network layer – 3 times, Data link layer – 4 times

Question 3

Match the following: 1

  • (1)

  • (2)

  • (3)

  • (4)

Question 4

In an IPv4 datagram, the M bit is 0, the value of HLEN is 10, the value of total length is 400 and the fragment offset value is 300. The position of the datagram, the sequence numbers of the first and the last bytes of the payload, respectively are

  • Last fragment, 2400 and 2789

  • First fragment, 2400 and 2759

  • Last fragment, 2400 and 2759

  • Middle fragment, 300 and 689

Question 5

Consider the same data as given in previous question. After the update in the previous question, the link N1-N2 goes down. N2 will reflect this change immediately in its distance vector as cost, infinite. After the NEXT ROUND of update, what will be cost to N1 in the distance vector of N3?

  • 3

  • 9

  • 10

  • Infinite

Question 6

Consider a network with five nodes, N1 to N5, as shown below.

GATECS2011Q51

The network uses a Distance Vector Routing protocol. Once the routes have stabilized, the distance vectors at different nodes are as following. N1: (0, 1, 7, 8, 4) N2: (1, 0, 6, 7, 3) N3: (7, 6, 0, 2, 6) N4: (8, 7, 2, 0, 4) N5: (4, 3, 6, 4, 0)

Each distance vector is the distance of the best known path at the instance to nodes, N1 to N5, 

where the distance to itself is 0. Also, all links are symmetric and the cost is identical in both directions. In each round, all nodes exchange their distance vectors with their respective neighbors. Then all nodes update their distance vectors. In between two rounds, any change in cost of a link will cause the two incident nodes to change only that entry in their distance vectors. 52. The cost of link N2-N3 reduces to 2(in both directions). After the next round of updates, what will be the new distance vector at node, N3.

  • (3, 2, 0, 2, 5)

  • (3, 2, 0, 2, 6)

  • (7, 2, 0, 2, 5)

  • (7, 2, 0, 2, 6)

Question 7

One of the header fields in an IP datagram is the Time to Live(TTL) field. Which of the following statements best explains the need for this field?

  • It can be used to prioritize packets

  • It can be used to reduce delays

  • It can be used to optimize throughput

  • It can be used to prevent packet looping

Question 8

Consider a network with 6 routers R1 to R6 connected with links having weights as shown in the following diagram:

CN_2010_01

All the routers use the distance vector based routing algorithm to update their routing tables. Each router starts with its routing table initialized to contain an entry for each neighbour with the weight of the respective connecting link. After all the routing tables stabilize, how many links in the network will never be used for carrying any data?

  • 4

  • 3

  • 2

  • 1

Question 9

Consider the data given in above question 54 . Suppose the weights of all unused links in the previous question are changed to 2 and the distance vector algorithm is used again until all routing tables stabilize. How many links will now remain unused?

  • 0

  • 1

  • 2

  • 3

Question 10

Assume the following information: Original timestamp value = 46 Receive timestamp value = 59 Transmit timestamp value = 60 Timestamp at arrival of packet = 69 Which of the following statements is correct?

  • Receive clock should go back by 3 milliseconds

  • Transmit and Receive clocks are synchronized

  • Transmit clock should go back by 3 milliseconds

  • Receive clock should go ahead by 1 milliseconds

There are 88 questions to complete.

Take a part in the ongoing discussion