Hi,

Thank you very much for the reply. I haven't explicitly created VLAN 21 on
the physical machine. As both the physical machines are connected by
crossover cable through eth0, I did the following:

ovs-vsctl add-port br0 eth0
ifconfig eth0 0
ifconfig br0 192.168.5.5 netmask 255.255.255.128

I assumed by adding port eth0 to br0 it would be a trunk port which allows
all traffic. I also tried to add the port in the following way:

ovs-vsctl add-port br0 eth0 trunks=21

and tried to send only VLAN 21 traffic. It was still not working.

 Could you please let me know if I am missing something? How should I
create a VLAN 21 on the physical machine? Is it by using 'vconfig' and
create interfaces? It would be very helpful if I have a little more details.

Thank you,
Anisha.

On Tue, Jun 5, 2012 at 9:07 AM, Luiz Ozaki <luiz.oz...@locaweb.com.br>wrote:

> On 6/3/12 6:04 PM, Anisha Kolasani wrote:
>
>> The VM1 on machine 1 is able to ping VM3 on machine 2. The tap interfaces
>> of VM1 and VM3 are not declared as access ports.
>> But VM2 on machine 1 is not able to ping VM4 on machine 2. VM2 and VM4
>> are not declared to be on VLAN 21.
>>
>> Could you please let me know what the problem might be?
>>
>
> It seems your setup is correct.
>
> Do you have the VLAN 21 created on the physical switch ?
>
> If you tag them on OVS but the physical switch don't have the VLAN created
> in the config it won't forward the packets.
>
>
> And since you'll be passing tagged and untagged VLANs, you need to setup
> those on the physical switch as well, probably with trunk.
>
> --
> Luiz Henrique Ozaki
>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to