La séance de questions et réponses d’aujourd’hui nous est offerte par SuperUser, une sous-division de Stack Exchange, un groupe de sites Web de questions-réponses dirigé par la communauté.
Photo gracieuseté de Dom Pates (Flickr).
La question
Le lecteur superutilisateur User576476 veut savoir pourquoi des appareils similaires utilisent des câbles croisés au lieu de câbles droits:
Why do similar devices use a cross-over cable instead of a straight-through cable?
Pourquoi des appareils similaires utilisent-ils des câbles croisés au lieu de câbles droits?
La réponse
Eric F, contributeur de SuperUser, a la solution pour nous:
Definition of a Cross-Over Cable
A cross-over cable is typically used between devices with the same type of interface (i.e. computer to computer, router to router). Ethernet cables are usually made as an A or B-type interface (which simply means how it is wired).
What is Happening
Basically, what is happening is that the “send” and “receive” are switched so that one of the devices “send” wires goes to the other device’s “receive” wire, and visa versa with the other wire. In reality, the wires are in pairs, so there are two wires for send and two wires for receive.
If you were to use a straight-through cable (where the wires are all-in-line), then a “send” would be going to a “send” and a “receive” to a “receive”, so the devices would not be able to communicate.
Auto MDI-X
Keep in mind that many modern devices use Auto MDI-X, which is a way for a device to automatically switch the wiring method on its own. If either device on the two ends of the Ethernet cable have Auto MDI-X, then it does not matter if you use a cross-over or straight-through cable. Auto MDI-X was introduced in Gigabit Ethernet, so if either of your devices uses Gigabit, such as routers or computers, it has an extremely high chance of having Auto MDI-X already on it.
Avez-vous quelque chose à ajouter à l'explication? Sound off dans les commentaires. Voulez-vous lire plus de réponses d'autres utilisateurs de Stack Exchange doués en technologie? Découvrez le fil de discussion complet ici.