[ovs-discuss] pvid-like functionnality

Ben Pfaff blp at nicira.com
Mon Aug 23 16:24:23 UTC 2010

On Mon, Aug 23, 2010 at 2:41 AM, Madko <madko77 at gmail.com> wrote:
> We are using openvswitch vith kvm virtual machines. Everything is
> working fine, but we need to simulate pvid on the switch.
> We set the port trunks to be part of vlan 0, making untagged frames
> acepted. But we need those untagged frames to be marked as part of a
> vlan at the output of the switch. Is it possible to make the switch
> add an default vlan id to those untagged frames?
> We need that because our VMs use PXE to start their installation, then
> run Anaconda RedHat/fedora installer. PXE and Anaconda doesn't know
> about VLAN and can't deal with them. Any suggestion?

Do you just need to mark a port as an access port for a particular VLAN?
That is easy:
    ovs-vsctl set port <portname> tag=<vid>

More information about the discuss mailing list