M HYPE SPLASH
// updates

Network problem in Ubuntu 18.04.1 Server

By Emily Wilson

I just installed Ubuntu 18.04 live server edition ,while installing I configured two ethernet and everything worked fine,after the first reboot I cannot ping any address or connect to any network ,I tried netplan generate and apply , apply didn't work. Anyone know how to fix this problem ?

enter image description here

1

1 Answer

Netplan is very strict about spacing, indentation, etc. For example, this is acceptable:

ethernets: enp3s0:

But this is not:

ethernets: enp3s0:

You may gain some insights by consulting the example files; for instance:

cat /usr/share/doc/

I suggest that you amend your yaml file to:

network: version: 2 renderer: networkd ethernets: eno1: addresses: - 10.10.1.64/24 gateway4: 10.10.1.1 nameservers: addresses: [8.8.8.8, 8.8.4.4]

Follow with:

sudo netplan generate
sudo netplan apply
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy