[ovs-discuss] Problem with VLANs set up on OVS.

Anisha Kolasani akolasan at cse.unl.edu
Tue Jun 5 18:28:43 UTC 2012


I tried adding the vlan21 port. But it doesn't work. In fact its allowing
non-vlan traffic between VMs go through, although vlan21 is the only
interface that has an IP address. But not the tagged once. Any more
suggestions as to why it may not be working?

Thank you!
Anisha.

On Tue, Jun 5, 2012 at 11:32 AM, Luiz Ozaki <luiz.ozaki at locaweb.com.br>wrote:

>  On 6/5/12 11:53 AM, Anisha Kolasani wrote:
>
>
>  ovs-vsctl add-port br0 eth0 trunks=21
>
>
> Try this:
>
> ovs-vsctl del-br br0
>
> ovs-vsctl add-br br0 eth0
>
> ovs-vsctl add-port br0 vlan21 tag=21 -- set interface vlan21 type=internal
>
> ifconfig vlan21 192.168.5.5 netmask 255.255.255.128
>
> That should make it work.
>
>
>
>   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.
>
>
> Since its crossover, you don't need to create them.
>
>
> --
> Luiz Henrique Ozaki
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120605/e87e59c5/attachment.html>


More information about the discuss mailing list