SLIRPVDE(1)
π SLIRPVDE(1) β the bestie edition π¦
ok so like, this is a page from the General Commands Manual and it's all about slirpvde, which is basically a Virtual Distributed EthernetβSlirp interface. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
slirpvde β Virtual Distributed Ethernet-Slirp interface. that's the whole vibe. iconic.
πΈ SYNOPSIS πΈ
slirpvde OPTIONS [ socketdir ]
π DESCRIPTION π
slirpvde is a slirp interface for a VDE network. periodt.
So slirpvde connects all the units (virtual or real machines, no gatekeeping π«Ά) to the network of the host where slirpvde itself is running, as if it were a NAT/Masquerading router. The default route is the node 2 (10.0.2.2 in the default network configuration), and DNS is re-mapped in node 3 (10.0.2.3). the way it just assigns those addresses? main character energy.
slirpvde runs using standard user privileges β no root access needed, bestie, none π
β because all the connections are re-generated by slirpvde itself.
IPv4 only. IPv6 is still unsupported. it will be supported when slirpvde gets rewritten using the LWIPv6 network stack. soβ¦ someday? not today. π
π OPTIONS π
-s,--sock,--socket,--vdesock,--unixdirectory β specify the VDE switch directory (default/var/run/vde.ctl). you can also drop the VDE switch directory at the end of the command, like the optional parameter socketdir in the synopsis up there. and when-is used in place of the VDE switch directory,slirpvdeworks as a plug (seevde_plug(1)). the command:
dpipe vde_plug = ssh remote.machine.org slirpvde -
which is the same as:
dpipe vde_plug = ssh remote.machine.org slirpvde -s -
connects the default local switch to a remote slirpvde. like, literally the same thing. iykyk. π§
-p,--pidfilefilename β specify the name of the file which contains the PID ofslirpvde.-g,--groupgroup β specify the UNIX group for the VDE communication socket.-m,--modmode β specify the octal UNIX permissions for the VDE communication socket.-P,--portport β specify the port of the vde switch whernslirpvdemust be connected.-d,--daemonβ detach from terminal and runslirpvdein background. bye bestie, she's independent now β¨-H,--hostaddress [/masklen ] β specify the host address (default10.0.2.2/24). this option automatically defines the network. e.g.
-H 192.168.55.1
or:
--host 10.1.2.3/16
The default value for masklen is 24. If the host part of the address is zero, this option defines only the network. The default host addr is addr 2, the default dns proxy is 3. e.g.
-H 10.1.0.0/16
defines the network only. The host address is 10.1.0.2 and the DNS proxy 10.1.0.3. see how it did that? obsessed. π
-n,--networkaddress [/masklen ] β specify the network address (default10.0.2.0/24). Deprecated, it has been included for back compatibility only. It is an alias of-H,--host. it's giving legacy.-N,--dnsaddress β Specify the address of the dns server. If this is an address inside the slirp network,slirvdeacts as a dns proxy on that address. Theslirpvdedhcp server sends this dns address to the clients. By default this is the host number 3 in theslirpvdenetwork. Using the default network it is10.0.2.3.
Warning: do not use the same address for host and dns. seriously. don't. π
-D,--dhcpβ turn on the DHCP server for the network autoconfiguration of all the units connected to the VDE. It is possible to specify the start address assigned by the DHCP server as follows:
--dhcp=10.1.1.44
DHCP assign addresses starting at host number 15 by default. Using the default network it starts from 10.0.2.15. handing out addresses like it's nothing. π
-Lport:vde_host:vde_hostport β specifyes a TCP port redirection. All the TCP packets received by the host runningslirpvdeat port port will be forwarded to vde_host at port vde_hostport.-Uport:vde_host:vde_hostport β specifyes a UDP port redirection. All the UDP packets received by the host runningslirpvdeat port port will be forwarded to vde_host at port vde_hostport.-Xvde_host[:display.[screen]]i β redirect a X window screen of a virtual machine.Slirpvdegets the first unused X display on the host runningslirpvdeand redirects all the requests to vde_host. display and screen] must be specified when different from:0.0.-xport:unix_socket_path] β redirect a port of the virtual router (usually10.0.2.2) to a unix stream socket. It is used for example to redirect a X display of the hosting computer on the virtual network. e.g.-x6000:/tmp/.X11-unix/X0.(A suitable xhost configuration is needed (e.g.'xhost local:').-t,--tftppathname βslirpvdeenables a tftp server sharing (read-only) the directory at pathname. read-only, bestie, don't try it π₯-q,--quietβ Quiet; do not write anything to standard output. she's not talking. respect it. π€«
π’ 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"). no relation. different VDE. do not confuse them, that would be embarrassing for everyone. π
π SEE ALSO π
vde_switch(1), vde_plug(1), vde_plug2tap(1), dpipe(1).
π«Ά AUTHOR π«Ά
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>. This tool includes software developed by Danny Gasparovski: Slirp code is by Danny Gasparovsky. Bootp/DHCP code is by Fabrice Bellard.
and that's the page!! π this was brought to you by Virtual Distributed Ethernet, dated June 15, 2008 β yeah she's an elder but she still slays, no cap. go build your network bestie, you got this π β¨ππ¦
π¦ 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-slirp 2.3.2+svn587-160000.2.2 Β· BSD-4-Clause AND MIT
- opensuse-leap 16.0: vde2-slirp 2.3.2+svn587-160000.2.2 Β· BSD-4-Clause AND MIT
- opensuse-leap 16.0: vde2-slirp 2.3.2+svn587-160000.2.2 Β· BSD-4-Clause AND MIT
- opensuse-leap 16.0: vde2-slirp 2.3.2+svn587-160000.2.2 Β· BSD-4-Clause AND MIT
- 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