networkctl
nmcli
ip a
cat /proc/net/dev
journalctl -r -p3
journalctl -r -p4
rm /etc/netplan/*.yaml
ifconfig
sudo nano /etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
enp6s18:
dhcp4: true
sudo netplan apply
I'm glad it works now. And thanks for showing the solution with us!Solved my problem step by step
open Ubuntu console
rm /etc/netplan/*.yaml
then shutdown ubuntu
Open proxmox VM hardware delete networkadapter and then add new networkadapter
Start VM ubuntu
ifconfig
Seen adapter name enp6s18
sudo nano /etc/netplan/01-netcfg.yaml
write new yaml file insert
network:
version: 2
renderer: networkd
ethernets:
enp6s18:
dhcp4: true
ctrl+o then ctrl+x save file
sudo netplan apply
Now working my virtual machine Dhcp.![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.