Skip to content
Related Articles
Open in App
Not now

Related Articles

GATE | GATE CS Mock 2018 | Set 2 | Question 23

Improve Article
Save Article
Like Article
  • Last Updated : 08 Mar, 2018
Improve Article
Save Article
Like Article

IPv4 addressing system already gives information about network and host. Along with the Internet Protocol address of host, subnet mask is also needed by the routers inorder to direct the packet to intended network. Host doesn’t redirect packets, then Why does host need subnet mask ?

(A) Host need subnet mask for ANDing process inorder to know own network.
(B) To get the IP address of destination host
(C) To know if intended packet is supposed to send to router or not.
(D) To resolve the logical address from DNS server.


Answer: (C)

Explanation: We know Subnet mask is needed by routers (stored in routing table) inorder to direct the packet to intended network. But how will host know whether the packet belongs to its own network, whether to send the packet to router or not. For this reason, even host needs the Subnet mask.
Therefore, option (C) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!