How to change IP address?

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

  1. Open Network Connections:

    • Right-click on the network icon in the system tray and select "Open Network & Internet settings."
    • Click on "Change adapter options."
  2. Select the Network Adapter:

    • Right-click on the network adapter you want to change (e.g., Ethernet or Wi-Fi) and select "Properties."
  3. Open Internet Protocol Version 4 (TCP/IPv4):

    • In the properties window, select "Internet Protocol Version 4 (TCP/IPv4)" and click on "Properties."
  4. 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.
  5. 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

  1. Open Terminal.

  2. Identify the Network Interface:

    ip link show
  3. Bring the Interface Down: Replace eth0 with your actual interface name.

    sudo ip link set eth0 down
  4. Change the IP Address: Replace 192.168.1.100 with your desired IP address and eth0 with your interface name.

    sudo ip addr add 192.168.1.100/24 dev eth0
  5. Bring the Interface Up:

    sudo ip link set eth0 up
  6. 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.

0 Comments

no data
Be the first to share your comment!