Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


libvirt_isolated_network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
libvirt_isolated_network [2016/04/01 13:54] adminlibvirt_isolated_network [2016/04/01 13:56] – [Libvirt, create isolated network] admin
Line 6: Line 6:
  
  
-  * Define the network in an XML file, for example in ''/tmp/isolated.xml''<code>+  * Create an XML file, for example in ''/tmp/isolated.xml''<code>
      <network>      <network>
         <name>isolated</name>         <name>isolated</name>
Line 12: Line 12:
       </network>       </network>
 </code> </code>
- +  * Define the network:<code>virsh net-define /tmp/isolated.xml</code> 
-virsh net-define /usr/share/libvirt/networks/default.xml +  * Autostart the new network: <code>virsh net-autostart isolated</code> 
-Network default defined from /usr/share/libvirt/networks/default.xml +  * Start the network: <code>virsh net-start default</code>
-virsh net-autostart default +
-Network default marked as autostarted +
-virsh net-start default +
-Network default started+
  
              
libvirt_isolated_network.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1