赞
踩
配置路径
vim /etc/netplan/01-network-manager-all.yaml
配置脚本
network:
ethernets:
enp0s3:
addresses: [192.168.1.86/24]
gateway4: 192.168.1.1
dhcp4: no
nameservers:
addresses: [114.114.114.114]
version: 2
renderer: networkd
加载配置
sudo netplan apply
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。