修复由 Windows XP 计算机托管的临时网络(MTU 问题)
我有以下问题。我通过创建一个临时无线网络,使用一台旧的 Windows XP 笔记本电脑作为某种无线路由器。它在我的 Win7 笔记本电脑上工作正常,但当我下班带上我的 MacBook Pro 时,我意识到虽然它找到并连接到网络,但它实际上只能显示一些 Google 服务,除此之外什么也没有。
有人告诉我,我应该尝试减少 Mac 上的 MTU。我这样做了并且成功了 - 我将其从 1500 减少到 1272 并且成功了。
问题仍然是另一台 WinXP 机器具有与 MacBook 基本相同的可访问性问题,而且我不能真正搞乱 MTU 设置。我的 iPod touch 也是如此,我必须越狱才能干扰 MTU。另外,MacBook偶尔会自动回到1500,每次都重新设置很烦人。
最奇怪的是,我以最标准的方式(使用 XP 向导)创建了这个临时网络,而没有进行任何时髦的配置或其他操作。然而,看起来它甚至不允许一台 Win XP 计算机连接到另一台 Win XP 计算机。
请帮忙。我确实需要将这台笔记本电脑用作路由器,但目前购买标准 WiFi 路由器并不是一种选择。
I have the following problem. I use an old Windows XP laptop as some sort of a wireless router by creating an ad-hoc wireless network. It works OK with my Win7 laptop, but when I brought my MacBook Pro from work I realized that although it finds and connects to the network, all it could actually show were a few Google services, and nothing else.
Someone told me that I should experiment with reducing the MTU on the Mac. I did so and it worked - I reduced it from 1500 to 1272 and it worked.
the problem is still that another WinXP machine has basically the same accessibility problems as the MacBook had, and there I cannot really mess with the MTU settings. Same applies for my iPod touch, which I have to jailbreak in order to mess with the MTU. Plus, the MacBook occasionally goes back to 1500 by itself, and it is very annoying to reset it every single time.
The strangest thing is that I created this ad-hoc network in the most standard way possible (using the XP wizards), without making ay funky configuration or something. Yet, as it seems, it doesn't even allow a Win XP machine to connect to another Win XP machine.
Please, help. I really need to use this laptop as a router, and currently buying a standard WiFi one is not an option.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用 ICS 会在你的 XP 机器上创建一个类似“路由器”的东西,也就是说,它会为它后面的客户端分配地址(我相信是 192.168.137.x)(即通过你的 WiFi 接口来的),所以我不知道不知道更改硬线路由器上的 MTU 设置是否会有帮助,因为它不会向连接到 XP PC 的无线客户端分发地址。
如果您只需要无线客户端来访问互联网,您可能想尝试 Connectify (http://www.connectify.me/) - 它使用您的 WiFi 卡来创建热点。本质上与 ICS 的作用相同,但从我(诚然是短期)的使用来看,效果很好。
Using ICS will create a 'router' of sorts out of your XP machine, i.e., it will assign addresses (192.168.137.x, I believe) to the clients behind it (i.e., coming over your WiFi interface), so I don't know if changing the MTU settings on your hardline router will help because it's not handing out addresses to the wireless clients connecting to your XP PC.
You may want to try Connectify (http://www.connectify.me/), if you only need wireless clients to get access to the internet - it uses your WiFi card to create a hotspot. Essentially what ICS does, but works well from my (admittedly short-term) usage.
听起来您正在 XP 笔记本电脑上使用 Windows Internet 连接共享 (ICS)。这会增加数据包的开销,导致它们超出路由器预期的 MTU。
我假设您的网络上也有一个运行 DHCP 的路由器,用于向每个设备分发 IP 地址。查看路由器配置,您可以配置 DHCP 服务器分发的 MTU 值。如果是这样,请将其设置得足够低,以允许通过 XP 计算机连接的客户端增加的开销。
如果无法在路由器的 DHCP 配置中设置 MTU,另一种选择是关闭路由器的 DHCP 功能并在 Windows XP 计算机上安装 DHCP 服务器。我没有必要这样做,但我认为有适用于 Windows 的免费软件 DHCP 服务器。当然,获取一个允许配置 MTU 值的产品。 MTU 大小为 DHCP 选项 26。
It sounds like you are using Windows Internet Connection Sharing (ICS) on the XP laptop. This adds an overhead to packets that can cause them to exceed the MTU the router is expecting.
I presume that also on your network you have a router that is running DHCP to hand out IP addresses to each of the devices. Have a look in the routers configuration and see you can configure the MTU value that the DHCP server is handing out. If so, set it low enough to allow for the overhead added to clients connecting through the XP machine.
If it's not possible to set the MTU in the routers DHCP configuration, another option would be to turn off the DHCP function of the router and install a DHCP server on the Windows XP machine. I haven't had to do this but I think that there are freeware DHCP servers for Windows out there. Get one that allows for configuration of the MTU value, of course. The MTU size is DHCP option 26.
我认为这个问题可能是在XP防火墙中。 MTU 路径发现使用 ICMP 数据包(如 ping),这种类型的数据包在 Windows 上是被禁止的。您可以尝试完全关闭防火墙,看看是否有效?
I think, that this problem can be in XP firewall. MTU path discovery uses ICMP packets (like ping), and this type packet is on the Windows prohibited. Can you try to switch off firewall completely and see, if that works?