VM网络问题
How the Ubuntu control the nerwork config?
Using netplan to control the network which located in /etc/netplan
What about the file looks like?
The file name like "you-config-file.yaml".
What about the structure of a Netplan YAML file?
network:
ethernets:
enp0s3: #eth card name, using ip a to get
dhcp4: true
version: 2
For apply
sudo netplan generate
sudo netplan apply
sudo netplan try which can pervent you disconnect with server