Open In App
Related Articles

GATE | Gate IT 2008 | Question 82

Improve Article
Improve
Save Article
Save
Like Article
Like

Host X has IP address 192.168.1.97 and is connected through two routers R1 and R2 to an­other host Y with IP address 192.168.1.80. Router R1 has IP addresses 192.168.1.135 and 192.168.1.110. R2 has IP addresses 192.168.1.67 and 192.168.1.155. The netmask used in the network is 255.255.255.224.

Which IP address should X configure its gateway as?
(A) 192.168.1.67
(B) 192.168.1.110
(C) 192.168.1.135
(D) 192.168.1.155


Answer: (B)

Explanation: For: 192.168.1.110/28
For network address keep Network bits as it is and put host bits =0 in any given IP address.
Network address = 192.168.1.01100000 =>192.168.1.96

For: 192.168.1.97/28

Network address = 192.168.1.01100000 =>192.168.1.96

Quiz of this Question

Level Up Your GATE Prep!
Embark on a transformative journey towards GATE success by choosing Data Science & AI as your second paper choice with our specialized course. If you find yourself lost in the vast landscape of the GATE syllabus, our program is the compass you need.

Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads