[ovs-discuss] OpenVswitch and VLAN

Doude doudouyam at gmail.com
Tue Sep 27 08:39:14 UTC 2011


Ha yes, I miss that.

Here log you asked, in my test I worked on VLAN id 1001:

- OVS ping sender:
tun_id0 in_port2 tci(0) macaa:aa:00:00:01:12->ff:ff:ff:ff:ff:ff
type0806 proto1 tos0 ip10.0.0.1->10.0.0.2 port0->0, packets:50,
bytes:2100, used:0.610s, actions:set_tci(vid=1001,pcp=0),0,1

- OVS ping receiver:
tun_id0 in_port1 tci(0) macaa:aa:00:00:01:12->ff:ff:ff:ff:ff:ff
type0806 proto1 tos0 ip10.0.0.1->10.0.0.2 port0->0, packets:169,
bytes:9464, used:0.410s, actions:drop



On Mon, Sep 26, 2011 at 10:55 PM, Jesse Gross <jesse at nicira.com> wrote:
> On Mon, Sep 26, 2011 at 7:10 AM, Doude <doudouyam at gmail.com> wrote:
>> I tried the 'ovs-vlan-test' program and it failed.
>> Server log:
>> 172.16.0.143 - - [26/Sep/2011 15:58:24] "GET /start/recv HTTP/1.1" 200 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:24] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:24] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:24] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:24] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:25] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:25] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:25] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:25] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:26] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:26] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:26] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:26] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:27] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:27] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:27] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:27] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:28] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:28] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:28] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:28] "GET /result/15 HTTP/1.1" 404 -
>> 172.16.0.143 - - [26/Sep/2011 15:58:29] "GET
>> /start/send/10.0.0.2:15213:1500 HTTP/1.1" 200 -
>>
>> And client log:
>> Send size 50 unsuccessful: Timeout
>> Receive size 50 unsuccessful: Timeout
>>
>> I think, I can say my driver bnx2 not support correctly VLAN tag with OVS.
>> I made tests, I can use this driver with Linux bridge and VLAN, it works nicely.
>> Why it doesn't work with OVS ? I read some explanations on the man of
>> ovs-vlan-tag but understand.
>
> No, it's not the driver.  When you ran tcpdump on the NIC the tag was
> there so it's not being stripped off.
>
> Please run:
> ovs-dpctl dump-flows <BR>
> while attempting to send traffic to show when OVS is seeing and trying to do.
>



More information about the discuss mailing list