任何曾经玩过在线游戏的人都知道NAT类型是什么——它们通常没有很好的含义,因为NAT错误往往会阻止人们一起玩。处理双NAT时问题只会变得更糟。
双NAT不一定是坏事。您甚至可能没有注意到它,尽管它会给您一些应用程序和硬件带来一些无法预料的问题。其中一些与需要UPnP(通用即插即用(Universal Plug-and-Play))支持或手动端口转发的服务有关。
但究竟什么是双重NAT,您如何解决可能出现的问题?让我们在这里回答这两个问题。
什么是双 NAT?
NAT 是网络地址转换的缩写(NAT is short for Network Address Translation)。这就是您的路由器如何将公共IP((IP–the)由您的Internet 服务提供商(Internet Service Provider–to)提供的整个网络)转换为您的计算机和家庭网络的私有 IP 地址的方式。路由器负责NAT。
当您向网络添加第二个路由器时(second router to the network),您将创建第二个NAT。在许多情况下,双NAT不会产生问题——但是,它确实使端口转发几乎不可能,并且可能导致通用即插即用问题。
也就是说,如果它确实给您的网络造成了问题,您可以采取一些步骤。
从您的网络(Your Network)中删除ISP 路由器(ISP Router)
纠正双重NAT的最简单解决方案是移除导致问题的路由器之一。如果您插入了两台路由器,但您并不真正需要一台,只需使用您的 ISP 提供的路由器即可。
但是,如果您是用电者,那么此解决方案可能不是您的最佳选择。ISP提供的路由器缺少更昂贵的选项所具有的功能。在这种情况下,您可以从网络中删除您的ISP路由器。
将调制解调器的网线连接到个人路由器的WAN端口。插入网络后,您需要登录路由器的设置菜单并进行配置。
如何配置您的路由器(How to Configure Your Router)
通过在URL(URL)栏中输入路由器的 IP 地址,您可以通过浏览器登录路由器。大多数路由器使用 192.168.1.1 作为默认 IP,但这会有所不同。如果不确定,则需要找到路由器的 IP 地址。
(Bring)通过在运行中键入(Run. )cmd在您的 PC 上打开命令(cmd)行终端。出现终端后,输入ipconfig。在出现的屏幕中,向下滚动直到找到Default Gateway。旁边的数字是路由器的 IP 地址。
找到地址后,您需要使用路由器的用户名和密码登录。这通常位于设备底部,但您可以根据需要更改默认用户名和密码。
登录后,您将需要更改各种设置,但这些设置因您的路由器和ISP而异。如果您不确定如何继续,请联系您的ISP寻求帮助或查看他们的网站 - 大多数服务提供商都有在线用户可用的详细信息。
在路由器上启用桥接模式
双NAT问题的另一种解决方案是在路由器上配置桥接模式。(Bridge Mode)桥接模式(Bridge Mode)禁用路由器的NAT功能并允许它充当服务器而不会发生 IP 地址冲突——换句话说,它会传递初始路由器的设置。
在某些情况下,您将无法访问它,特别是如果您使用ISP提供的路由器。您将不得不致电您的ISP并请求将您的路由器置于桥接模式(Bridge Mode)。但是,如果您可以在路由器中配置设置,则很容易进行切换。
(Log)通过浏览器登录路由器以访问其配置设置。登录后,寻找启用桥接模式(Bridge Mode)的选项。这取决于您的路由器,位于不同的位置,但有时它就像单击启用一样简单。(Enable.)当然,在启用路由器后配置路由器有时会更加困难。
如何在 Xbox 上修复双重 NAT
双 NAT 确实存在问题的一个地方是游戏。例如,许多Xbox One用户遇到了一条错误消息,告诉他们在他们的网络上检测到 双重NAT 。
在游戏中,您需要一个 Open NAT或Nat Type 1。这允许最广泛的兼容性,并允许您加入任何人的游戏或会话。如果您有中等 NAT(Moderate NAT)或Nat Type 2,您可以连接到大多数会话,但功能有限。
NAT Type 3或Strict NAT是问题所在。这使得几乎不可能加入某人的游戏。当然,单人游戏仍然是一种选择,但尝试加入在线比赛会带来困难。
在尝试玩多人游戏时,双重NAT会产生问题,甚至可能会阻止您的 Xbox 连接到互联网。(NAT)当您收到此错误时,您需要通过删除其中一个路由器或启用桥接模式(Bridge Mode)来消除此问题,如上所示。
另一种解决方案是使用以太网(Ethernet)电缆将Xbox直接连接到路由器。在大多数情况下,这将消除双重NAT问题——只需使用网络上的第一个路由器,而不是第二个,作为硬连线点。
所有这些解决方案都可以解决双重NAT错误。在大多数情况下,您的网络上不需要第二个路由器。如果您原来的路由器不够强大,无法在整个家庭中广播网络,您可以使用备用路由器作为 WiFi 扩展器(spare router as a WiFi extender)。
What Is Double NAT and How to Fix It on a Network
Anyone that has ever played a game online knows what a NAT type is – and they usually don’t hаve good implicatiоns, as NAT errоrs tend to prevent people from playing together. The problem only gets worse when dealing with a double NAT.
Double NAT isn’t necessarily bad. You might not even notice it though it can give you some unforeseen problems with some applications and hardware. Some of them are related to services that need UPnP (Universal Plug-and-Play) support or manual port forwarding.
But what exactly is a Double NAT and how can you fix the issues that can arise? Let’s answer both questions here.
What is a Double NAT?
NAT is short for Network Address Translation. This is how your router translates the public IP–the overall network provided by your Internet Service Provider–to the private IP address for your computer and home network. The router is responsible for the NAT.
When you add a second router to the network, you create a second NAT. In many cases, having a double NAT doesn’t create problems–however, it does make port forwarding all but impossible and can cause issues with universal plug and play.
That said, if it does create problems with your network, there are a few steps you can take.
Remove the ISP Router From Your Network
The simplest solution for correcting a double NAT is to get rid of one of the routers that is causing the problem. If you have two routers plugged in, but you don’t really need one, just use your ISP’s provided router.
If you’re a power use, though, this solution likely isn’t the best option for you. ISP-provided routers lack features that more expensive options have. In that case, you can remove your ISP router from the network.
Connect the network cable from your modem to the WAN port on your personal router. Once you have plugged the network in, you will need to log into your router’s settings menu and configure it.
How to Configure Your Router
You log into your router through a browser by typing your router’s IP address into the URL bar. Most routers use 192.168.1.1 as the default IP, but this varies. If you aren’t sure, you need to find the IP address of your router.
Bring up the command line terminal on your PC by typing cmd into Run. Once the terminal appears, type in ipconfig. In the screen that appears, scroll down until you find Default Gateway. The number beside that is the IP address of your router.
Once you find the address, you will need to log in using the username and password for your router. This is typically on the bottom of the device, but you can change the username and password off the default if you like.
Once you have logged in, you will need to change various settings, but these settings differ depending on your router and ISP. If you aren’t sure how to proceed, contact your ISP for assistance or check their website–the majority of service providers have detailed information available for users online.
Enable Bridge Mode on Your Router
Another solution to the double NAT problem can be found in configuring Bridge Mode on your router. Bridge Mode disables the router’s NAT feature and allows it to act as a server without an IP address conflict–in other words, it passes along the settings of the initial router.
In some cases, you will not have access to this, especially if you use an ISP-provided router. You will have to call your ISP and request your router be placed into Bridge Mode. However, if you can configure the settings within your router, it’s an easy switch to make.
Log into your router through your browser to access its configuration settings. Once you have logged in, look for the option to enable Bridge Mode. This is in a different place depending on your router, but sometimes it is as simple as click Enable. Of course, configuring the router after you have it enabled it is sometimes more difficult.
How to Fix Double NAT on Xbox
One place where a double NAT does present a problem is in gaming. For example, many Xbox One users have experienced an error message that tells them a double NAT was detected on their network.
In gaming, you want an Open NAT, or Nat Type 1. This allows the widest range of compatibility and lets you join anyone’s game or session. If you have a Moderate NAT, or Nat Type 2, you can connect to most sessions but will have limited functionality.
NAT Type 3, or Strict NAT, is the problem. This makes it all but impossible to join someone’s game. Sure, single-player gaming is still an option, but trying to join an online match will pose difficulties.
A double NAT will create problems when trying to play anything multiplayer, and might even stop your Xbox from connecting to the internet. When you receive this error, you will need to eliminate the issue by either removing one of the routers or by enabling Bridge Mode as shown above.
Another solution is to connect the Xbox directly to your router with an Ethernet cable. In most cases, this will eliminate the double NAT issue–just use the first router on your network, not the second, as the hardwire point.
All of these solutions can work to solve a double NAT error. In most instances, you don’t need a second router on your network. If your original router isn’t strong enough to broadcast the network across your entire home, you can use a spare router as a WiFi extender.