How To Configure IP Address In Ubuntu 18.04 LTS

configure ip address in ubuntu 18.04

9 Responses

  1. LLyn0 says:

    Thank you for brief review, but I disagree that this method is more complicated than the old one. If you’re familiar with yaml, this way is better.

    • sk says:

      I get used to the old method, so I find the Netplan method is bit difficult. I am not familiar with YAML and I had to spend some time to figure out why my network settings isn’t not working.

  2. Lars van Egmond says:

    Thank you SK for sharing this information !

  3. Fábio says:

    Very nice explanation! And the point of indenting the lines is really important. Thank you!

  4. jason says:

    Hi, thank you for this.
    I cant help notice that the changes will not persist ad it gets overwritten. Anyone have any advice.

    kind regards

  5. Jason P says:

    I am trying to set up a static IP on Ubuntu 18.04 server, but I continue to get an error (ModuleNotFound) for netifaces. It is installed on the server, but I can’t see how to connect the two to apply the new yaml file. I can’t seem to find much on the topic. Hoping someone could help.

  6. Simon says:

    I don’t know why you would not just allocate the address in the DHCP server.

  7. Ron Crowder says:

    Sometimes if you are setting up a server you want a specific address assigned to it outside of the client machines.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.