how br-tun and br-int communicate

asked 2019-01-11 07:05:29 -0500

M Raghu gravatar image
  • VM connected to br-int .
  • Host physical port is connected to br-tun.

  • VTEP IPs configured on br-tun

In my compute hosts, br-tun and br-int are not connected using any patch ports. still my VMs are able to communicate with each other.

I'm suprised how packets received on br-int are send to br-tun..?

Consider br-prv in the below output is br-tun/br-eth. And dpdk interfaces are physical ports of host.

root@compute-0-1:~# ovs-vsctl show
    Bridge br-prv
        Port bond-prv
            Interface "dpdk0"
                type: dpdk
                options: {dpdk-devargs="0000:01:00.0", n_rxq="2"}
            Interface "dpdk1"
                type: dpdk
                options: {dpdk-devargs="0000:01:00.1", n_rxq="2"}
        Port br-prv
            tag: 1016
            Interface br-prv
                type: internal
    Bridge br-int
        Controller "tcp:"
            is_connected: true
        fail_mode: secure
        Port "tund2a62a3f00d"
            Interface "tund2a62a3f00d"
                type: gre
                options: {local_ip="", packet_type="legacy_l3", remote_ip=""}
        Port "vhu0f006663-11"
            Interface "vhu0f006663-11"
                type: dpdkvhostuser
        Port br-int
            Interface br-int
                type: internal


root@compute-0-1:~# ip route dev br-prv  proto kernel  scope link  src
edit retag flag offensive close merge delete