作者shorttime (乡民)
看板Network
标题[问答] 有关VLAN的封包格式问题
时间Sat Nov 13 22:58:22 2010
之前在网路上 有看到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
1F:推 aqer1224:问题一看起来像是使用token-ring时CFI才会设成1 11/14 22:40
2F:→ shorttime:是喔~谢谢指教! 11/15 00:23
3F:→ shorttime:不过...为何使用token ring时 CFI要设成1呢? 11/15 00:23
4F:→ aqer1224:CFI=1代表non-canonical format 11/15 21:24
5F:→ aqer1224:代表address的每个byte再传送时由MSB先传 11/15 21:26
6F:→ aqer1224:ethernet是canonical format LSB先传 所以设成0 11/15 21:26
8F:→ aqer1224:的 Bit-reversed notation 章节 11/15 21:28
9F:→ aqer1224:有错请指正 11/15 21:29