1、
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface iface eth0 inet dhcp # This is an autoconfigured IPv6 interface iface eth0 inet6 auto auto eth0 auto br0 iface br0 inet static address 192.168.7.64 netmask 255.255.255.0 gateway 192.168.7.254 bridge_ports eth0 auto eth0.101 auto br101 iface br101 inet manual bridge_ports eth0.101 bridge_stp off bridge_maxwait 0 bridge_fd 0
2、手动在后天把在portal生成的vnet12和vnet13加入这个网桥
brctl addif br101 vnet12 brctl addif br101 vnet13
3、ok
时间: 2024-10-25 21:47:56