###### tags: `Session Three` # ENternet vs. InfiniBand ## 網路協議 ![](https://i.imgur.com/4hF9cUm.jpg) ![](https://i.imgur.com/kjgQ9Wx.jpg) ## 廣播風暴 ![](https://ithelp.ithome.com.tw/upload/images/20200930/20129897wSHPL35T6g.png) >在這個網路拓樸下,如果沒有開啟 STP 會發生什麼事呢 首先,當 PC A 發出了一個 L2 的廣播封包(像是之前介紹的 ARP 請求封包,就是廣播形式的) PC A 將會發送至 Switch 2(他也只有連上 Switch 2,也沒辦法傳給其他人) Switch 2 看到了這個封包,想說是廣播封包 所以複製了一份,傳給 Switch 1 與 Switch 3,這時候整個網路拓樸中就已經有兩份這個封包了,讓我們根據複製出來的封包做編號並分別講解 >這時候 Switch 1 收到了一個廣播包,因為只有連接 Switch 1 與 Switch 3,而這個封包是從 Switch 2 收到了,所以只會被轉傳給 Switch 3 Switch 3 也收到了一個廣播包,所以他決定複製一份,往其他實體網路接口傳送,也就是往 Switch 1 與 PC A > >引用自[iT邦幫忙](https://ithelp.ithome.com.tw/articles/10247179) ## 經過STP(Spanning Tree Protocol)的線路 想了解Spanning Tree的話可以參考[這裡](http://web.ntnu.edu.tw/~algo/SpanningTree.html) ![](https://ithelp.ithome.com.tw/upload/images/20200930/201298974oa9D3BVHb.png) ![](https://i.imgur.com/EVoAAZ3.jpg) ![](https://i.imgur.com/4Z4gB1c.jpg) ## References * [SOCKET初探與整理](https://allenshaing.wordpress.com/2018/02/25/networksocket初探與整理/) * [MAC位址](https://zh.wikipedia.org/wiki/MAC地址) * https://igene.tw/rdma-overview * https://www.hwchiu.com/rdma-introduction-i.html