LIBVDEPLUG_VXLAN(1)
π LIBVDEPLUG_VXLAN β the vxlan vdeplug module π
okay bestie, gather round, because this is the little .so that lets your virtual machines hop onto a vxlan network together. it's a module, it's a mood, it's networking. let's go π¦
β¨ NAME β¨
libvdeplug_vxlan β the vxlan vdeplug module. that's it, that's the name, and it's iconic.
πΈ SYNOPSIS πΈ
libvdeplug_vxlan.so
yes, that's the whole synopsis. she's a shared object, not a command, so there's nothing to type at a shell. you don't run her, you link her. iykyk π
π DESCRIPTION π
so this is the libvdeplug module you use to join vxlan networks. and here's the thing you need to know before anything else:
Only one process per host can join each vxlan network. like, one. per host. per network. no doubling up, no sharing, no cap. π
this module lives inside libvdeplug4, which means literally any program that supports vde can use it β think vde_plug, kvm, qemu, user-mode-linux and virtualbox. all of them. slay.
the vde_plug_url syntax of this module goes like this:
vxlan://[multicast_addr][/OPTION][/OPTION]
and if you leave out multicast_addr? no worries, she's got defaults ready for you π
- IPv4 default:
239.0.0.1 - IPv6 default:
ff05:56de::1
π OPTIONS π
every single one, bestie, we're not skipping a single flag. this is the full menu π
v4β use IPv4, queen of the classics.v6β use IPv6, the futuristic one.port=PORTβ define the multicast port. the default value is4789.vni=VNIβ define the virtual network identifier. the default value is1.ttl=TTLβ define the time-to-live. the default value is1. and then, glued onto this exact same entry in the original page, we have:hashsize=HASHSIZEset the size of the hash table for packet switching.hashsize=HASHSIZEβ set the size of the hash table for packet switching. (fr fr, in the original page this one is tacked onto the end of thettlentry, no shade, i'm just telling you where she lives.)expiretime=EXPIRETIMEβ set the maximum age in seconds of valid packet switching entries. so like, how long a switching entry gets to stay valid before it's β¨ expired β¨.if=INTERFACEβ set the (real) network interface to use. the actual one, not a vibe. π
π₯ EXAMPLES π₯
okay let's see her in the wild:
vxlan://239.0.0.1
this vde_plug_url refers to the vxlan network defined on the multicast address 239.0.0.1, with vni=1. simple, clean, main character energy π
and now the group project version β programs using:
vxlan://ff15::3/port=12345/vni=42
join the same vxlan network defined by the multicast address ff15::1, port 12345, and vni is 42. (yes, ff15::3 in the URL, ff15::1 in the network description β that's literally what the original says, don't @ me π)
π«Ά NOTICE π«Ά
just so nobody gets confused at the family reunion:
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").
different vde. completely different vde. no relation. none. π
β SEE ALSO β
and that's the whole page, bestie β you're officially a vxlan girlie now π§
this little masterpiece comes to you from Virtual Distributed Ethernet, dated August 23, 2016. go forth and multicast responsibly πβ¨
π¦ where this page comes from
- debian bookworm: vdeplug 4.0.1-4 Β· LGPL-2.1-or-later
- debian trixie: vdeplug 4.0.1-5.1+b1 Β· LGPL-2.1-or-later
- ubuntu jammy: vdeplug 4.0.1-3 Β· LGPL-2.1-or-later
- ubuntu noble: vdeplug 4.0.1-5.1build1 Β· LGPL-2.1-or-later
- ubuntu questing: vdeplug 4.0.1-5.1build1
- ubuntu resolute: vdeplug 4.0.1-5.1build2 Β· LGPL-2.1-or-later
- ubuntu stonking: vdeplug 4.0.1-5.1build2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms