• retagged by
18,834 views
31 31 votes

Consider the following statements about the functionality of an $\textsf{IP}$ based router.

  1. A router does not modify the $\textsf{IP}$ packets during forwarding.
  2. It is not necessary for a router to implement any routing protocol.
  3. A router should reassemble $\textsf{IP}$ fragments if the $\textsf{MTU}$ of the outgoing link is larger than the size of the incoming $\text{IP}$ packet.

  Which of the above statements is/are TRUE?

  1. I and II only
  2. I only
  3. II and III only
  4. II only

7 Answers

Best answer
25 25 votes

Answer: D. II Only

Explanation

Taking the given statements one by one:

I. (FALSE) Router needs to fragment the incoming IP packets if the connecting line has smaller MTU (Maximum Transmission Unit) than size of incoming packets.

II. (TRUE) That's the case of static routing where forward paths are pre-loaded/downloaded to routers.

III. (FALSE) This is not possible in case of cut-through-switching where IP packet is forwarded as it arrives.

• selected by
42 42 votes
only (II) is correct. A router need not implement any routing protocol. It can just forward packets in all the directions without doing any routing.

Router won't assemble the packets. Assembling is done at destination system

Router does modify the IP packets during forwarding. Simple example.. TTL ( time to live) field is decremented at routers)
13 13 votes

Answer : Option D) II only.

Option I : IP packets need to be fragmented at routers if the outgoing link has a smaller MTU. Even TTL has to be decreased by devices having Network Layer (eg. Router). As it is mentioned whole IP Packet  and not only IP data, so router definitely modifies packets when forwarding. So FALSE.

Option II : Yes, it is not necessary for a router to implement any routing algorithm. We can definitely use flooding and forward packets in all directions. So, TRUE

Option III: Reassembly procedure is done only at the destination and not at the routers. This is because, packets may follow different routes and all the packets may not arrive at the specific router. This might lead to perform fragmentation again and again Hence, a router should not reassemble IP fragments if the MTU of the outgoing link is larger than the size of the incoming IP packet. So, FALSE. 

Resources: RFC: 815 | IP DATAGRAM REASSEMBLY ALGORITHMS

 

8 8 votes
1. Router modifies ip packet (TTL)during forwarding.

2.yes,flooding can be used.

3.reassembling of packets is done at destination as they can follow differennt path.

so b is true.
0 0 votes

For knowledge purpose:

Ways by which router can modify IP packets:

  • Modifying the TTL after every hop (Since RIP, max TTL is 16)
  • Fragmenting the IP packets
  • During fragmentation, each header checksum is recomputed by the router.
0 0 votes

Statement I:

"A router does not modify the IP packets during forwarding."

❌ False

A router does modify certain fields in the IP header while forwarding a packet.

The router updates:

  • TTL (Time To Live): Decreases by 1 at every router.
  • Header Checksum: Recomputed because TTL has changed.
  • If fragmentation occurs, it also modifies:
    • Fragment Offset
    • More Fragments (MF) flag
    • Total Length

Example

Suppose an IP packet has:

 
TTL = 64

After passing through one router:

 
TTL = 63

Since the header changed, the checksum must also be updated.

Hence, the router does modify the IP packet.

✅ Statement I is FALSE.


Statement II:

"It is not necessary for a router to implement any routing protocol."

✅ True

A router can forward packets without running a routing protocol.

There are two possibilities:

1. Static Routing

The routing table is manually configured.

Example:

 
Destination        Next Hop
10.0.0.0/24        Router A
20.0.0.0/24        Router B

No routing protocol is running.


2. Dynamic Routing

The router learns routes using protocols like:

  • RIP
  • OSPF
  • BGP
  • EIGRP

These protocols are optional, not mandatory.

Therefore,

✅ Statement II is TRUE.


Statement III:

"A router should reassemble IP fragments if the MTU of the outgoing link is larger than the size of the incoming IP packet."

❌ False

This is a very common GATE concept.

Who reassembles IP fragments?

Only the destination host.

Answer:
Position:
Show:

Related questions

60 60 votes
4 answers 4 answers
25.0k
25.0k views
Arjun asked Feb 12, 2020
24,976 views
Consider a double hashing scheme in which the primary hash function is $h_1(k)= k \text{ mod } 23$, and the secondary hash function is $h_2(k)=1+(k \text{ mod } 19)$. Ass...
38 38 votes
8 answers 8 answers
29.4k
29.4k views
Arjun asked Feb 12, 2020
29,350 views
Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to s...
98 98 votes
7 answers 7 answers
44.8k
44.8k views
Arjun asked Feb 12, 2020
44,832 views
An organization requires a range of IP address to assign one to each of its $1500$ computers. The organization has approached an Internet Service Provider (ISP) for this ...
49 49 votes
7 answers 7 answers
27.9k
27.9k views
Arjun asked Feb 12, 2020
27,881 views
Consider a $\textsf{TCP}$ connection between a client and a server with the following specifications; the round trip time is $6$ ms, the size of the receiver advertised w...