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
更新日期: 2018年05月22日
文章标签: Linux
文章链接: https://www.vos.cn/os/215.html
版权说明:如非注明,本站文章均为vOS原创,转载请注明出处和附带本文链接。
文章标签: Linux
文章链接: https://www.vos.cn/os/215.html
版权说明:如非注明,本站文章均为vOS原创,转载请注明出处和附带本文链接。