网件交换机设置trunk

You change something months ago, then noticed an unrelated problem weeks later, then it takes a year to figure out that they were related.

您在几个月前进行了更改,然后在几周后发现了一个不相关的问题,然后花了一年的时间才弄清它们是否相关。

"A butterfly flaps its wings in Brazil and my Xbox stops getting a DHCP lease reliably."

“一只蝴蝶在巴西扇动翅膀,而我的Xbox却无法可靠地获得DHCP租约。”

A few months back, as my wife recalls, the Xbox in the living room stopped automatically logging into Xbox live. It was irritating in that "First World Problem" kind of way. We use the Xbox for Netflix and Hulu and she uses Zumba and some other Kinect Fitness stuff so it was a daily reminder to me that "Daddy is a lousy IT guy."

正如我妻子回忆的那样,几个月前,客厅中的Xbox停止自动登录Xbox Live。 这种“第一世界问题”的方式令人恼火。 我们将Xbox用于Netflix和Hulu,而她使用Zumba和其他Kinect Fitness产品,因此每天都在提醒我:“爸爸是一个糟糕的IT专家。

I don't remember when it stopped working other than it did. I set static leases in the main router. Then I set static IP addresses in the router. The ONLY thing that would fix it was to get the Xbox to Refresh/Renew the IP Address (even when it was static!) by going into the System menu of My Xbox, then Network Settings, Configure Network, then Additional Settings, then Restore to Factory Defaults. <sarcasm>Let me say that the wife LOVED this.</sarcasm>

我不记得它什么时候停止工作了。 我在主路由器中设置了静态租约。 然后,我在路由器中设置静态IP地址。 唯一可以解决该问题的方法是,通过进入“我的Xbox”的“系统”菜单,“网络设置”,“配置网络”,“其他设置”,“还原”,使Xbox刷新/更新IP地址(即使它是静态的!)。恢复出厂默认设置。 <sarcasm>让我说妻子喜欢这个。</ sarcasm>

