天天看點

MDI/MDIX接口

MDI/MDIX is a type of Ethernet port connection using twisted pair cabling. The MDI (for medium dependent interface) is the component of the media attachment unit (MAU) that provides the physical and electrical connection to the cabling medium. An MDIX (for MDI crossover) is a version of MDI that enables connection between like devices. MDI ports connect to MDIX ports via straight-through twisted pair cabling; both MDI-to-MDI and MDIX-to-MDIX connections use crossover twisted pair cabling.   

MDI 和 MDIX 是兩種接口,MDI和MDI,MDI-X和MDI-X用交叉線連接配接。MDI和MDI-X用直連線連接配接。

相同端口用交叉線連接配接,不同端口用直連線連接配接。

交叉線的順序(從左到右):

一頭順序A: 綠白、綠、橙白、藍、藍白、橙、棕白、棕

另一頭順序B: 橙白、橙、綠白、藍、藍白、綠、棕白、棕

直連線(從左到右):

兩頭一樣,都是順序A;

或者都是順序B

至于原理,象下圖這樣

(以太網的網線用的是差分線,收用2根,發用2根,下面的圖把它簡化了)

MDI/MDIX接口

現在的交換機等網絡裝置都有智能MDI/MDIX識别技術,也叫端口自動翻轉(Auto MDI/MDIX),可以自動識别連接配接的網線類型。使用者不管采用直連線或者交叉網線,均可以正确連接配接裝置。

再來張IEEE 802.3标準的圖,畫的挺好,第一個用的是交叉線,第二個用的是直連線

MDI/MDIX接口

轉自:點選打開連結