赞
踩
sudo vim /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
ens33:
dhcp4: false
addresses: [192.168.0.150/24] # 自己的IP地址和掩码位数
routes:
- to: default
via: 192.168.0.1
nameservers:
addresses: [8.8.8.8,114.114.114.114]
dhcp6: false
version: 2
sudo netplan apply
ipconfig
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。