76 76 votes Host $X$ has IP address $192.168.1.97$ and is connected through two routers $R1$ and $R2$ to another 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$. Given the information above, how many distinct subnets are guaranteed to already exist in the network? $1$ $2$ $3$ $6$ Computer Networks gateit-2008 computer-networks subnetting normal + – Ishrat Jahan 22.5k views answer comment Share Follow Print See all 21 Comments 21 21 Comments reply Show 18 previous comments Siddharth_Perkar commented Jul 30 reply Follow flag Yes this method is very good, stating more briefly in shortly, Mask = .224 => 256 - 224 = 32Write range and check all available 4th octet addresses0 - 31 ......nothing32 - 63 ......nothing64 - 95 ......(67, 80)96 - 127 ......(97, 110)128 - 159 ......(135, 155) Total distinct subnets = 3 0 0 replyShare Vijay29 commented Aug 25 reply Follow flag YT link to understand this question "https://youtu.be/RKa7PDSuteo?si=7LLGLZylFP1ZHARW" 0 0 replyShare isundeep0 commented 1 day ago reply Follow flag Total 3 Subnets. 0 0 replyShare Please log in or register to add a comment.
2 2 votes For each interface, router has one entry in routing table. Each interface out of a router = 1 subnet Here the diagram is look like X---------R1-------common-------R2--------Y R1 has 2 interface R2 has 2 interface One is common..so total 3 subnet.. For more clarity https://gateoverflow.in/371924/Gate-cse-2022-question-12 Nirupam Das answered Jun 13, 2022 Nirupam Das comment Share Follow See 1 comment 1 1 comment reply Prateek pallaw commented Aug 15, 2022 i edited by Prateek pallaw Aug 15, 2022 reply Follow flag @Arjun sir @Shaik Masthan sir @Nirupam Das how this approach will work for this question if we take two different IP addresses for each R1 and R2.I think here ip addresses are given so so should use bitwise AND method only here . by using bitwise method we can get maximum 6 subnet if we change value of R1 and R2 ip adress but using your approach we still getting 3 only. correct me if i am getting it wrong. 0 0 replyShare Please log in or register to add a comment.
1 1 vote This is how X and Y are connected. So 3 subnets rangasthalam_ram answered Sep 30, 2023 rangasthalam_ram comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Ans goku4199 answered Sep 21, 2025 goku4199 comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes COMMENT BELOW IF YOU HAVE ANY DOUBT akshay_123 answered Apr 19 akshay_123 comment Share Follow 0 reply Please log in or register to add a comment.