看板 Network 關於我們 聯絡資訊
之前在網路上 有看到VLAN Tag的格式 在這個連結可以看到: http://en.wikipedia.org/wiki/IEEE_802.1Q VLAN Tag裡面有一個欄位叫做CFI, 全名是Canonical Format Indicator, 根據上面那個網頁對CFI的描述, 似乎我們平常在乙太網路上發送封包時, CFI bit都設為0 . 問題一: 我們平常用網路時,在什麼樣的情況下, 才會發送有附帶VLAN Tag而且CFI bit=1的封包? 我有去查一下相關文件, 內容如下: There are three cases where a Tagged Frame will carry an E-RIF: a) It is a Transparent frame that carries E-N or L-N information; b) It is a Source-Routed frame that carries E-N or L-N information; c) It is a Source-Routed frame that carries L-C information. 問題二: Transparent frame跟Source-Routed frame的定義跟用途為何呢? 知道的還麻煩請不吝惜指教 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.248.33
aqer1224:問題一看起來像是使用token-ring時CFI才會設成1 11/14 22:40
shorttime:是喔~謝謝指教! 11/15 00:23
shorttime:不過...為何使用token ring時 CFI要設成1呢? 11/15 00:23
aqer1224:CFI=1代表non-canonical format 11/15 21:24
aqer1224:代表address的每個byte再傳送時由MSB先傳 11/15 21:26
aqer1224:ethernet是canonical format LSB先傳 所以設成0 11/15 21:26
aqer1224:可以參考http://en.wikipedia.org/wiki/MAC_address 11/15 21:28
aqer1224:的 Bit-reversed notation 章節 11/15 21:28
aqer1224:有錯請指正 11/15 21:29