On Thu, Feb 3, 2011 at 7:27 AM, Ramana Reddy <[email protected]> wrote:
> One more observation from my side: > These are my actions: > ovs-ofctl add-flow in-port=3 dl_vlan=10 idle_timeout=0 "actions= > mod_vlan_vid:20, output:4" > ovs-ofctl add-flow in-port=4 dl_vlan=20 idle_timeout=0 "actions= > mod_vlan_vid:10, output:3" > > These actions are not taken place in OVS as br0.10 and br0.20 stripping > vlan first, > or are executing on stripped packets so mismatch. > > With this setup, VM1 and VM2 not pinging each other. > > When I removed br0.10 and br0.20 from OVS, they are pinging. > > Can we add vlan tag to this stripped packets and send to other port without > removing > br0.10 and br0.20 vlan interfaces. If not, can we give priority to these > actions > so that the strip_vlan never takes first as default action by br0.10 and > br0.20 > respectively. You can add virtual ports similar to those created by vlans with: ovs-vsctl add-port br0 br0.10 -- set interface br0.10 type=internal You can then write flows as you would like without any interaction from the vlan code.
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org
