please use its new implementation instead.
That new plugin is based on libvdeslirp and on
qemu
's libslirp.
The code of this plugin will no longer be maintained
This is the libvdeplug plugin module to join slirp networks. It is based on the (old) libslirp library no longer maintained.
This module of libvdeplug4 can be used in any program supporting VDE like vde_plug, kvm, qemu, user-mode-linux and virtualbox.
Requirements: vdeplug4 and libslirp.
vdeplug_slirp uses the auto-tools, so the standard procedure to build and install this vdeplug plugin module is the following:
$ autoreconf -if
$ ./configure
$ make
$ sudo make install
vde_plug vxvde:// slirp://
- TCP port 8080 is forwarded to port 80 of 10.0.2.15
- X-window display 10.0.2.2:0 is forwarded to the local X server.
vde_plug tap://mytap slirp:///tcpfwd=8080:10.0.2.15:80/unixfwd=6000:\"/tmp/.X11-unix/0\"
kvm .... -device e1000,netdev=vde0,mac=52:54:00:00:00:01 -netdev vde,id=vde0,sock="slirp:///v4/v6"