LIBVDEPLUG_VLAN(1) | General Commands Manual | LIBVDEPLUG_VLAN(1) |
libvdeplug_vlan - vdeplug nested module: VLAN (802.1Q)
libvdeplug_vlan.so
This is a libvdeplug module implementing VLANs (IEEE 802.1Q).
With this plugin VLANs are implemented in a distributed fashion. The tagging (and untagging) of the packets is done, not by the switch, but by the plugin (attached to the VM).
This module of libvdeplug4 can be used in any program supporting vde like vde_plug, vdens, kvm, qemu, user-mode-linux and virtualbox.
The vde_plug_url syntax of this module is the following:
vlan://[untagged_vlan][[OPTION[/OPTION]...]]{vde nested url}
untagged_vlan is the number of the VLAN to which the virtual machine is connected in untagged mode. The traffic on this VLAN will be seen by the VM as untagged. If omitted the default value is 0, an invalid VLAN number meaning that the VM is not connected to any VLAN in untagged mode.
vlan://3{tap://mytap}
The VM is connected to vlan 3 and receives only traffic from here.
vlan://3[untag=4/trunk/tag=10:11-12:12-11]{vde:///tmp/myswitch}
The VM is connected to vlan 3 in untagged mode and receive untagged traffic with vlan tag 4. The vlan also receives traffic from VLANs 10, 11 and 12. VLANs 11 and 12 are switched.
vdens vlan://4{vlan://5/qinq{vxvde://234.1.2.3}}
This example uses 802.1ad: the VDE client is connected to the VLAN 4 of the QinQ VLAN 5.
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik" i.e. the German "Association for Electrical, Electronic & Information Technologies").
July 2020 | VirtualSquare |