mods-vdevpeer-net.so
Driver for network interfaces that connect the hypervisor host to a guest's virtio-net vdev
Syntax:
io-sock -m vdevpeer-net
mount -T io-sock [-o prefix=prefix] vdevpeer-net
Runs on:
QNX OS
Options:
- prefix=prefix
- Only used in conjunction with mount. Matches the prefix option used when launching io-sock to specify which instance of io-sock should mount this module.
Description:
The mods-vdevpeer-net.so driver (a FreeBSD-compatible module) enables an io-sock networking manager running in the host to communicate with virtual network devices configured for guests. It is used for peer-to-peer communication between the hypervisor host and guests, and allows guests to communicate with the outside world by enabling a bridge running in the host's networking manager.
After you have loaded the mods-vdevpeer-net.so driver into io-sock, you can create and destroy interfaces as required using ifconfig. For example:
ifconfig vp0 create
Any networking configuration supported by ifconfig is available for the mods-vdevpeer-net.so interfaces. See ifconfig and the FreeBSD documentation: https://www.freebsd.org/cgi/man.cgi?query=ifconfig&sektion=8&manpath=FreeBSD+13.1-RELEASE+and+Ports).
Use the vpctl utility to configure the interfaces to work with a peer in a point-to-point connection.
For more information on using io-sock drivers generally, see
Starting io-sock and Driver Management
in the
High-Performance Networking Stack User's Guide.