OPERATING SYSTEMSOS Linux

How to configure static IP Ubuntu 18.04 server on Virtualbox

Ubuntu 18.04 have a change about network config.
in previous LTS (16 or 14), we usually set the network at etc/network/interface,
but in 18.04, we need set to /etc/netplan/file.yaml

see this video for details

source

ubuntu

6 thoughts on “How to configure static IP Ubuntu 18.04 server on Virtualbox

  • i hatee a question, after you have changed the enp0s8 net you lose internet in server?,because I'be tried everything as you. but after I change the enp0s8 I can't do ping to 8.8.8.8 for example , thanks

  • With bridged adapter, the settings you mentioned worked for me. Thanks 🙂
    One thing, on adatper settings to be able to access inet I had to add the nameservers (DNS)
    nameservers:
    addresses: [<GATEWAY IP>, 8.8.8.8]

    Thanks again

  • When I go into preferences there is nothing, not even the NAT network, or the host only adapter, I need to mention that I'm on Ubuntu 18.10

Comments are closed.