Virsh net-info

From wikieduonline
Revision as of 09:43, 4 February 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search
virsh net-info default
Name:           default
UUID:           8e15ca1c-1904-34f1-96f6-896640500fd5
Active:         yes
Persistent:     yes
Autostart:      yes
Bridge:         virbr0


You can also see information in /etc/libvirt/qemu/networks/default.xml file

<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh net-edit default
or other application using the libvirt API.
-->

<network>
  <name>default</name>
  <uuid>8e15ca1c-1904-34f1-96f6-896640500fd5</uuid>
  <forward mode='nat'/>
  <bridge name='virbr0' stp='on' delay='0'/>
  <mac address='54:54:01:97:49:54'/>
  <ip address='192.168.122.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.122.2' end='192.168.122.254'/>
    </dhcp>
  </ip>
</network>


Related commands


See also

Advertising: