[ovs-discuss] change configuration of VLAN access port

Tonghao Zhang xiangxia.m.yue at gmail.com
Thu Jan 21 09:49:58 UTC 2021


On Thu, Jan 21, 2021 at 8:13 AM Matthias Waehlisch
<m.waehlisch at fu-berlin.de> wrote:
>
>
> ... i was able to change the configuration using "ovs-vsctl set port
> xyz vlan_mode=native-untagged" but the virtual switch still sends
> packets that include a vlan tag on the access port instead of removing
> the tag. this is quite confusing ...
>
>
>
>
> thanks
>   matthias
>
> On Wed, 20 Jan 2021, Matthias Waehlisch wrote:
>
> > Hi,
> >
> >   i'm wondering how to change the VLAN setting of an access-port
> > without deleting the port.
> >
> >   when i already added a port to a switch (ovs-vsctl add-port ...), and
> > and want to change the VLAN setting via "ovs-vsctl add-port ..." (e.g.,
> > to change the VLAN the port is assigned to), i get an error message that
> > ovs-vsctl: cannot create a port xyz because a port named xyz exists on
> > bridge br0.
> >
> >   i can execute "ovs-vsctl set PORT_NAME tag=10" but then all Ethernet
> > frames are tagged.
Hi
the doc about vlan, may help you use the vlan. Thanks.
https://docs.openvswitch.org/en/latest/faq/vlan/
> >
> > thanks
> >   matthias
> >
> >
> > ps: if this is not the right list, any hint where to ask is highly
> > appreciated!
> >
> >
>
>
> --
> Matthias Waehlisch
> .  Freie Universitaet Berlin, Computer Science
> .. http://www.cs.fu-berlin.de/~waehl
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss



-- 
Best regards, Tonghao


More information about the discuss mailing list