Debian 10下修改静态IP

原创
2020/04/13 18:11
阅读数 1.2W

Debian 10下修改静态IP:

在/etc/network/interfaces 文件后添加(配置IP和网关):
allow-hotplug ens33
# iface ens33 inet dhcp
auto ens33
iface ens33 inet static
address 192.168.0.199
netmask 255.255.255.0
gateway 192.168.0.1

保存重启网络

service networking restart

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部