vim 编辑 /etc/network/interfaces 文件:
auto eth0 iface eth0 inet static address 192.168.1.2/24 gateway 192.168.1.1 dns-nameservers 192.168.1.1
原文地址:https://www.cnblogs.com/devIT/p/10126754.html
时间: 2024-11-08 22:52:41
vim 编辑 /etc/network/interfaces 文件:
auto eth0 iface eth0 inet static address 192.168.1.2/24 gateway 192.168.1.1 dns-nameservers 192.168.1.1
原文地址:https://www.cnblogs.com/devIT/p/10126754.html