-
Create a Virtual Network with Virt Manager
- The network name must follow this format:
wrapped__@<interface to bind to>__#<IP to bind to>. - Set the "Forward to" option to a non-existing interface, e.g.,
ipvtap0. This interface will be automatically created when the network starts.
Note: If you create multiple networks, ensure each network uses a unique interface name for the to-be-created interface.
- The network name must follow this format:
-
Place the Hook Script in
/etc/libvirt/hooks/network.d/wrapped(the script is provided below)- The name of the script is not important, but make sure it is executable (
chmod +x).
- The name of the script is not important, but make sure it is executable (
-
Restart the
virtnetworkdService