openvswitch通过vlan隔离后,vlan里的主机无法连接外网
I added a pair of VMs on different VLANs, like this:
ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth0
ovs-vsctl add-port br0 tap0 tag=9
ovs-vsctl add-port br0 tap1 tag=10
vm间相同vlan能互通,不同vlan不通,并且vlan里主机无法连接外网,请问如何让vlan能与外网联通?
1 个回复
xds2000 - 数人科技CTO
赞同来自:
参考这里:
http://openvswitch.org/support ... book/
不同网段应该是用GRE通道的,br0不能使用外网,这个也是和你的网关有关系。对于跨网通信可以看看同行IAAS给的资料。
https://docs.qingcloud.com/gui ... 3Dgre