常見網路設備Hubs, Bridges, Switches, Routers and Gateways

HUBs

封包上會記錄來源和目的的IP和MAC資訊,基本上HUB是每一個埠都會傳送,由該埠所連結的電腦來判斷是不是屬於自己的封包,再決定是否接收或丟棄。

Bridges

連結 2 個相同的網路,讓它看起來在同一個網路中。當我們使用KVM建立VM並使用軟體模擬Bridge時,在同一個Bridge區域中的VM是可以互相連結的,可以想成同一個Bridge裡的VM等於在同一個HUB中。

A bridge joins two similar types of networks so that they look like one network. The word transparent is often used with bridges because network clients do not know the bridge is even in place.

Switches

可以學習記錄每一個埠所連結的網路卡MAC Address資訊,直接由A電腦傳給B電腦,而不是像HUB每一個埠都傳送封包。

Hub vs. Bridge vs. Switch

Routers

路由器設備通常需要設定後才能使用,我們也可以使用電腦來當Router,例如在Linux中我們可以針對不同的網路介面、目的、來源來設定不同的路由路徑。

GateWays

GateWay閘道器用來連結不同的機器,不同的網路協定的中繼站。

A gateway joins two dissimilar networks. There can be a lot of protocol conversion work to do. Often the gateway needs to be configured on client systems where communications are directed to the gateway and then some address mapping is provided to get the message to the recipient on the other side.

參考網站:

http://blog.creativeitp.com/posts-and-articles/networking/hubs-switches-routers-and-bridges/comment-page-1/

http://searchstorage.techtarget.com/answer/The-difference-between-a-bridge-and-a-gateway