in Computer Networks edited by
3,108 views
4 votes
4 votes

Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers as shown below.

What is the number of subnets inside the enterprise network?

  1. $3$
  2. $12$
  3. $6$
  4. $8$
in Computer Networks edited by
by
2441 3624 5537
3.1k views

1 comment

0
0

Subscribe to GO Classes for GATE CSE 2022

3 Answers

17 votes
17 votes

Answer C

For each interface, router has one entry in routing table. 

Each interface out of a router = 1 subnet

So, here 2 + 3 + 2 = 7 

but 1 is common (router to router) so 7 - 1 = 6

 

below image ref- https://www.cisco.com/c/en/us/support/docs/ip/routing-information-protocol-rip/13788-3.html

 

Also Please find screenshot from Kurose 

edited by
by
221 277 348

6 Comments

Sir according to me subnet refer to number of network and that are 3 here.

 

1
1
sir, firewall filters but does not route so I think only 3 will be there
0
0
Not, really!
Some firewalls do have routing capabilities as well.
0
0
The function of a firewall is both to regulate and filter the data.
0
0

@nitin95 Firewalls at the edge of the network usually have routing capabilities. In fact , firewalls are typically configured on routers itself, in general. (You can refer to CISCO routers). In this case, the firewall that we have is at at the edge of enterprise network, connecting it with Internet. If it doesn't have routing capability and say it receives a packet, how it will decide whether it has to forward the packet to router connecting the web server or  to the router connecting the first Ethernet segment.

0
0

This was the most beautiful question in the paper, they tried to confuse student that 6 can be wrong by giving exactly 6 layer 2 (Datalink layer)devices (ethernet)and 3 layer 3(Network layer) devices so that student will confuse 6 as wrong and 3 as right answer bcoz up untill now we got used to question /answers like “network layer is common for a group of Datalink layer devices on 1 router”

refer this link for more clarity and similar question https://learningnetwork.cisco.com/s/question/0D53i00000KsuHACAZ/number-of-subnets-in-this-topology

0
0
10 votes
10 votes
According to me answer should be 3 as routers performs a logical duvision based on ip and hence the each area connected to Ethernet would have one subnet each and upper portion constitute a one subnet

 

Thus the topmost router constitute a T point for subnet division which is 3
by
1 1 2

3 Comments

@Yash Singhal can we challenge this question as official answer key has given 6 as the answer, I too feel both should be accepted.

0
0
Ya me too agree with you kindly share the updates.
0
0

Every interface of device with layer 3 or more contitutes a network ,total 7 interfaces,considering common networks here answer is 6 only.

3 will be answer only when 3 interfaces on single layer 3 device or all layer 3 device have common 3 interface. this ia very beautiful question, 3 was given option to confuse student so that they will think 6 is wrong considering layer 2 in the Ethernet in the diagram. and 3 is right answer becoz network layer is common in one ethernet in the pic.

refer this link for similar question. https://learningnetwork.cisco.com/s/question/0D53i00000KsuHACAZ/number-of-subnets-in-this-topology

 

0
0
1 vote
1 vote

Thanks @  for posting the reference

After reading the explanation from Kurose and Ross, finally arrived this answer 6. This is very nice and very fundamental question in computer networks where I didn’t know the subtle notion hidden inside this fundamental question and learnt that now.

by
1 3 8
Answer:

Related questions