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

Next revision
Previous revision
Next revisionBoth sides next revision
libvirt_isolated_network [2016/04/01 13:50] – created adminlibvirt_isolated_network [2016/04/01 13:56] – [Libvirt, create isolated network] admin
Line 3: Line 3:
 ~~TOC~~ ~~TOC~~
  
-=====libvirt create isolated network===== +=====Libvirt, create isolated network===== 
-  * XML<code>     <network> + 
-        <name>private</name> + 
-        <bridge name="virbr2" /> +  * Create an XML file, for example in ''/tmp/isolated.xml''<code> 
-        <ip address="192.168.152.1" netmask="255.255.255.0"+     <network> 
-          <dhcp+        <name>isolated</name> 
-            <range start="192.168.152.2" end="192.168.152.254" /> +        <bridge name="virbr1" /> 
-          </dhcp> +      </network
-        </ip+</code
-        <ip family="ipv6" address="2001:db8:ca2:3::1" prefix="64" /> +  * Define the network:<code>virsh net-define /tmp/isolated.xml</code
-      </network></code>+  * Autostart the new network: <code>virsh net-autostart isolated</code
 +  * Start the network: <code>virsh net-start default</code> 
              
libvirt_isolated_network.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1