Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

GATE | Gate IT 2008 | Question 82

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads