VDE_L3(1)
π VDE_L3(1) β the vde_l3 page, bestie edition π
okay so we're in the General Commands Manual and this is literally the manual for vde_l3, a.k.a. the Virtual Distributed Ethernet "Layer 3" Switch. no cap, it's giving router energy. let's go π¦
β¨ NAME β¨
vde_l3 β Virtual Distributed Ethernet 'Layer 3' Switch.
πΈ SYNOPSIS πΈ
vde_l3 -v vde_plug:ipaddress/netmask [-v...] [-r
target_network/netmask:gateway] [-G default_gw] [-M mgmt_socket]
π DESCRIPTION π
A vde_l3 connects to one or more vde_switches, and it does ip forwarding among its virtual interfaces. Periodt. A brand new interface gets created at startup for every single -v option you hand it on the command line β every one, no skips. And if you want static routes to target networks? That's what -r is for, bestie.
vde_l3 -v /var/run/s1.ctl:192.168.0.1/24
so ^ that one connects to the vde sock at /var/run/s1.ctl with its virtual interface ve0, and ve0 has the address 192.168.0.1 and netmask 255.255.255.0. iconic.
vde_l3 \
-v /var/run/s1.ctl:192.168.0.1/24 \
-v /var/run/s2.ctl:10.0.0.254/255.255.0.0
and ^ that one connects to the two vde socks, with its virtual interfaces ve0 and ve1, having addressess 192.168.1.0 and 10.0.0.254 respectively. hosts in each network can specify the vde_l3 as their gateway to reach the other one π«Ά
π OPTIONS π
-vvde_plug:ipaddress/netmaskβ creates a virtual network interface on thevde_l3box, with addressipaddressand netmasknetmask. π quick heads up though: thenetmaskcan be specified either in the 'classic'A.B.C.Dmode, or just by giving the number of leading bits (f.e.,/17for255.255.128.0). and yes, one can define as many interfaces as she wants. go off π-rtarget_network/netmask:gatewayβ specify a static route throughgatewayto reach hosts intarget_networkwith netmasknetmask. one can define as many routes as she wants. slay.-Gdefault_gwβ specify a default gateway, to be used whenever no static route is defined for a target host. the fallback bestie fr fr π-Mmgmt_socketβ the unix socket where the parameters (interfaces addresses, routes, etc.) can be checked and changed runtime.unixterm(1)can be used as a remote terminal forwirefilter. runtime glow-ups only β¨
π¨ NOTICE π¨
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"). π not the same vde. do not mix them up, i'm begging.
π SEE ALSO π
vde_switch(1), vdeq(1), unixterm(1), vde_cryptcab(1), wirefilter(1).
like... the whole friend group. go read them too π
π AUTHORS π
VDE_L3 is a tool by Daniele Lacamera <root@danielinux.net>
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>
and that's the whole page bestie!! this one's from the Virtual Distributed Ethernet crew, dated May 7, 2007 β shoutout to the OGs, mwah πβ¨
π¦ where this page comes from
- alpine 3.24: vde2-doc 2.3.3-r7 Β· GPL
- arch rolling: vde2 2.3.3-10 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- debian bookworm: vde2 2.3.2+r586-8+b1 Β· GPL-2.0-only
- debian trixie: vde2 2.3.2+r586-11 Β· GPL-2.0-only
- nixos 26.05: vde2 2.3.3
- nixpkgs unstable: vde2 2.3.3
- opensuse-leap 16.0: vde2 2.3.2+svn587-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: vde2 2.3.2+svn587-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: vde2 2.3.2+svn587-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: vde2 2.3.2+svn587-160000.2.2 Β· GPL-2.0-only
- ubuntu jammy: vde2 2.3.2+r586-8 Β· GPL-2.0-only
- ubuntu noble: vde2 2.3.2+r586-10 Β· GPL-2.0-only
- ubuntu questing: vde2 2.3.2+r586-11
- ubuntu resolute: vde2 2.3.2+r586-12.2 Β· GPL-2.0-only
- ubuntu stonking: vde2 2.3.2+r586-12.2build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms