How to change your IP address
Before reading any of the below information, you need to be aware of some network basics.
- Know the difference between a static IP address and a dynamic IP address. See each link for additional information about each of these terms.
- When on the Internet, it is up to your Internet Service Provider (ISP) to assign and give you your network address seen by the Internet. When on a local network (LAN) or wide area network (WAN) the home or corporate router assigns the IP addresses.
- If you're planning on designating or using a static IP address, you should be aware of how IP address ranges are handled and be familiar with the netmask. See each of these links for additional information.
Changing your Internet IP address
When connecting to the Internet over a dial-up Modem, your ISP will assign your computer a different IP address each time you connect. If you're wanting to change your IP address, try disconnecting and reconnecting. If you're assigned the same address, disconnect for a few minutes and then reconncect.
- Broadband users
Broadband service providers will assign your computer or home network a static IP address. If you're connected to a broadband network and need to change your IP address try following the steps below.
- Disconnect power to broadband modem
Getting a new IP address may be as simple as disconnecting the power to your broadband modem. Disconnect the power from the modem and leave it disconnected for a few minutes. If you have a network router connected to the modem, we also suggest disconnecting the power to the router.
- Release the IP address assigned to router
If disconnecting the power to the modem and router did not work it may still be saved in your router configuration. Try releasing and renewing the Internet IP Address for the router. Steps on how to do this can vary depending on the router. However, is often done through the Status or setup in the router setup.
- Leave it disconnected over night
If the above two suggestions do not work, disconnect the power to the modem and router (if applicable) and leave them disconnected overnight or for as long as possible.
- Contact the ISP
If none of the above suggestions help you change your IP address, it's possible your ISP prevents a new IP address from being assigned unless it is abandoned for days. In this situation, its usually easiest to contact the ISP to get the IP address changed.
Changing your home network IP address
To change or specify the IP address of your computer for your own local area network (LAN), follow the steps below. Keep in mind that if you're connecting to the Internet with a broadband connection, adjusting your network settings may cause issues with your broadband connection. Finally, if your home network is setup through a network router, that router could be assigning your computer dynamic IP addresses, and specifying a static IP address may cause issues.
Windows Vista and later
- Open the Control Panel.
- Click on the Network and Sharing Center icon.
- In the View your active networks section, click the Local Area Connection link.
- On the Local Area Connection Status window, click the Properties button.
- In the Properties window, select the Internet Protocol Version 6 (TCP/IPv6) or Internet Protocol Version 4 (TCP/IPv4) connection and click the Properties button. The connection you select depends on the type of Internet protocol in use for your Internet or Network connection.
- In the Internet Protocol properties window, select the Use the following IP address option if not already selected. Specify the new IP address you want to use. You also need to specify the subnet mask and default gateway.
Windows XP and earlier
- Open the Control Panel.
- Right-click on My Network Places or Network Neighborhood and select Properties.
- Right-click on Local Area Connection and select Properties.
- Click Internet Protocol (TCP/IP) and click the Properties button. If this is not present, you'll need to install the Internet Protocol (TCP/IP) protocol.
- In the Internet Protocol (TCP/IP) Properties window, select the Use the following IP address option if not already selected and specify the new IP address you want to use. You also need to specify the subnet mask and default gateway.
The below information is for how to specify and adjust your network settings through the command prompt. Changing your network settings will require root access.
- Get to the shell.
- Move to the /etc/sysconfig/network directory.
- Edit the interfaces file and adjust your network settings in this file.