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.
Here, command I used on each host:
# ovs-vsctl add-br br0
# ovs-vsctl add-port br0 eth1
# tunctl
Set 'tap0' persistent and owned by uid 0
# ovs-vsctl add-port br0 tap0 tag=1000
# kvm ... =tap0 ....
///// try ping other VM
# ovs-appctl fdb/show br-int
port VLAN MAC Age
2 1000 02:16:3e:5a:0f:d5 7
What's the matter ?
Regards,
Doude.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss