Medium-dependent interface
A medium-dependent interface (MDI) describes the interface (both physical and electrical/optical) in a computer network from a physical-layer implementation to the physical medium used to carry the transmission. Ethernet over twisted pair also defines a medium-dependent interface crossover (MDI-X) interface. Auto–MDI-X ports on newer network interfaces detect if the connection would require a crossover and automatically choose the MDI or MDI-X configuration to complement the other end of the link.
A medium-dependent interface (MDI) describes the interface (both physical and electrical/optical) in a computer network from a physical-layer implementation to the physical medium used to carry the transmission. Ethernet over twisted pair also defines a medium-dependent interface crossover (MDI-X) interface. Auto–MDI-X ports on newer network interfaces detect if the connection would require a crossover and automatically choose the MDI or MDI-X configuration to complement the other end of the link. ==Ethernet== The popular Ethernet family defines common medium-dependent interfaces. For 10BASE5, connection to the coaxial cable was made with either a vampire tap or a pair of N connectors. For 10BASE2, the connection to the coaxial cable was typically made with a single BNC connector to which a T-piece was attached. For twisted-pair cabling 8P8C, modular connectors are used (often called RJ45 in this context). For fiber, a variety of connectors are used depending on manufacturer and physical space availability. With 10BASE-T and 100BASE-TX, separate twisted pairs are used for the two directions of communication. Since twisted pair cables are conventionally wired pin to pin (straight-through) there are two different pinouts used for the medium-dependent interface. These are referred to as MDI and MDI-X (medium-dependent interface crossover). When connecting an MDI port to an MDI-X port, a straight-through cable is used, while to connect two MDI ports or two MDI-X ports, a crossover cable must be used. Conventionally, MDI is used on end devices and routers while MDI-X is used on hubs and switches. Some hubs and switches have an MDI uplink port (often switchable) to connect to other hubs or switches without a crossover cable.
References
No reference rows published for this article.
Cite this article
MLA
"Medium-dependent interface." encyclopegia.org, 2025, https://encyclopegia.org/wiki/medium-dependent-interface. Accessed 24 November 2026.
Chicago
"Medium-dependent interface." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/medium-dependent-interface.
APA
encyclopegia.org. (2025). Medium-dependent interface. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/medium-dependent-interface
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON