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. Doude. On Mon, Sep 26, 2011 at 2:43 PM, Doude <[email protected]> wrote: > Hi, > > Just to up my problem, I always need help. > Do you think it could be a driver incompatibility ? > > I remember, I already do that conf a year ago. I used other hardware > with drivers r8169, e1000e and tg3 (only 2 of them but I don't > remember which ones). > > Here my OVS setup: > # modprobe openvswitch_mod.ko > # ovsdb-tool create /etc/openvswitch/conf.db > /usr/share/openvswitch/vswitch.ovsschema > # ovsdb-server /usr/local/etc/ovs-vswitchd.conf.db \ > --remote=punix:/var/run/openvswitch/db.sock \ > --remote=db:Open_vSwitch,managers \ > --private-key=db:SSL,private_key \ > --certificate=db:SSL,certificate \ > --bootstrap-ca-cert=db:SSL,ca_cert \ > --pidfile --detach > # ovs-vsctl --no-wait init > # ovs-vswitchd unix:/var/run/openvswitch/db.sock \ > --pidfile --detach > > I check log and I cannot see anything. Can I start OVS more verbosely ? > > Doude. > > On Fri, Sep 23, 2011 at 8:56 AM, Doude <[email protected]> wrote: >> I've got two Ethernet cards: Broadcom Corporation NetXtreme II >> BCM5708S Gigabit Ethernet >> They use the driver bnx2 version 2.0.21 on kernel 2.6.38. >> >> I make some tcpdump. In the first test case, if I tcpdump the Host2 >> NIC, I can see ARP request encapsulated in VLAN 1000, but If snif the >> tap of VM2, I cannot see ARP request. >> >> On Thu, Sep 22, 2011 at 6:12 PM, Jesse Gross <[email protected]> wrote: >>> On Thu, Sep 22, 2011 at 9:03 AM, Doude <[email protected]> wrote: >>>> Hi all, >>>> >>>> I try to use OpenVswitch on Ubuntu 11.04 with packages >>>> 1.1.0~pre2.g2.ea763e0e-1ubuntu2. >>>> >>>> I've got 2 hosts(Host1 and host2). I set a OVS bridge 'br0' on the hosts. >>>> I put 'eth1' of each host in the OVS bridge 'br0' without tag (tagged). >>>> >>>> I create tap on each host and add it to OVS bridge 'br0' with tag 1000 >>>> (=> VLAN 1000). >>>> I configure my manged physical switch to allow VLAN tagging 1000 on >>>> the hosts ports. >>>> >>>> I lunch a VM1 on Host1 with the created tap and VM2 on host2 with created >>>> tap. >>>> I set IP 172.16.0.1/24 on VM1 and 172.16.0.2 on VM2. >>>> >>>> I try to ping 172.16.0.2 from VM1 but it fails. >>>> I check the FDB table of OVS on Host1. I found the VM1 MAC address >>>> associated to VLAN 1000. >>>> I check the FDB table on physical switch. I found the VM1 MAC address >>>> associated to VLAN 1000. >>>> I check the FDB table of OVS on Host2. I found the VM1 MAC address >>>> associated to VLAN 0. >>>> >>>> I try to ping 172.16.0.1 from VM2 but it fails. >>>> I check the FDB table of OVS on Host2. I found the VM2 MAC address >>>> associated to VLAN 1000. >>>> I check the FDB table on physical switch. I found the VM2 MAC address >>>> associated to VLAN 1000. >>>> I check the FDB table of OVS on Host1. I found the VM2 MAC address >>>> associated to VLAN 0. >>> >>> It may be a driver issue - some NICs have problems with stripping off >>> vlan tags on receive. What driver is in use? Also, what do you see >>> if you run tcpdump on the Ethernet interfaces? >>> >> > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
