On Fri, Sep 27, 2013 at 06:26:56PM +0530, nisha goyal wrote: > This configuration works perfectly i.e. the vms vm1 and vm2 are able to > ping each other but not vm3 until the networking is restarted. > > There are two problems that I am facing now: > 1) when the networking service is restarted, the vms configuration gets > erased from the ovs-vsctl. and "ovs-vsctl show" results into:
What is "the networking service"? How are you restarting it? > 2) On which port the trunks are configured? is it br0 or eth0? The configuration you showed us has both br0 and eth0 as trunks. Only eth0 is usefully trunked, since it is the only trunk port that might be connected to other hosts or switches that understand trunked VLANs. > And say I make one of them(br0 or eth0) a trunk port using ovs-vsctl > set port <eth0 or br0> trunks=100,200 This would not cause a noticeable change in behavior: it merely limits the trunked VLANs to the VLANs that you have in use, rather than trunking every VLAN. > Will I be able to ping vm1,vm2 from vm3 and vice versa? No. (This would have been a trivial experiment. What didn't you just try it?) > If not, then do I need IP routing for this? If you want vm1 and vm2 to be able to access vm3, why did you put them on different VLANs? Q: I added a pair of VMs on different VLANs, like this: ovs-vsctl add-br br0 ovs-vsctl add-port br0 eth0 ovs-vsctl add-port br0 tap0 tag=9 ovs-vsctl add-port br0 tap1 tag=10 but the VMs can't access each other, the external network, or the Internet. A: It is to be expected that the VMs can't access each other. VLANs are a means to partition a network. When you configured tap0 and tap1 as access ports for different VLANs, you indicated that they should be isolated from each other. As for the external network and the Internet, it seems likely that the machines you are trying to access are not on VLAN 9 (or 10) and that the Internet is not available on VLAN 9 (or 10). _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss