每当您遇到互联网问题时,原因可能是多方面的。但是,有时,修复只是简单地释放和更新您的 IP 地址。
释放和更新您的 IP 地址是什么意思?在本文中,您将了解此过程的工作原理,以及如何在Windows 10上执行此操作。
为什么要发布和更新 IP 地址?(Why Release & Renew An IP Address?)
当您的家用路由器连接到 Internet 时,您的Internet 服务提供商(Internet Service Provider)( ISP ) 会为您的路由器分配一个 IP 地址。这是您家中唯一直接从您的ISP接收 IP 地址的设备。这也是所谓的“公共 IP 地址(public IP address)”。
然后,您的路由器将 IP 地址分配给家庭网络内的各个设备,位于其自己的子网络上。这些通常遵循标准约定,例如 192.168.0.X。X 是随机分配的,从路由器本身的 1 到 255。
每个设备都可以释放和更新其分配的 IP 地址。
- 您可以让您的路由器释放其分配的 IP 地址并从ISP(ISP)处获取一个新地址。
- 您可以让网络上的设备释放其分配的 IP 地址并从路由器获取新的 IP 地址。
IP地址的释放和更新由设备本身触发,网管设备(路由器或ISP)自动分配一个新的IP地址。
为什么有人需要这样做?有几个原因。
- 重新配置路由器有时会中断某些已连接设备的互联网连接,更新这些设备上的 IP 地址将解决此问题。
- 任何计算机上的一般互联网连接问题通常可以通过更新 IP 地址来解决。
- 如果网站或论坛阻止了您路由器的互联网 IP 地址,则更新路由器的 IP 地址将绕过该阻止。
- 释放和更新计算机的 IP 地址可以解决许多一般性的小故障和问题。
释放和更新路由器上的 IP 地址(Release & Renew IP Address On a Router)
请记住,当您告诉路由器释放其 IP 地址时,它会失去与 Internet 的连接。而且由于路由器将此互联网连接“路由”到与其连接的所有设备,所有这些设备也将失去与互联网的连接。
去做这个:
- (Log)使用管理员帐户和密码以管理员身份登录路由器。
- 每个路由器都有自己的菜单系统。找到显示Internet连接状态的区域。例如在Netgear路由器中,选择Advanced,然后在Internet Port下选择Connection Status。
- 这将打开一个窗口,显示路由器互联网连接的当前状态。
- 在此窗口的底部,您将看到“发布(Release)”和“续订(Renew)”按钮。首先(First),选择Release将路由器当前的IP 地址释放回ISP。此时,路由器将不再具有活动的互联网连接。
- 选择更新(Renew)按钮从ISP获取路由器的新 IP 地址。您将看到一个新的IP 地址(IP Address)出现在窗口中。一旦你看到这个,这意味着你的路由器再次连接到互联网。
在其他路由器型号中,您可能需要查看WAN或Internet菜单以查找 Internet 连接状态,您将在其中看到“ Release ”和“ Renew ”按钮。
如果找不到它们,请查看路由器的手册或网站以获取更多信息。
请记住,如果更新路由器的 IP 地址不起作用,另一种选择是将无线路由器重置(reset your wireless router)为出厂默认设置。
在 Windows 上发布和更新 IP 地址(Release & Renew IP Address On Windows)
无论您使用的是Windows XP、7、8 还是 10,释放或更新 IP 地址的过程都是相同的。
- 启动命令提示符。
- 在命令提示符下,键入ipconfig/release。
- 您将看到显示断开连接状态的消息列表。这是正常的,这意味着您的网络适配器已失去与网络的连接。
- 仍然在命令提示符下,键入ipconfig/renew。
这将导致您的网络适配器连接到路由器并请求新的 IP 地址。路由器将通过为您的计算机分配 IP 地址来响应。
向下滚动(Scroll)到消息的底部,您应该会看到您的网络适配器现在分配了一个新的 IP 地址。
现在您的计算机有了新的 IP 地址,您可以使用浏览器重新连接到互联网并正常浏览网页。如果互联网还不能正常工作,您可能需要重新启动计算机。
在 Mac 上发布和更新 IP 地址(Release & Renew IP Address On Mac)
您还可以在MacOS上释放和更新您的 IP 地址,但您可以在(MacOS)TCP/IP设置中执行此操作,而不是使用命令提示符。
去做这个:
- 选择 Apple 按钮并选择System Preferences。
- 选择Internet 和网络下的(Internet and Network)网络(Network)图标。
- 在网络(Network)窗口 中选择 TCP/IP 选项卡。
- 在窗口的右侧,您会看到“续订 DHCP 租约(Renew DHCP Lease)”按钮。选择它。
这将一步释放和更新您的 IP 地址。选择确定(OK)退出网络(Network)窗口。也退出系统偏好设置(System Preferences)窗口。
您可能需要重新启动Mac才能完成发布和续订过程。
在移动设备上发布和更新 IP 地址(Release & Renew IP Address On Mobile)
在你的安卓设备(Android)上获取一个新的 IP 地址并不那么简单。您需要强制您的手机“忘记”它所连接的当前 Wi-Fi 网络。完成此操作后,它将释放其当前连接(和 IP 地址)。下次连接时,它会收到一个新的。
要在 Android 上执行此操作:
- 进入您的Android 设置(Android Settings)屏幕。
- 点击连接。(Connections.)
- 点击无线网络。(Wi-Fi.)
- 选择处于已连接(Connected)状态的Wi-Fi网络右侧的齿轮图标。(Gear)
- 在屏幕底部,点击忘记(Forget)垃圾桶图标。
这将断开与路由器的Wi-Fi连接。(Wi-Fi)当您通过重新添加Wi-Fi网络并使用您的Wi-Fi网络登录凭据登录来重新连接时,您的Android将收到一个新的 IP 地址。
要在 iPhone 上发布和更新 IP 地址,过程更加简单。
- 启动设置应用程序。
- 点击无线网络。(Wi-Fi.)
- 点击您当前连接的Wi-Fi网络右侧的i图标。(i)
- 点击续租(Tap Renew Lease)。在弹出窗口中再次点击更新版本。(Tap Renew Release)
这将释放然后更新您的 iPhone 在您的 Wi-Fi 网络上的 IP 地址。
如您所见,刷新您的计算机或移动设备在 Wi-Fi 网络上的 IP 地址非常容易。当您遇到网络或 Internet 连接问题(having network or internet connectivity issues)时,这通常是您应该尝试的第一件事。
How to Release and Renew an IP Address
Whenever you have internеt problems, thе cause could be a multitude of things. However, sometimes, the fix is a simple releaѕe and renew оf your IP address.
What does it mean to release and renew your IP address? In this article, you’ll learn how this process works, and how you can do it on Windows 10.
Why Release & Renew An IP Address?
When your home router connects to the internet, your Internet Service Provider (ISP) assigns an IP address to your router. This is the only device in your house that receives an IP address directly from your ISP. It’s also what’s known as your “public IP address”.
Your router then assigns IP addresses to individual devices inside the home network, on its own sub-network. These usually follow a standard convention, like 192.168.0.X. The X is assigned randomly, from 1 for the router itself, up to 255.
Every device has the ability to release and renew its assigned IP address.
- You can have your router release its assigned IP address and get a new one from the ISP.
- You can have devices on your network release their assigned IP address and get a new one from the router.
The release and renew of an IP address is triggered at the device itself, and the network management device (the router or the ISP) automatically assigns a new one.
Why would anyone need to do this? There are several reasons.
- Reconfiguring a router sometimes breaks the internet connection of some connected devices and renewing the IP address on those devices will fix the issue.
- General internet connection issues on any computer can often be fixed by renewing the IP address.
- If a website or forum has blocked your router’s internet IP address, renewing your router’s IP address will get around that block.
- Releasing and renewing your computer’s IP address can resolve a lot of general minor glitches and issues.
Release & Renew IP Address On a Router
Keep in mind that when you tell your router to release its IP address, it loses its connection to the internet. And since the router “routes” this internet connection to all devices connected to it, all of those devices will lose their connection to the internet too.
To do this:
- Log into your router as an administrator, using the admin account and password.
- Every router has its own menu system. Find the area that shows the Internet connection status. For example in the Netgear router, select Advanced and then select Connection Status under Internet Port.
- This will open a window showing the current status of the router’s internet connection.
- At the bottom of this window you’ll see the Release and Renew buttons. First, select Release to release the router’s current IP address back to the ISP. At this point, the router will no longer have an active internet connection.
- Select the Renew button to obtain a new IP address for the router from the ISP. You’ll see a new IP Address appear in the window. Once you see this, it means your router is connected to the internet again.
In other router models, you may need to look in the WAN or Internet menus to find the internet connection status where you’ll see the Release and Renew buttons.
If you can’t find them, check the router’s manual or website for more information.
Keep in mind that if renewing your router’s IP address doesn’t work, another option is to reset your wireless router back to factory default settings.
Release & Renew IP Address On Windows
Whether you’re using Windows XP, 7, 8, or 10, the process to release or renew an IP address is the same.
- Launch the command prompt.
- In the command prompt, type ipconfig/release.
- You’ll see a list of messages showing a disconnected status. This is normal and it means your network adapter has lost its connection to the network.
- Still in the command prompt, type ipconfig/renew.
This will cause your network adapter to reach out to the router and request a new IP address. The router will respond by assigning an IP address to your computer.
Scroll down to the bottom of the message and you should see that your network adapter now has a new IP address assigned to it.
Now that your computer has a new IP address, you can reconnect to the internet with your browser and browse the web as normal. If the internet isn’t working yet, you may need to restart your computer.
Release & Renew IP Address On Mac
You can also release and renew your IP address on MacOS but instead of using the command prompt you can do this in the TCP/IP settings.
To do this:
- Select the Apple button and select System Preferences.
- Select the Network icon under Internet and Network.
- Select the TCP/IP tab in the Network window.
- On the right side of the window, you’ll see a Renew DHCP Lease button. Select it.
This will release and renew your IP address in one step. Select OK to exit the Network window. Exit the System Preferences window as well.
You may need to restart your Mac to finish the release and renew process.
Release & Renew IP Address On Mobile
Getting a new IP address on your Android isn’t quite as straightforward. You need to force your phone to “forget” the current Wi-Fi network it’s connected to. Once you do this, it’ll release its current connection (and IP address). The next time you connect it’ll receive a new one.
To do this on Android:
- Go into your Android Settings screen.
- Tap Connections.
- Tap Wi-Fi.
- Select the Gear icon to the right of the Wi-Fi network with the Connected status.
- At the bottom of the screen, tap the Forget trash can icon.
This will drop the Wi-Fi connection with your router. When you reconnect by re-adding the Wi-Fi network and logging in with your Wi-Fi network login credentials, your Android will receive a new IP address.
To release and renew an IP address on an iPhone, the process is even easier.
- Launch the Settings app.
- Tap Wi-Fi.
- Tap the i icon on the right side of the Wi-Fi network you’re currently connected to.
- Tap Renew Lease. Tap Renew Release again in the pop-up window.
This will release and then renew the IP address for your iPhone on your Wi-Fi network.
As you can see it’s very easy to refresh the IP address your computer or mobile device has on your Wi-Fi network. It’s often the first thing you should try whenever you’re having network or internet connectivity issues.