6a972ea7f9
This reverts commit 8f120e688f
.
Change-Id: If03fe5d427d90f65ba28ade2573d90e83ce8a4e4
29 lines
922 B
ReStructuredText
29 lines
922 B
ReStructuredText
=============================================
|
|
Verify the libvirt default network is running
|
|
=============================================
|
|
|
|
Before starting a virtual machine with libvirt, verify
|
|
that the libvirt ``default`` network has started.
|
|
This network must be active for your virtual machine
|
|
to be able to connect out to the network.
|
|
Starting this network will create a Linux bridge (usually
|
|
called ``virbr0``), iptables rules, and a dnsmasq process
|
|
that will serve as a DHCP server.
|
|
|
|
To verify that the libvirt ``default`` network is enabled,
|
|
use the :command:`virsh net-list` command and verify
|
|
that the ``default`` network is active:
|
|
|
|
.. code-block:: console
|
|
|
|
# virsh net-list
|
|
Name State Autostart
|
|
-----------------------------------------
|
|
default active yes
|
|
|
|
If the network is not active, start it by doing:
|
|
|
|
.. code-block:: console
|
|
|
|
# virsh net-start default
|