Difference between revisions of "Virsh net-list"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lowercase}}
 +
<code>[[virsh net-list]]</code>
 +
After default installation:
 +
<pre>
 +
virsh net-list
 +
Name                State      Autostart    Persistent
 +
----------------------------------------------------------
 +
 +
virsh net-list --all
 +
Name                State      Autostart    Persistent
 +
----------------------------------------------------------
 +
default              inactive  no            yes
 +
</pre>
 +
 +
 
<pre>
 
<pre>
 
virsh net-list
 
virsh net-list
Line 14: Line 29:
 
</pre>
 
</pre>
  
== Related commands ==
+
virsh net-list
 +
  Name              State    [[Autostart]]  Persistent
 +
----------------------------------------------------
 +
  default          active  yes        yes
 +
  [[vagrant]]-libvirt  active  no          yes
 +
 
 +
== Related terms ==
 
* <code>[[brctl show]]</code>
 
* <code>[[brctl show]]</code>
 
+
* <code>[[virsh net-info]] NET_NAME</code>
 +
* <code>[[virsh net-dhcp-leases]]</code>
 +
* <code>[[virsh net-start]]</code>
 +
* <code>[[/etc/libvirt/qemu/networks/default.xml]]</code>
 +
* <code>[[virsh net-autostart]]</code>
  
 
== See also ==
 
== See also ==
Line 26: Line 51:
  
 
[[Category:Virtualization]]
 
[[Category:Virtualization]]
 +
[[Category:Virsh]]

Latest revision as of 16:13, 3 October 2021

virsh net-list After default installation:

virsh net-list
 Name                 State      Autostart     Persistent
----------------------------------------------------------

 virsh net-list --all
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 default              inactive   no            yes


virsh net-list
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 ;vdsmdummy;          active     no            no
 default              active     no            no
virsh net-list --all
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 default              active     yes           yes
virsh net-list
 Name              State    Autostart   Persistent
----------------------------------------------------
 default           active   yes         yes
 vagrant-libvirt   active   no          yes

Related terms[edit]

See also[edit]

Advertising: