[ovs-discuss] OpenVswitch with Vlans.

Ramana Reddy gtvrreddy at gmail.com
Mon Jan 31 07:43:25 UTC 2011


Hi Jesse Gross,

Now I can ping each machines. I verified ovs-vsctl list port message, and
found that
both tag and trunks set to 10. As they are mutually exclusive, I cleared
both.
Now they are pinging each other.

Now, one more problem,

The setup is as shown in the attached diagram.

I want to send traffic between two DomUs located on same Host.
Now the domU's data are offloaded through IO-MMU concept directly to NIC
rather than giong
through OVS on the host machine.  I want to setup a vlan among VM1 and
External OVS, and VM2 and External OVS.
The data from VM1 has to go to external Switch and then VM2.

How to setup vlan tagging in this scenario.

Thanks,
Ramana Reddy.









On Mon, Jan 31, 2011 at 4:34 AM, Jesse Gross <jesse at nicira.com> wrote:

> On Thu, Jan 27, 2011 at 2:35 AM, Ramana Reddy <gtvrreddy at gmail.com> wrote:
> > On Wed, Jan 26, 2011 at 8:58 PM, Jesse Gross <jesse at nicira.com> wrote:
> >>
> >> On Tue, Jan 25, 2011 at 11:17 PM, Ramana Reddy <gtvrreddy at gmail.com>
> >> wrote:
> >> > The drivers are tg3 (broadcom) and  via-rhine (Dlink 1Gb NIC).
> >> > I am using ubuntu 10.10 where I installed OVS 1.0.0.
> >>
> >> Both of those drivers should be fine.  Can you post the output of
> >> ovs-dpctl show and ovs-dpctl dump-flows <BRIDGE> on the receive side
> >> while pinging?
> >
> > I added some more detailed output:
>
> The vlan tags are clearly being received correctly.  In your previous
> message it also looks like everything is operating correctly.  It
> appears that the configuration was changed for output that you posted
> in this message.
>
> I think that your ports are configured as access ports.  You can see
> that when an untagged packet comes in and is flooded it is tagged
> before being output to br0, which is presumable a trunk port.
> However, access ports should not receive tagged packets, which would
> explain why it gets dropped in the second case.
>
> Please post the output of ovs-vsctl list port.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110131/6f527887/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vlan.jpeg
Type: image/jpeg
Size: 21155 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110131/6f527887/attachment-0004.jpeg>


More information about the discuss mailing list