添加虚拟网卡
1.登陆母机shell
2.修改网卡配置文件(添加虚拟网卡网桥)
iface eno1 inet manual auto vmbr0 iface vmbr0 inet static address 110.110.110.110 netmask 255.255.255.0 gateway 110.110.110.1 bridge_ports eno1 bridge_stp off bridge_fd 0 iface eno2 inet manual auto vmbr1 iface vmbr1 inet static address 10.10.0.1 netmask 255.255.255.0 bridge_ports eno2 bridge_stp off bridge_fd 0
上述配置文件,添加网桥(虚拟网卡)vmbr0桥接物理网卡eno1,vmbr1桥接物理网卡eno2
3.登陆web管理平台添加虚拟网卡
4.虚拟机添加网卡,要先关机再添加