Firefly开源社区

打印 上一主题 下一主题

ubuntu18.04 如何通过命令行固定IP

3

积分

0

威望

0

贡献

吃瓜的群众

积分
3
发表于 2021-6-11 00:26:03      楼主
格式调整
arm ubuntu18.04LTS
  1. # This file describes the network interfaces available on your system
  2. # For more information, see netplan(5).
  3. network:
  4.   version: 2
  5.   renderer: networkd
  6.   ethernets:
  7.     enp0s3:
  8.      dhcp4: no
  9.      addresses: [192.168.1.222/24]
  10.      gateway4: 192.168.1.1
  11.      nameservers:
  12.        addresses: [8.8.8.8,8.8.4.4]
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表