[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] OpenVswitch with Vlans.
From:       jesse () nicira ! com (Jesse Gross)
Date:       2011-02-03 22:24:26
Message-ID: AANLkTikoVbSz=-+4H6mhSkd_yk679i3gbbPconURyLVM () mail ! gmail ! com
[Download RAW message or body]

On Thu, Feb 3, 2011 at 7:27 AM, Ramana Reddy <gtvrreddy at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20110203/0876455f/attachment.htm>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic