这个项目:https://www.spiritlhl.net/guide/pve/pve_install.html 用项目装的PVE,又用的他的脚本建的NAT Debian小鸡,小鸡可以SSH连接,也可以PING通8.8.8.8,也设置DNS服务器了,就是curl谷歌域名不行。 auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 172.16.1.20 gateway 172.16.1.1 netmask 255.255.255.0 dns-nameservers 8.8.8.8 8.8.4.4 复制代码
没有回复内容