User Tools

Site Tools


informatica:linux:vagrant

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
informatica:linux:vagrant [2020/04/08 07:26] – [It appears your machine doesn't support NFS, or there is not an] javiinformatica:linux:vagrant [2020/05/15 14:50] javi
Line 340: Line 340:
  
   vagrant up   vagrant up
 +  
 +====== Cambiar rango IPs de libvirt ======
 +
 +  /etc/libvirt/qemu/networks/vagrant-libvirt.xml
 +
 +        before
 +
 +<code>
 +<network ipv6='yes'>
 +  <name>vagrant-libvirt</name>
 +  <uuid>f9dd4e87-b07e-4722-a8a4-bd2b7bcd8aa5</uuid>
 +  <forward mode='nat'/>
 +  <bridge name='virbr1' stp='on' delay='0'/>
 +  <mac address='52:54:00:41:40:ca'/>
 +  <ip address='192.168.121.1' netmask='255.255.255.0'>
 +    <dhcp>
 +      <range start='192.168.121.1' end='192.168.121.254'/>
 +    </dhcp>
 +  </ip>
 +</network>
 +</code>
 +
 +  sudo virsh net-edit vagrant-libvirt
 +
 +<code>
 +<network ipv6='yes'>
 +  <name>vagrant-libvirt</name>
 +  <uuid>f9dd4e87-b07e-4722-a8a4-bd2b7bcd8aa5</uuid>
 +  <forward mode='nat'/>
 +  <bridge name='virbr1' stp='on' delay='0'/>
 +  <mac address='52:54:00:41:40:ca'/>
 +  <ip address='10.151.0.1' netmask='255.255.255.0'>
 +    <dhcp>
 +      <range start='10.151.0.1' end='10.151.0.254'/>
 +    </dhcp>
 +  </ip>
 +</network>
 +</code>
 +
 +  sudo service libvirtd stop
 +
 +  sudo ifconfig virbr1 down
 +  sudo ip link set virbr1 down
 +  sudo brctl delbr virbr1
 +
 +  sudo service libvirtd start
 +
 +Bridge was NOT created...
 +
 +Solution: start the network
 +
 +  sudo virsh net-start vagrant-libvirt
 +
informatica/linux/vagrant.txt · Last modified: 2020/05/22 10:20 by javi