• retagged by
35,690 views
58 58 votes
Consider that $15$ machines need to be connected in a LAN using $8$-port Ethernet switches. Assume that these switches do not have any separate uplink ports. The minimum number of switches needed is ______

7 Answers

Best answer
99 99 votes

Answer is $3.$ 

Using $3$ switches we can connect maximum $20$ machines together.

∴ We require at least $3$ switches to connect $15$ machines.

• edited by
74 74 votes
There are 15 devices. And there are 8 ports in 1 Ethernet switch. So it's obvious that one switch is not sufficient. So one more switch is required. So in 1st switch only 7 ports are connected to 7 devices and 8th one is used for connecting to another switch. Now come to second switch. Only 7 ports are left as 1st port is used for connecting to 1st switch. Those 7 ports can be connected to 7 devices. But there are total 15 devices and so 1 would be left. So we need another switch. So now, in second switch we connect 6 devices to 6 ports and last port to third switch. And in the last switch 1st port is connected to 2nd switch and two ports to two left devices.So we require 3 switches in total.
35 35 votes

Given :- A switch with $8$ ports and we require to connect $15$ machines together.

Using $1$ switch we can connect only $8$ machines together.

 

Using $2$ switches we can connect only $14$ machines together.

 

Using $3$ switches we can connect $20$ machines together.

 

$\therefore$ We require atleast $3$ switches to connect $15$ machines together.

• edited by
4 4 votes
Out of 8 ports 1 port dedicated to the switch itself .hence 7 available ports for the clients.there are 15 clients s no of switches =3
2 2 votes

In LAN all the machines are interconnected. If we use a switch for 8 machines, and another for 7 machines; the first 8 machines won't be connected to the latter 7. So using two switches won't be enough.

In the first switch A,

  • First 7 ports — 7 machines.
  • Last port — Connect to other switch B.

In the second switch B

  • One port already connected to A
  • 6 ports — 6 machines
  • Last port — Connect to other switch C.

In the third switch C

  • One port already connected to B
  • 2 ports — 2 machines.

Done! We need 3 switches.



 

Alternatively.

Machines to be connected = 15.

Ports available per switch = 7 (NOT 8)

So, 15/7 = 2.142 => 3 switches are required.

Answer:
Position:
Show:

Related questions

18 18 votes
6 answers 6 answers
14.3k
14.3k views
Arjun asked Feb 7, 2019
14,305 views
In an RSA cryptosystem, the value of the public modulus parameter $n$ is $3007$. If it is also known as that $\phi(n)=2880$ where $\phi()$ denotes Euler’s Totient Functio...
68 68 votes
7 answers 7 answers
33.9k
33.9k views
go_editor asked Sep 28, 2014
33,907 views
In the diagram shown below, $L1$ is an Ethernet LAN and $L2$ is a Token-Ring LAN. An $IP$ packet originates from sender $S$ and traverses to $R$, as shown. The links with...
37 37 votes
8 answers 8 answers
16.6k
16.6k views
Arjun asked Feb 7, 2019
16,618 views
Consider three machines M, N, and P with IP addresses $100.10.5.2, \: 100.10.5.5$, and $100.10.5.6$ respectively. The subnet mask is set to $255.255.255.252$ for all the ...
70 70 votes
15 answers 15 answers
36.9k
36.9k views
Arjun asked Feb 7, 2019
36,871 views
Suppose that in an IP-over-Ethernet network, a machine X wishes to find the MAC address of another machine Y in its subnet. Which one of the following techniques can be ...