Ethernet – Why Both MDI and MDI-X Are Needed

ethernet

I understand which types of devices tend to use MDI or MDI-X, but why don't all devices just use one of them? It seems like Auto MDI-X was the solution to this but it still seems like all newly manufactured devices could just switch over to one. This way only crossover cables would be needed for all related connections.

Best Answer

This is a matter of DTE vs. DCE -- the role each endpoint takes. The NIC in your desktop is a "user terminal" (DTE). The switch it connects to is "communication equipment" (DCE). All this means is which pins are transmit vs. receive, such that a straight through cable from DTE to DCE works as expected. This is why a crossover cable is(was) required to connect two switches (DCE) or two hosts (DTE) together.

"Auto" really didn't become popular (read: everywhere) until the era of gigabit ethernet. Gig-e uses all four pairs for both TX and RX, so the required logic for auto-mdix is already there. Prior to this, additional logic (read: additional costs) were required.