© W. David Ashley 2019
W. David AshleyFoundations of Libvirt Development https://doi.org/10.1007/978-1-4842-4862-1_6

6. Virtual Networks

W. David Ashley1 
(1)
Austin, TX, USA
 
A virtual network provides a method for connecting the network devices of one or more guest domains within a single host. The virtual network can do either of the following:
  • Remain isolated to the host.

  • Allow routing of traffic off-node via the active network interfaces of the host OS. This includes the option to apply NAT to IPv4 traffic.

A virtual network is represented by an instance of the virNetwork class and has two unique identifiers.
  • Name: This is a short string, unique among all the virtual networks on a single host, both running and inactive. For maximum portability between ...

Get Foundations of Libvirt Development: How to Set Up and Maintain a Virtual Machine Environment with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.