[Openstack] What's the difference between vxlan ports in br-int and br-tun?
t22330033
t22330033 at gmail.com
Fri May 23 07:43:11 UTC 2014
I ran stack.sh in one controller node and two compute nodes.
Q_ML2_TENANT_NETWORK_TYPE in local.conf is set to vxlan in all nodes. after
starting an instance, I saw the ovs configuration as follows. my question
is why there are vxlan ports on both br-int and br-tun? if I send a packet
from the instance, which path will it go?
1. "tape8f9588f-5e" -> patch-tun -> patch-int -> "vxlan-ac160965" and
"vxlan-ac1f007d"
2. "tape8f9588f-5e" -> "vxlan-172.31.0.125" and "vxlan-172.22.9.101"
# sudo ovs-vsctl show
Manager "tcp:172.22.9.100:6640"
is_connected: true
Bridge br-tun
Controller "tcp:172.22.9.100:6633"
is_connected: true
Port br-tun
Interface br-tun
type: internal
Port "vxlan-ac160965"
Interface "vxlan-ac160965"
type: vxlan
options: {in_key=flow, local_ip="172.22.9.65",
out_key=flow, remote_ip="172.22.9.101"}
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port "vxlan-ac1f007d"
Interface "vxlan-ac1f007d"
type: vxlan
options: {in_key=flow, local_ip="172.22.9.65",
out_key=flow, remote_ip="172.31.0.125"}
Bridge br-int
Controller "tcp:172.22.9.100:6633"
is_connected: true
Port br-int
Interface br-int
type: internal
Port "vxlan-172.31.0.125"
Interface "vxlan-172.31.0.125"
type: vxlan
options: {key=flow, local_ip="172.22.9.65",
remote_ip="172.31.0.125"}
Port "tape8f9588f-5e"
tag: 1
Interface "tape8f9588f-5e"
Port "vxlan-172.22.9.101"
Interface "vxlan-172.22.9.101"
type: vxlan
options: {key=flow, local_ip="172.22.9.65",
remote_ip="172.22.9.101"}
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
ovs_version: "2.1.90"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140523/fafa2590/attachment.html>
More information about the Openstack
mailing list