How do I change my IP address?
On the Internet, your IP address is similar to your mailing address in real life. It uniquely identifies where you are so that information can be sent to you. Unlike your mailing address, however, your IP address can change in certain situations. If you want to change your IP address, follow the instructions on this page.
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.
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
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 as it appears on your 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 or Ethernet link, or click the Internet connection name next to Connections.
- On the Local Area Connection or Ethernet 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.
Windows command prompt
You can change a computer's IP address through the command prompt by following the steps below.
- Access the Windows command prompt interface.
- Type netsh to start the Netsh utility.
- To change the IP address, you will need to specify not only the new IP address, but also the Subnet Mask and Default Gateway. Use the command structure below.
interface ip set address name="[connection name]" static [IP address] [Subnet Mask] [Default Gateway]
In the above command structure, replace [connection name] with the name of the network connection for which you want to set the new IP address. The most common network connection names are "Local Area Connection" or "Wi-Fi". Replace [IP Address] with the new IP address you want to use, then replace [Subnet Mask] with the correct subnet mask address and [Default Gateway] with the correct default gateway address.
interface ip set address name="Local Area Connection" static 192.168.110.235 255.255.255.0 192.168.0.1
The above example command would change the IP Address of the Local Area Connection network connection to 192.168.110.235. It would also set the Subnet Mask to 255.255.255.0 and the Default Gateway to 192.168.0.1.
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.
Can someone else change my IP address?
Someone who's outside your home network and does not have access to your network router cannot change your IP address. Do not be concerned about your computer's security if your IP address has changed. It's more likely that it's normal behavior than an attack.