課程影片與練習

課程簡介
第1週:網路架構與七層參考模式簡介
第2週:IEEE 802.3 乙太網路 (Ethernet)
第3週:IEEE 802.11 無線區域網路 (Wireless LAN)
第4週:IEEE 802.1D 交換機的擴張樹演算法 (Spanning Tree Algorithm)
第5週:IEEE 802.1Q 虛擬區域網路 (Virtual LAN)
第7週:路由器運作原理以及網路互連技術
第8週:TCP 與網路阻塞偵測與控制技術

6.4 Which of the following statements are correct for “stop-and-wait” protocol ?
下列哪些有關“停止與等待”協議的敘述是正確的 ?

(a) After transmitting one frame, the sender waits for an acknowledgement before transmitting the next frame. 傳送端在傳送一個訊框後, 會等待一個肯定回覆, 才會再送出下一個訊框.
(b) After transmitting one frame, the sender can still transmit one more frame before an acknowledgement is received. 傳送端在傳送一個訊框後, 在收到一個肯定回覆前, 依然可以傳送一個訊框
(c) If the acknowledgement does not arrive after a certain period of time, the sender times out and retransmits the original frame 傳送端若在經過一段時間後沒有收到肯定回覆, 會發生等待逾時, 且重傳該訊框
(d) The only reason the sender times out is that the acknowledgement is lost. 傳送端發生等待逾時的唯一原因是肯定回覆遺失.
(e) The receiver may receive duplicate copies of a frame. 接收端可能收到許多個相同的訊框.

6.5. Which of the following cases may cause a sender to “timeout” in the “stop-and-wait” protocol ?
在“停止與等待”協議中, 下列何種情形可能導致傳送端發生”等待逾時” ?

(a) The transmitted frame is lost. 已傳送的訊框遺失.
(b) The transmitted frame is delayed. 已傳送的訊框延遲到達接收端
(c) The acknowledgement is delayed肯定回覆延遲到達傳送端
(d) The acknowledgement is lost. 肯定回覆遺失
(e) The transmitted frame is received with error. 接收到的訊框發生錯誤

6.6 Which of the following statements are correct for using “stop-and-wait” protocol” with 1-bit sequence number of “0” and “1”?
在“停止與等待”協議中, 下列哪些對於1-bit (0 or 1) 序號的敘述是正確的 ?

(a) When a sender transmits frame 0, before receiving the ACK 0, the sender can transmit frame 1 to speedup the transmission. 為了加速傳送, 當傳送端送出編號 0 訊框後, 在接收到 ACK 0 之前, 傳送端可以傳送編號 1 訊框.
(b) When a sender transmits frame 0, it will transmit frame 1 after the ACK 0 received. 當傳送端傳送編號 0 訊框,在收到 ACK 0 後,他會傳送編號 1 訊框.
(c) When the sender retransmits frame 0, the receiver can determine that this is a second copy of frame 0 and therefore can ignore it. 當傳送端重傳編號 0 訊框, 接收端可以分辨出這是重複的編號 0 訊框, 因此可以忽略此訊框.
(d) When the sender retransmits frame 1, the receiver can determine that this is a second copy of frame 1 and therefore can ignore it. 當傳送端重傳編號 1 訊框, 接收端可以分辨出這是重複的編號 1 訊框, 因此可以忽略此訊框.
(e) When a second copy of frame is received, the receiver will discard the duplicated frame and therefore no need to send back an acknowledgement for this frame. 當接收端收到重複的訊框, 接收端會將之丟棄, 因此不需要再針對此訊框回傳一個肯定回覆.

6.7.In the “stop-and-wait” protocol, at most how many frames can be transmitted simultaneously on the link by the sender ?
在“停止與等待”協議中, 傳送端最多可以在鏈結上同時傳送幾個訊框 ?
(a) 1
(b) 2
(c) 3
(d) 4
(e) 5

6.8 Consider a link of 2 Mbps with an RTT of 40 ms. Assume that the frame size is of 1 KBytes. What is the maximum sending rate (kbps) of the sender if the “stop-and-wait” protocol is used ?
考慮一個鏈結其頻寬為 2 Mbps 和 RTT 值為 40 ms. 假設一個訊框大小為 1 K位元組. 請問在使用“停止與等待”協議下, 傳送端最大的傳輸速率為何(kbps) ?

____?____(kbps)

6.9 Consider a link of 4 Mbps with an RTT of 20 ms. Assume that the frame size is of 2 KBytes. What is the maximum sending rate (kbps) of the sender if the “stop-and-wait” protocol is used ?
考慮一個鏈結其頻寬為 4 Mbps、和 RTT 值為 20 ms. 假設一個訊框大小為 2 K位元組. 請問在使用“停止與等待”協議下, 傳送端最大的傳輸速率為何(kbps) ?

____?___(kbps)

6.10 Consider a link of 2 Mbps with an RTT of 40 ms. Assume that the frame size is of 2 KBytes. To fully use the link, the sender should transmit up to ___?_____ frames before having to wait for an ACK ?
考慮一個鏈結其頻寬為 2 Mbps、和 RTT 值為 40 ms. 假設一個訊框大小為2 K位元組. 若要充分使用此鏈結, 傳送端在必須等待一個回覆ACK前, 應該要傳送幾個訊框 ?

____?_____

資料處理中...
檔案上傳中...