EVE-NG配置静态固定地址
sudo vi /etc/network/interfaces
# The primary network interface
iface eth0 inet manual #EVE-NG的管理网卡
auto pnet0
iface pnet0 inet static #管理网卡的桥接网卡状态为静态(连接到pnet0上的设备都可以与eth0通信)
bridge_ports eth0 #桥接到eth0
bridge_stp off #关闭生成树协议
address 172.19.44.50
netmask 255.255.255.0
gateway 172.19.44.254
dns-nameserver 114.114.114.114
/etc/init.d/networking restart
本站所有文章均可随意转载,转载时请保留原文链接及作者。