本文共 2573 字,大约阅读时间需要 8 分钟。
wi-fi总是ip冲突
Your home network is likely packed with various Wi-Fi devices transmitting back to the Wi-Fi node; how does the the node handle all the traffic without all the incoming transmissions colliding?
您的家庭网络可能挤满了各种Wi-Fi设备,这些设备会传回到Wi-Fi节点。 节点如何处理所有流量,而所有传入传输都不冲突?
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网站分组。
Superuser reader Zequez is curious how his Wi-Fi node seems to function so smoothly and why the data does appear to collide, he writes:
他写道:超级用户读者Zequez很好奇他的Wi-Fi节点如何运行得如此顺畅,以及为什么数据确实出现冲突,他写道:
I mean, I know each packet is sent with a MAC address, but what about streaming?
我的意思是,我知道每个数据包都发送了一个MAC地址,但是流传输呢?
What happen if while the router is receiving one packet, a packet from another device arrives?
如果当路由器接收一个数据包,而另一设备的数据包到达时会发生什么呢?
How can the router knows that the photons colliding into the antenna are part of the first packet or the second packet?
路由器如何知道碰撞到天线的光子是第一个数据包还是第二个数据包的一部分?
Or is it that the speed of light is so fast that this almost never happen and the packets are just reported as corrupt and are sent again?
还是光速如此之快以至于这种情况几乎永远不会发生,并且数据包只是被报告为已损坏并再次发送?
What keeps all those wirelessly delivered packets in order? Let’s dig a little deeper.
是什么使所有这些无线传递的数据包井然有序? 让我们深入一点。
SuperUser contributor Ultrasawblade offers the following answer with helpful links for further reading:
超级用户贡献者Ultrasawblade提供以下答案以及有用的链接,以供进一步阅读:
In a wireless network, only one device is actually “speaking” at once. Each other device listens and waits for the air on that channel to be quiet before speaking. This technique is called carrier .
在无线网络中,实际上只有一个设备同时在“讲话”。 对方设备会监听并等待该通道上的广播安静后再讲话。 该技术称为载波 。
An RTS/CTS exchange helps all the nodes stay in sync efficiently by providing a way for one node to say “hey, I’m going to talk for this long so wait this long” to every other node.
RTS / CTS交换通过为一个节点向其他每个节点说“嘿,我要聊这么久,等那么久”,来帮助所有节点有效地保持同步。
@Petr Abdulin is correct but I think all Wifi networks use CSMA/CA. Old 10BaseT non-switched wired networks relied on . Collisions don’t happen on networks where all nodes are connected to a switch.
@Petr Abdulin是正确的,但我认为所有Wifi网络都使用CSMA / CA。 旧的10BaseT非交换有线网络依赖于 。 所有节点都连接到交换机的网络上不会发生冲突。
Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out .
有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 查看 。
翻译自:
wi-fi总是ip冲突
转载地址:http://ruuwd.baihongyu.com/