there is a switch in the home router.

來源: kzch 2015-01-07 09:09:18 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (978 bytes)
本文內容已被 [ kzch ] 在 2015-01-07 10:01:32 編輯過。如有問題,請報告版主或論壇管理刪除.
I totally understand your textbook explanation. But the reality is much more complicated. All home routers have a built-in switch. The switch is for layer 2 interconnects between the LAN1-4 and WAN port. Even the WAN port is on this switch, but configured as a seperate VLAN.

The following page has the diagram of a typical home broadband router.
http://www.dd-wrt.com/wiki/index.php/Default_Configuration_Overview

As you can see, the home router actually consists of 3 components, a layer 2 switch with 6 ports (LAN1-4 on vlan0, WAN on vlan1, and the internal vlan trunk port 5=eth0), and a layer 2 bridge br0 (between eth1 for WLAN and vlan0), and a layer 3 router between br0(vlan0+eth1) and vlan1,

Regardless, my original point was that, with a router or switch, any host cannot see packets that are not send/received by itself. Only hosts on a hub can see all packets going through the hub using wireshark.
請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”