问题如下:
ubuntu1804突然连接不了shell了,也ping不通自身网关
原ip配置如下:
$ sudo vim /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
dhcp6: no
addresses: [192.168.150.141/21]
gateway4: 192.168.150.2
nameservers:
addresses: [8.8.8.8]
eth1:
dhcp4: no