[問答] hub & switch

看板Network作者 (女乃 豆頁 單戈 示申)時間11年前 (2013/07/28 17:21), 編輯推噓3(303)
留言6則, 3人參與, 最新討論串1/1
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
共用是指共同使用頻寬如果一台PC使用了20%的頻寬剩下的
07/29 20:47, 2F

07/29 20:48, , 3F
PC只能用80%
07/29 20:48, 3F

08/01 14:40, , 4F
那句話的意思是,四台電腦都占用20Mbps互相傳輸
08/01 14:40, 4F

08/01 14:40, , 5F
使用HUB的話,剩下的那port就只剩下20M可以用
08/01 14:40, 5F

08/01 14:41, , 6F
但Switch不會占用頻寬,剩下那Port還是有100M可對外溝通
08/01 14:41, 6F
文章代碼(AID): #1HzEAcHl (Network)