直通电缆主要用于_为什么类似的设备使用交叉电缆而不是直通电缆?

直通电缆主要用于

直通电缆主要用于

why-do-similar-devices-use-cross-over-cables-instead-of-straight-through-ones-00

When linking similar devices to one another, you may wonder why one specific type of cable is used rather than another one. With that in mind, today’s SuperUser Q&A post has the answer to a curious reader’s question.

当将相似的设备彼此链接时,您可能想知道为什么使用一种特定类型的电缆而不是另一种。 考虑到这一点,今天的SuperUser Q&A帖子回答了一个好奇的读者的问题。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

Photo courtesy of Dom Pates (Flickr).

照片由Dom Pates(Flickr)提供

问题 (The Question)

SuperUser reader user576476 wants to know why similar devices use cross-over cables instead of straight-through ones:

SuperUser阅读器user576476想知道为什么类似的设备使用交叉电缆而不是直通电缆:

Why do similar devices use a cross-over cable instead of a straight-through cable?

为什么类似的设备使用交叉电缆代替直通电缆?

Why do similar devices use cross-over cables instead of straight-through ones?

为什么类似的设备使用交叉电缆而不是直通电缆?

答案 (The Answer)

SuperUser contributor Eric F has the answer for us:

超级用户贡献者Eric F为我们提供了答案:

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).

具有相同接口类型的设备(即计算机到计算机,路由器到路由器)之间通常使用交叉电缆。 以太网电缆通常制成A型或B型接口(这仅表示其接线方式)。

why-do-similar-devices-use-cross-over-cables-instead-of-straight-through-ones-01

A cross-over cable simply has an A-type on one end and a B-type on the other end.

交叉电缆的一端仅是A型,而另一端是B型。

why-do-similar-devices-use-cross-over-cables-instead-of-straight-through-ones-02

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

自动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.

请记住,许多现代设备都使用Auto MDI-X,这是设备自行自动切换接线方法的一种方式。 如果以太网电缆两端的任一设备都具有Auto MDI-X,则使用交叉电缆或直通电缆都没有关系。 Auto MDI-X是在千兆位以太网中引入的,因此,如果您的任何设备(例如路由器或计算机)都使用千兆位,则极有可能已经安装了Auto MDI-X。



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/250025/why-do-similar-devices-use-cross-over-cables-instead-of-straight-through-ones/

直通电缆主要用于

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值