ubuntu 22.04配置静态ip
vim /etc/netplan/01-network-manager-all.yaml# Let NetworkManager manage all devices on this system
network:renderer: NetworkManagerethernets:enp4s0f1:addresses:- 192.168.1.18/24dhcp4: falseroutes:- to: defaultvia: 192.168.1.1nameser…