Difference between revisions of "Virsh net-info"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 10: Line 10:
  
  
You can also see information in <code>/etc/[[libvirt]]/qemu/networks/default.xml</code> file
+
You can also see information in <code>[[/etc/libvirt/qemu/networks/default.xml]]</code> file
<pre>
 
<!--
 
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>
 
 
 
</pre>
 
  
 
== Related commands ==
 
== Related commands ==

Revision as of 07:52, 12 August 2020

Advertising: