1:没有NetworkManager
只能通过/etc/netplan/中的配置文件进行配置
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
ethernets:
ens33:
dhcp4: no
addresses: [ 192.168.23.22/24 ]
gateway4: 192.168.23.254
nameservers:
addresses: [114.114.114.114]