View worked solution
Answer: 3
To find the minimum number of switches needed, we can analyze the relationship between the number of switches, the ports used for interconnecting them, and the ports available for the machines.
Let be the number of -port switches used.
- Each switch has ports. For switches, the total number of ports is .
- To connect switches together in a single network (without loops), we need at least links between them.
- Since there are no dedicated uplink ports, each inter-switch link connects a standard port on one switch to a standard port on another switch. Thus, each link consumes ports.
- Therefore, links will consume ports.
The number of ports remaining to connect the machines is:
Since we need to connect machines, the number of available ports must be at least :
Since the number of switches must be an integer, we round up to the next whole number:
Thus, the minimum number of switches needed is 3.
Free practice · Your answers on this page are not saved.
