This repository was archived by the owner on Oct 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibvdeplug_slirp.1
More file actions
74 lines (70 loc) · 2.4 KB
/
libvdeplug_slirp.1
File metadata and controls
74 lines (70 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.TH LIBVDEPLUG_VXVDE 1 "December 7, 2016" "Virtual Distributed Ethernet"
.SH NAME
libvdeplug_slirp - vdeplug module for vde_switch based networks
.SH SYNOPSIS
libvdeplug_slirp.so
.SH DESCRIPTION
This is the libvdeplug module to join TCP-IP networks using the slirp emulator.
This module of libvdeplug4 can be used in any program supporting vde like
\fBvde_plug\fR, \fBkvm\fR, \fBqemu\fR, \fBuser-mode-linux\fR and \fBvirtualbox\fR.
The vde_plug_url syntax of this module is the following:
.RS
.br
\fBslirp://\fR[\fB/\fIOPTION\fR][\fB/\fIOPTION\fR]
.RE
If \fImulticast_addr\fR is omitted libvdeplug_slirp uses the default addresses:
\fB239.0.0.1\fR for IPv4 and \fBff05:56de::1\fR for IPv6.
.SH OPTIONS
.TP
\fBv4\fR
provide IPv4 service (default value if neither \fBv4\fR nor \fBv6\fR options are set).
.TP
\fBv6\fR
provide IPv6 service.
.TP
\fBaddr=\fR\fIIPv4addr
Set the IPv4 address of slirp (default value 10.0.2.2/24).
.TP
\fBaddr6=\fR\fIIPv6addr
Set the IPv6 address of slirp (default value fe80::2/64).
.TP
\fBhostname=\fR\fIname
define the hostname.
.TP
\fBtftp_path=\fR\fIpath
define the path of the directory whose contents are available by the tftp service.
.TP
\fBbootfile=\fR\fIpath
define the path of the bootfile (for bootp)
.TP
\fBdhcp=\fR\fIdhcpIPv4addr
set the lowest IP address assigned by dhcp
.TP
\fBtcpfwd=\fR\fI[hostIP:]hostport:guestIP:guestport[,[hostIP:]hostport:guestIP:guestport]...
define TCP port(s) forwarding.
.TP
\fBudpfwd=\fR\fI[hostIP:]hostport:guestIP:guestport[,[hostIP:]hostport:guestIP:guestport]...
define UDPport(s) forwarding.
.TP
\fBunixfwd=\fR\fI[slirpIP:]slirpport:path[,[slirpIP:]slirpport:path]...
define forwarding of one or more port (from the virtual network) to a PF_UNIX path (commoly used
to forward ports to a X server)
.TP
.SH EXAMPLES
.B slirp:///v4/v6
.br
This vde_plug_url enables both IPv4 and IPv6
.sp
When a program uses the following vde_plug_url:
.br
.B slirp:///tcpfwd=8080:10.0.2.15:80/unixfwd=6000:\\\\"/tmp/.X11-unix/0\\\\"
.br
tcp connections to the host computer port 8080 (any interface) are forwarded to 10.0.2.15 port 80,
and x clients in the virtual network using -display 10.0.2.2:0 use the X-server of the host.
.SH 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").
.SH SEE ALSO
\fBvde_plug\fP(1),