Ubuntu 20.04 配置静态IP地址
作者:互联网
vim /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
ens160:
dhcp4: no
addresses: [192.168.199.102/24]
optional: true
gateway4: 192.168.199.1
nameservers:
addresses: [114.114.114.114]
version: 2
标签:addresses,IP地址,192.168,114.114,Ubuntu,config,20.04,network 来源: https://www.cnblogs.com/5ixueweb/p/16585269.html