Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

https://www.juniper.net/documentation/en_US/vmx15.1f6/topics/task/operational/vmx-managing.html

Note: If you cannot deploy vMX after upgrading libvirt, bring down the virbr0 bridge with the ifconfig virbr0 down command and delete the bridge with the brctl delbr virbr0 command.

[root@hp8300 vmx]# ifconfig virbr0 down
[root@hp8300 vmx]# brctl delbr virbr0
[root@hp8300 vmx]# virsh net-start default
Network default started



[root@hp8300 vmx]# virsh net-dumpxml default

<network>
  <name>default</name>

  <uuid>7c445c27-05c8-45b3-8049-4fa6b5b01778</uuid>

  <forward mode='nat'/>

  <bridge name='virbr0' stp='on' delay='0'/>

  <mac address='52:54:00:b5:3c: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>convert a network name to network UUID

 

[root@hp8300 vmx]# more /etc/libvirt/qemu/networks/default.xml

<network>

  <name>default</name>

  <uuid>7c445c27-05c8-45b3-8049-4fa6b5b01778</uuid>

  <bridge name="virbr0" />

  <mac address='52:54:00:B5:3C:54'/>

  <forward/>

  <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>

  • No labels