Article 55K4Y how to restore a working network configuration with netplan on ubuntu 20.04

how to restore a working network configuration with netplan on ubuntu 20.04

by
marietto2008
from LinuxQuestions.org on (#55K4Y)
Hello. Newbie here.

recently I tried to install open nebula and for some reason,the eno1 network interface is disappeared from my ubuntu 20.04 network configuration and I would like to restore it,because actually I'm not able to connect to internet. Ubuntu 20.04 uses netplan. This is my 01-network-manager-all.yaml file :

Code:network:

version: 2

renderer: networkd

ethernets:

eno1:

dhcp4: true
Actually,when I do ifconfig,I see these network interfaces :

Code:docker0 : inet 172.17.0.1 ; netmask 255.255.0.0 ; broadcast 172.17.255.255

minione-nic : no inet ; no netmask ; no broadcast

veth03ad024 : no inet ; no netmask ; no broadcast

virbr0 : inet 192.168.122.1 ; netmask 255.255.255.0 ; broadcast 192.168.122.255

virbr0-nic : no inet ; no netmask ; no broadcast
I tried to re-create the old eno1 interface with these commands :

Code:sudo netman apply

sudo systemctl restart network-manager
I don't see any identation error,but the situation is not changed. I have no eno1 interface and no connection to internet. what should I do ? what's missing ?latest?d=yIl2AUoC8zA latest?i=5B6pZWDm0L4:8pKFyf34Z7I:F7zBnMy latest?i=5B6pZWDm0L4:8pKFyf34Z7I:V_sGLiP latest?d=qj6IDK7rITs latest?i=5B6pZWDm0L4:8pKFyf34Z7I:gIN9vFw5B6pZWDm0L4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments