ubantu 18.04.5 桥接+设置固定ip
2020-11-02 16:30 握瑾怀瑜 阅读(194) 评论(0) 编辑 收藏 举报 cat /etc/netplan/01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system network: version: 2 renderer: networkd ethernets: ens33: dhcp4: no addresses: [192.168.3.80/24] gateway4: 192.168.3.1 nameservers: addresses: [114.114.114.114]
执行如下命令 使得如上更改生效
netplan apply
加油的人生不解释