VLAN Tag:0x8100 + 3-bit PCP + 1-bit DEI + 12-bit VID
- PCP (Priority Code Point):優先權
- DEI (Drop Eligible Indicator):可獨立使用或和 PCP 搭用,表示 congestion 時可以 drop。
- 先前是CFI (Canonical Format Indicator, 制式格式指示):一般 CFI = 0,使用「制式格式」(Canonical format),也就是 MAC 位址是是最高位元 (most significant bit) 先傳送。CFI = 1 則包含有 RIF 欄位 (Routing Information Field) ,其中 NCFI 旗標值決定 MAC 位址傳送是否使用「制式格式」,非制式格式是最低位元 (least significant bit) 先傳送。
- VID (虛擬網路辨識碼)
- = 0:Priority-tagged 封包,只有 priority 資訊,不作為 VLAN ID 使用。
- = 1:bridge 內部使用,當 ingress frame 沒有 VID 時的預設 Port VID。
- = 4095:預留,可以用在網管或資料庫過濾時代表任何 VID。
- Port-based – 依照機器所接到的 switch port 決定它屬於哪個VLAN,在這個 port 的所有機器只能在同一個 VLAN 下。
- MAC-based – 依照機器的 MAC address 決定它屬於哪個VLAN。switch 會有個 MAC address 對應到VLAN的表。
- Protocol-based – 依照封包的協定決定屬於哪個 VLAN。
- Authentication based – 經由 802.1x 認證決定屬於哪個 VLAN。
- http://en.wikipedia.org/wiki/Virtual_LAN
- 802.1Q
沒有留言:
張貼留言