[問答] hub & switch
Suppose there are five computers connected together to form a LAN.
The maximum data transport rate that the network cable can provide is 100Mbps,
ideally.
If we use a hub to connect them,all computers in the network share the
100Mbps bandwidth. <<這句話是說所有電腦會分享總寬頻?
那麼分享的意思是共用、還是分割?
If we use a switch,then any two of the computers can communicate with
each other without disturbing the other computers.
Assume that the other four computers only communicate with each other,
and each has a constant data rate of 20Mbps.<<想問這句話確切的意思??
Now,you want to download a 10MB file from a remote server,which is located
outside your local network.
Q1:How long will it take if using a hub?
Q2:How long will it take if using a switch?
Ans:1. (10*8)/ (100-20*4)= 4sec
2. (10*8)/ 100=0.8sec
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 124.9.193.233
推
07/28 19:00, , 1F
07/28 19:00, 1F
如果是共用 那為什麼第一個問題100Mbps要扣掉80??
※ 編輯: pop10353 來自: 124.9.193.233 (07/28 20:09)
推
07/29 20:47, , 2F
07/29 20:47, 2F
→
07/29 20:48, , 3F
07/29 20:48, 3F
推
08/01 14:40, , 4F
08/01 14:40, 4F
→
08/01 14:40, , 5F
08/01 14:40, 5F
→
08/01 14:41, , 6F
08/01 14:41, 6F