Unrelated to this issue, a few weeks back I lost some save games on my now dead PS3 so tonight I decided to go and backup all my Xbox save games onto a new USB stick. I started with the Xbox in my office, but it wouldn't log in. This set off a spark in my head. I've got literally 34 happy devices with IP Addresses in my house (don't ask) from various vendors but the two Xboxen won't login? OK, that can't be me.

与这个问题无关,几周前,我在已经死了的PS3上丢失了一些保存游戏,所以今晚我决定去将所有Xbox保存游戏备份到新的USB记忆棒上。 我从办公室里的Xbox开始,但无法登录。这在我脑海中燃起了火花。 我家中有34个带有IP地址的快乐设备,这些设备带有IP地址(不要问),但是有两个Xboxen无法登录? 好,那不可能是我。

At this point, of course, I'm unable to login to Xbox live easily so I get irritated and decide that I will shift gears and finally get this thing fixed.

当然,在这一点上,我无法轻松登录Xbox Live,所以我很恼火,并决定换档并最终解决此问题。

Even though there's no realistic way that I will bust out the IP Networking textbook from college, hook up WireShark and start sniffing traffic, I like to fool myself into believing that I am that good of a technologist (or that I care THAT much) but the thought brings me comfort.

即使没有切实可行的方法可以使我摆脱大学的IP网络教科书,连接WireShark并开始嗅探流量,但我还是自欺欺人地认为自己是技术专家的佼佼者(或者我非常在乎)这个想法带给我安慰。

I start following the wires around from the Xbox to the router, as they are all numbered and labeled in the wiring closet.

我开始跟踪从Xbox到路由器的所有导线,因为它们都在配线柜中进行了编号和标记。

Aside: Here's a Bit.ly Bundled Link of the complete "Wiring your house for Gigabit Ethernet 5 PART SERIES" when I wired my house a few years back.

另外:这是几年前我为房屋布线时完整的“为千兆以太网5部分系列为房屋布线”的捆绑链接

However, I get lost as there's just so darn many wires in the wiring closet. It's getting crowded.

但是,我迷路了,因为配线室里的电线太多了。 越来越拥挤。

I realize, however, that the wires aren't going directly into main Router that gives out IP addresses. They are actually plugged into a lovely Netgear 24-port Gigabit GS724TP Managed Switch. Because I wired the whole house for Gigabit and wanted basically hard drive speeds on the wire, I needed a switch with the chutzpah to push a lot of bandwidth, and this switch was the one. All the wires in the house go into it - including the Xboxen. But which ones?

但是我意识到,这些电线并没有直接进入分配IP地址的主路由器。 它们实际上已插入可爱的Netgear 24端口千兆GS724TP网管型交换机中。 因为我将整个房子都连接到千兆位,并且基本上希望提高硬盘速度,所以我需要一个带有chutzpah的交换机来推动大量带宽,而这个交换机就是其中之一。 房屋中的所有电线都插入其中-包括Xboxen。 但是哪一个呢?

I needed to figure out which cables were the two Xbox cables and plug them directly into the router. I know the MAC addresses of both Xboxes so I logged into the switch's admin console. After failing to remember the password (I set this up 4 years ago, you know) and starting to panic, I tried "password" out of frustration. It worked.

我需要弄清楚两条Xbox电缆是哪根电缆,然后将它们直接插入路由器。 我知道两个Xbox的MAC地址,所以我登录了交换机的管理控制台。 在忘记密码(我在4年前设置了密码)并开始感到恐慌之后,我出于无奈而尝试了“密码”。 有效。

It shouldn't have.

它不应该。

Why was my password a default password?

为什么我的密码是默认密码?

Something had changed. Oh! I flashed the firmware on this GS724TP switch last year with version 5.0.0.15. It must have reset everything to the defaults.

事情发生了变化。 哦! 去年,我在GS724TP交换机使用版本5.0.0.15刷新了固件。 它必须将所有内容重置为默认值。

Now that I was logged in, I checked out the list of all the MAC Addresses and their associated ports.

现在,我已经登录,我签出了所有MAC地址及其关联端口的列表。

OK, so the two consoles are plugged into Ports 14 and 22, so I found them and moved the cables to plug directly into my router, rather than the managed switch.

好的,因此将两个控制台分别插入端口14和22,所以我找到了它们,并移动了电缆以将其直接插入路由器,而不是管理型交换机。

They worked. Suddenly a year of obnoxious just stopped. Why?

他们工作了。 突然令人讨厌一年停了下来。 为什么?

What would cause one device (or class of device) to not get an IP address consistently via DHCP?

是什么导致一台设备(或一类设备)无法通过DHCP始终获得IP地址?

There's an article on Windows 2000 called DHCP Renewal Failures on Switched Networks that sounds familiar.

在Windows 2000上有一篇名为《交换网络上的DHCP更新失败》的文章听起来很耳熟。

A client connected to an Ethernet switch may not receive a renewed DHCP IP address during startup. Releasing and renewing the IP address manually works.

启动期间,连接到以太网交换机的客户端可能不会收到更新的DHCP IP地址。 手动释放和更新IP地址是可行的。

There's apparently a magical thing called STP (Spanning Tree Protocol) that is very useful but also totally confusing to me. I have read this Wikipedia twice and I have no idea what it does. I'm sure it's lovely, really.

显然有一种神奇的东西叫做STP(生成树协议) ,它非常有用,但也让我完全困惑。 我已经阅读了两次维基百科,但我不知道它的作用。 我敢肯定,这真的很可爱。

The Spanning Tree Protocol (STP) is a network protocol that ensures a loop-free topology for anybridged Ethernet local area network.

生成树协议( STP )是一种网络协议,可确保任何桥接的无环拓扑 乙太网路 局域网

Of COURSE it is.

当然是这样。

O_O

O_O

That is my blank stare, right there, FYI.

仅供参考,那是我的空白凝视。

Interestingly, if you Google with Bing or DuckDuckGo for "spanning tree DHCP" you'll get results with words like "failure," "blamed," "fixed, "slowed down," and "acting strange." Ya, spanning tree rocks.

有趣的是,如果您使用Bing或DuckDuckGo的Google来进行“生成树DHCP”操作,您将获得诸如“失败”,“责备”,“固定”,“速度慢”和“动作奇怪”之类的结果。 。

There's also a version of Spanning Tree called RSTP or Rapid Spanning Tree Protocol. All of these protocols are meant to make things work better and recover faster after a network failure and prevent routing loops. However, they appear to cause some trouble in certain clients, like my Xbox and possibly my iPhone and IPad as well.

还有一个称为RSTP或快速生成树协议的生成树版本。 所有这些协议的目的是使事情变得更好,并在网络故障后更快地恢复,并防止路由环路。 但是,它们似乎在某些客户端(例如我的Xbox和我的iPhone和iPad)上引起了一些麻烦。

Here's another explanation:

这是另一个解释:

The problem might be related to what type of network device the DHCP client is connected to. If the client is connected to a switch that performs a spanning tree calculation during port initialization, then the port the client is connected to may not be available for 10-15 seconds. This is long enough to prevent the DHCP client from renewing or obtaining IP addressing information, and thus preventing the TCP/IP stack from initializing.

问题可能与DHCP客户端连接到哪种网络设备有关。 如果客户端连接到在端口初始化期间执行生成树计算的交换机,则客户端连接的端口可能在10到15秒钟内不可用。 这足够长,可以防止DHCP客户端更新或获取IP地址信息,从而防止TCP / IP堆栈初始化。

This is not a problem on all switches that perform spanning tree calculations. Some devices will perform the calculations in the background, and thus the port becomes available immediately. Also, this type of functionality is only required on ports that are connected to other switching devices. Therefore you don't really need it enabled on ports that have clients directly connected to them

在执行生成树计算的所有交换机上这不是问题。 某些设备将在后台执行计算,因此该端口将立即可用。 此外,仅在连接到其他交换设备的端口上才需要这种功能。 因此,您实际上不需要在直接将客户端连接到的端口上启用它

A buddy of mine says:

我的一个伙伴说:

[Spanning Tree is] not bad, but it is there to prevent routing loops. If you are sure you won't ever connect that port to another switch and make a routing loop, an alternative to disabling spanning tree is to enable portfast and I bet that would fix it too. The problem is the normal startup procedure for a port running spanning tree is about 20-25 seconds of watching traffic on the port before enabling. Thus, when you turn your Xbox on, it only waits x seconds for a DHCP reply where x is definitely shorter than the time spanning tree takes to enable the port.

[生成树]不错,但是可以防止路由循环。 如果您确定永远不会将该端口连接到另一台交换机并进行路由循环,则禁用生成树的另一种方法是启用portfast,我敢打赌也可以修复该问题。 问题在于,运行生成树的端口的正常启动过程是在启用端口之前观察端口流量约20-25秒。 因此,当您打开Xbox时,它仅等待x秒进行DHCP答复,其中x肯定比启用端口所需的时间短。

Also, deep in this Australian forum was a comment:

另外,在这个澳大利亚论坛的深处有一条评论:

Just to clarify that RSTP has a faster up time than STP. I don't think this is going to directly cause the "limited or no connectivity" issue.

只是为了澄清一下,RSTP的启动时间比STP快。 我认为这不会直接导致“连接受限或无连接”的问题。

However for some devices you need to have the port active right away. On a cisco switch this is called portfast and it skips the process of checking for loops(RSTP, STP). On some devices (xbox 360) this can cause DHCP issues when they're first turned on.

但是,对于某些设备,您需要立即启用端口。 在cisco交换机上,这称为portfast,它跳过检查循环(RSTP,STP)的过程。 在某些设备(xbox 360)上,这可能在首次打开时导致DHCP问题。

PCs are generally immune to this as they'll poll for a DHCP service several times while your media device might only try once.

PC通常不会受到影响,因为它们会轮询DHCP服务几次,而您的媒体设备可能只会尝试一次。

And thus, this is how I fixed the issue with my Xboxes not logging into Live on the first try. I'd flashed a network switch without even thinking and it turned Rapid Spanning Tree Protocol on, which Xboxes (and some other network devices) don't like.

因此,这就是我如何解决Xbox首次尝试不登录Live的问题。 我什至没有想到就闪过一个网络交换机,它打开了快速生成树协议,而Xbox(和其他一些网络设备)不喜欢它。

My solution, check the router or switch and turn RSTP or "Spanning Tree" off.

我的解决方法是,检查路由器或交换机,然后关闭RSTP或“生成树”。

As an aside, it turns out that I could have even turned off RSTP at the port level on this Netgear GS725TP switch. Amazing hardware, this switch. Love it. Except for when it reset settings to defaults and irritated me for a year.

顺便说一句,事实证明,我什至可以在此Netgear GS725TP交换机的端口级别上关闭RSTP。 惊人的硬件,这个开关。 爱它。 除了何时将设置重置为默认值并激怒了我一年。

Related Links

相关链接

  • Wiring the new house for a Home Network

    为新房子布线以实现家庭网络

  • Wiring the new house for a Home Network - Part 2 - Design Q&A

    为家庭网络布线新房屋-第2部分-设计问答

  • Wiring the new house for a Home Network - Part 3 - ISP Hookup

    为家庭网络连接新房子-第3部分-ISP连接

  • Wiring the house for a Home Network - Part 4 - Thank You Cat 6 Gigabit Ethernet

    为家庭网络布线-第4部分-谢谢Cat 6千兆以太网

  • Wiring the house for a Home Network - Part 5 - Gigabit Throughput and Vista

    为家庭网络布线-第5部分-千兆吞吐量和Vista

翻译自: https://www.hanselman.com/blog/xbox-360-wont-auto-login-to-live-fixed-due-to-rstp-and-spanning-tree-setting-in-a-netgear-managed-gs724tp-switch

网件交换机设置trunk

网件交换机设置trunk_Xbox 360不会自动登录到实时状态-已修复,因为NetGear托管GS724TP交换机中的RSTP和生成树设置相关推荐

  1. HTML用cookie实现自动登录,用cookie实现websocket自动登录,session状态保留。

    原标题:用cookie实现websocket自动登录,session状态保留. 会话状态的保留,即登录状态保持,是很常见.很常用的功能. 本文将介绍,在NodeJS开发中,如何实现websocket连 ...

  2. 如何设置使Windows XP实现自动登录

    你正在使用Windows XP系统么?你为你的系统设置了帐户和密码么?是否有的时候觉得每次登录时都要输入用户名和密码有点烦呢?那么今天向大家介绍一个小工具来帮助大家实现自动登录Windows XP操作 ...

  3. 远程桌面怎么记住登录计算机,电脑设置让远程桌面连接自动登录的方法

    微软自带的远程桌面连接功能给很多用户带来了很大便利,提供了多数人一种学习和工作的新方式.我们可以在其他地方通过远程桌面控制,轻松地控制自己的电脑,但每次登录前都需要输入用户名和密码,如果可以让电脑记住 ...

  4. Jetson Nano非GUI界面自动登录设置(CLI命令行自动登录)

    为了能最大效率的利用Jetson Nano的显存,我们可以摈弃掉Jetson Nano的GUI图形界面功能,这样,Jetson Nano就可以有更多的资源用来做AI推理运算了(所有对Jetson Na ...

  5. Python—selenium实现自动打开360浏览器并自动登录社保网站

    使用selenium打开360浏览器需要一点技巧,因为360浏览器其实是Chrome的内核,所以需要先查清楚对于的内核版本,打开帮助-关于360浏览器,如下 查到内核版本为78.0-,于是到这个网站下 ...

  6. 360云盘自动登录、获取免费空间、上传并分享文件得积分[二]

    新博客地址:http://gorthon.sinaapp.com/ # _*_ encoding:utf-8 _*_ # author: 书记 # email: bh2[at]qq[dot]comim ...

  7. linux lightdm自动登录,设置了XFCE/lightDM启用自动登录,还是需要'点击'登录两字才能进入桌面...

    xtricman 说:建议管理员移动至其他发行版 建议登录进桌面后贴一下本次启动的lightdm服务日志 你看你做的跟英文版 Wiki描述不一致,你不会添加用户到组的时候连#都输入了吧,你看不懂Wik ...

  8. 校园网的实现 java_北科校园网开机自动登录的JAVA实现(已修正)

    import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import  ...

  9. Android版Skype爆出自动接听功能臭虫 微软已修复

    一月底传出iPhone上的FaceTime有隐私漏洞,在电话未接通时,发话方即可接获接话方的影像与声音.而Android版的Skype也爆出这个问题,所幸微软已经修复.事情源起为Skype的自动来电接 ...

最新文章

  1. Java注解基本原理
  2. oracle11g之管理oracle数据库笔记(理论基础知识)
  3. 深入理解计算机系统(3.2)---数据格式、访问信息以及操作数指示符
  4. 详细分析Memcached缓存与Mongodb数据库的优点与作用
  5. [导入].net分布式事务例子
  6. POJ 3252 数位DP
  7. 一.redis 环境搭建
  8. gentoo 安装mongodb
  9. 2018 牛客多校 2
  10. 教你在官网如何下载jdk
  11. android kmplayer,KMPlayer Pro — 安卓本地影音全能播放器
  12. 【STM32Cube_13】使用硬件I2C读写EEPROM(AT24C02)
  13. #2 – Rendering Tiers(WPF渲染级别)
  14. Cadence 17.4 中文菜单
  15. HGAME2020第一周杂项题——克苏鲁神话
  16. (最简单)Java 格式化数字每3位加逗号分隔(自己封装好的工具类,直接可用)
  17. 计算机电脑关机后可以充电吗,电脑关机了还能充电吗
  18. 把数字金额转换成中文大写数字
  19. sprintf在c语言中的作用,c语言中sprintf的用法
  20. 利用开源古诗词数据集做诗词查询器,给孩子语文作业做辅助

热门文章

  1. 手机照片积压过万,如何用便捷的方式去整理和再度呈现?
  2. TX Text Control ActiveX 29.0 sp3-支持32/64位
  3. 第5周作业(杨辉三角形,队列元素逆置,银行排队——队列,整数划分问题,买票问题——卡特兰数,小兔的棋盘——卡特兰数)
  4. 神经网络——反向传播BP算法应用案例
  5. springboot实现验证码功能
  6. CIO40: IT人之三观”不正、三十“南”立
  7. ZCMUOJ2014: 一生之敌 2017浙江中医药校赛(usigned long long )
  8. spring security 防CSRF攻击
  9. 30岁了,还能开始学习软件测试吗?
  10. ZIP文件压缩与解压缩