Hello:
I am unable to add access interfaces, I can only add physical trunk
interfaces to our server running OVS.

There for I need to add interfaces like this:

 sudo ovs-vsctl add-port br0_sriov_asap2 eth0 trunks="3936,3937"
 sudo ovs-vsctl add-port br0_sriov_asap2 eth1 trunks="3936,3937"

I want to bridge two vlans, however I am not sure that is possible as they
are two different broadcast domains.

I tried adding the following rules but this did not work either

```
port1=eth0
port2=eth1

ovs-ofctl add-flow br0_sriov_asap2 "table=0, priority=50, in_port=$port1,
ip, actions=mod_vlan_vid:3936,$port2"
ovs-ofctl add-flow br0_sriov_asap2 "table=0, priority=50, in_port=$port2,
ip, actions=mod_vlan_vid:3937,$port1"
ovs-ofctl add-flow br0_sriov_asap2 "table=0, priority=50, in_port=$port1,
arp, actions=mod_vlan_vid:3936,$port2"
ovs-ofctl add-flow br0_sriov_asap2 "table=0, priority=50, in_port=$port2,
arp, actions=mod_vlan_vid:3937,$port1"
```

I also tried creating mirrors (In vmware this is actual promiscuous mode)
like this

```

    ovs-vsctl -- --id=@eth0 get Port eth0 \
              -- --id=@m create mirror name=m_eth0_2_eth1 select-vlan=3936 \
                         output-vlan=3937 \
              -- set Bridge br0_sriov_asap2 mirrors=@m


    ovs-vsctl -- --id=@eth1 get Port eth1 \
              -- --id=@m create mirror name=m_eth1_2_eth0 select-vlan=3937 \
                         output-vlan=3936 \
              -- set Bridge br0_sriov_asap2 mirrors=@m
```

But that did not work either, I see no traffic going to either port.
What am I missing? How can I get two trunk ports on different VLANS to
communicate?
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to