[ovs-discuss] OpenVswitch with Vlans.

Ramana Reddy gtvrreddy at gmail.com
Thu Jan 27 10:35:39 UTC 2011


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:

When I ping Machine1 ( IP: 192.168.0.135) with Machine2 ( IP: 192.168.0.70)
they are pinging each other.

This is the output:

$sudo ovs-dpctl show
system at dp0:
    flows: cur:3, soft-max:512, hard-max:262144
    ports: cur:3, max:1024
    groups: max:16
    lookups: frags:0, hit:576, missed:86, lost:0
    queues: max-miss:100, max-action:100
    port 0: br0 (internal)
    port 1: eth1
    port 2: eth0

$sudo ovs-dpctl dump-flows br0
tunnel00000000:in_port0001:vlan65535:pcp0
mac84:2b:2b:87:2d:43->00:26:5a:75:fa:65 type0800 proto1 tos0
ip192.168.0.70->192.168.0.135 port0->0, packets:22, bytes:2156, used:0.166s,
actions:2
tunnel00000000:in_port0002:vlan65535:pcp0
mac00:26:5a:75:fa:65->84:2b:2b:87:2d:43 type0800 proto1 tos0
ip192.168.0.135->192.168.0.70 port8->0, packets:22, bytes:2156, used:0.166s,
actions:1
tunnel00000000:in_port0002:vlan65535:pcp0
mac00:26:5a:75:fa:65->ff:ff:ff:ff:ff:ff type0806 proto1 tos0
ip192.168.0.135->192.168.0.4 port0->0, packets:39, bytes:2340, used:0.581s,
actions:1,set_vlan(10),0


When I ping eth0.10 ( IP: 10.0.0.1) with the other vlan interface eth0.10
(IP: 10.0.0.2) they are not pinging each other.

This is the output:
$ sudo ovs-dpctl show
system at dp0:
    flows: cur:2, soft-max:512, hard-max:262144
    ports: cur:3, max:1024
    groups: max:16
    lookups: frags:0, hit:656, missed:89, lost:0
    queues: max-miss:100, max-action:100
    port 0: br0 (internal)
    port 1: eth1
    port 2: eth0

$sudo ovs-dpctl dump-flows br0
tunnel00000000:in_port0002:vlan10:pcp0
mac00:26:5a:75:fa:65->ff:ff:ff:ff:ff:ff type0806 proto1 tos0
ip10.0.0.1->10.0.0.2 port0->0, packets:24, bytes:1440, used:0.874s,
actions:drop
tunnel00000000:in_port0002:vlan65535:pcp0
mac00:26:5a:75:fa:65->ff:ff:ff:ff:ff:ff type0806 proto1 tos0
ip192.168.0.135->192.168.0.4 port0->0, packets:77, bytes:4620, used:1.006s,
actions:1,set_vlan(10),0

It seems that OVS droping the packets.

Thanks,
Ramana Reddy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110127/eadcb77e/attachment-0001.html>


More information about the discuss mailing list