Difference between revisions of "Virsh net-info"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> virsh net-info default Name: default UUID: 8e15ca1c-1904-34f1-96f6-896640500fd5 Active: yes Persistent: yes Autostart: yes Bridge:...")
 
Line 36: Line 36:
  
 
== See also ==
 
== See also ==
* [[KVM]]
+
* {{KVM}}
 
* {{virsh net}}
 
* {{virsh net}}
  

Revision as of 11:05, 2 January 2020

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>


See also

Advertising: