How to change my IP easily

If, like me, you receive your IP address automatically from a DHCP server and you need to renew it, this tip is what you need.


This tip comes from the hand of slice of linux and all we need to do is open the terminal and type:

sudo dhclient -r
You can also renew the IP address by requesting a new one from the DHCP server. To achieve this, you just have to go back to the console and type:
sudo dhclient eth0
… Assuming eth0 is your Ethernet interface. If it's your default network card, you can omit this argument, and if you want to renew the IP of the network card, you could write something like this:
sudo dhclient wlan0

Seen in | Soft-Free


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Eleazar said

    Excellent served me

  2.   R130 said

    Thanks for the information :).

  3.   sdfghj said

    They are incompetent, this does not help me

  4.   environments said

    thanks it works

    1.    let's use linux said

      Of course! 🙂