Skip to content

chlohr/vdeplug_vsock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdeplug_vsock

This libvdeplug plugin module adds the support of vde over vsock.

Install vdeplug_vsock

Requirements: vdeplug4,

vdeplug_vsock uses cmake, so the standard procedure to build and install this vdeplug plugin module is the following:

$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Example

Create a point to point Ethernet link between a virtual machine and its host over a vsock(7) socket (assuming that systems support vsock).

On the hosts run:

$ sudo vde_plug tap://tap0 vsock://2:2002->42:2001

On the VM (assuming having CID 42):

$ sudo vde_plug tap://tap0 vsock://42:2001->2:2002

(change the CIDs and ports to suit your scenario)

The virtual ethernet interfaces named tap0 on the two linux systems will be connected as if it were a point-to-point ethernet cable between them.

About

vde over vsock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published