Changing the IP address of a device can be done in different ways depending on the operating system you are using. Below are instructions for changing the IP address on Windows and Linux.
On Windows
-
Open Network Connections:
- Right-click on the network icon in the system tray and select "Open Network & Internet settings."
- Click on "Change adapter options."
-
Select the Network Adapter:
- Right-click on the network adapter you want to change (e.g., Ethernet or Wi-Fi) and select "Properties."
-
Open Internet Protocol Version 4 (TCP/IPv4):
- In the properties window, select "Internet Protocol Version 4 (TCP/IPv4)" and click on "Properties."
-
Change IP Address:
- Select "Use the following IP address."
- Enter the new IP address, Subnet mask, and Default gateway.
- Click "OK" to save the changes.
-
Restart the Network Adapter (if necessary):
- You may need to disable and then enable the network adapter for the changes to take effect.
On Linux
-
Open Terminal.
-
Identify the Network Interface:
ip link show -
Bring the Interface Down: Replace
eth0with your actual interface name.sudo ip link set eth0 down -
Change the IP Address: Replace
192.168.1.100with your desired IP address andeth0with your interface name.sudo ip addr add 192.168.1.100/24 dev eth0 -
Bring the Interface Up:
sudo ip link set eth0 up -
Verify the Change:
ip addr show eth0
Note
- Ensure that the new IP address is within the same subnet as your network and does not conflict with other devices.
- If you are using DHCP, you may need to configure your router or DHCP server to assign a static IP address to your device.
- Always ensure you have the necessary permissions to change network settings on your device.
