GATE 2022 CS – Question 22
Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers as shown below. [Figure: the firewall (to Internet) connects to the left router and to the top router; the top router connects to the web server and to the right router; the left router connects to Ethernet segment 1 and the right router to Ethernet segment 2.]
What is the number of subnets inside the enterprise network?

Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) 6
Explanation
Each router-to-router, router-to-firewall, router-to-server and router-to-Ethernet link is a separate subnet. That gives firewall–left router, left router–Ethernet 1, firewall–top router, top router–web server, top router–right router, and right router–Ethernet 2, for 6 subnets.