title: OVS how to connect 2 hosts (vm) with no physical switch on a vnet
body: <p>i try to simulate a connection between 2 hosts with one ovs switch on each host</p>
  <p>my environment is a vnet on openebula where the 2 vms ( centos 7 ) are.</p>
  <p>i have on each host :</p>
  <pre><code>Bridge br-int
          Port br-int
              Interface br-int
                  type: internal
          Port pvirt
              Interface pvirt
                  type: internal
          Port &quot;vlan3700&quot;
              tag: 3700
              Interface &quot;vlan3700&quot;
                  type: internal
          Port &quot;eth1&quot;
              trunks: [3700]
              Interface &quot;eth1&quot;
  
  </code></pre>
  <p>eth1 is my &quot;physical&quot; port to communicate.</p>
  <p>and this my ip add on host1:</p>
  <pre><code>3: eth1: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000
      link/ether 02:00:9b:dd:9c:0b brd ff:ff:ff:ff:ff:ff
  4: ovs-system: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UNKNOWN 
      link/ether 7a:d3:18:99:c7:f6 brd ff:ff:ff:ff:ff:ff
  10: br-int: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UNKNOWN 
      link/ether a6:cf:27:fb:8b:49 brd ff:ff:ff:ff:ff:ff
  15: pvirt: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UNKNOWN 
      link/ether 6a:66:a2:06:e0:52 brd ff:ff:ff:ff:ff:ff
      inet 192.168.25.12/24 scope global pvirt
         valid_lft forever preferred_lft forever
  16: vlan3700: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UNKNOWN 
      link/ether 02:b0:6c:fe:99:66 brd ff:ff:ff:ff:ff:ff
      inet 172.17.253.12/24 scope global vlan3700
  </code></pre>
  <p>and on host2 :</p>
  <pre><code>3: eth1: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000
      link/ether 02:00:9b:dd:9c:09 brd ff:ff:ff:ff:ff:ff
  
  6: ovs-system: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UNKNOWN 
      link/ether 56:d8:c2:a0:1a:53 brd ff:ff:ff:ff:ff:ff
  11: br-int: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UNKNOWN 
      link/ether fe:5f:29:2e:6d:42 brd ff:ff:ff:ff:ff:ff
  15: pvirt: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UNKNOWN 
      link/ether 6a:fc:8c:d5:d1:d5 brd ff:ff:ff:ff:ff:ff
      inet 192.168.25.40/24 scope global pvirt
         valid_lft forever preferred_lft forever
  16: vlan3700: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UNKNOWN 
      link/ether fe:ec:c8:b7:4b:2d brd ff:ff:ff:ff:ff:ff
      inet 172.17.253.40/24 scope global vlan3700
         valid_lft forever preferred_lft forever
  </code></pre>
  <p>My problem is simple, i can communicate with pvirt on each host but as soon as i setup a vlan (3700) my communication is cut.</p>
  <p>i'm sure, i have missed something ...</p>
  <p>Thank you for your reply.</p>