Network interface element not working

Ian Pilcher arequipeno at gmail.com
Mon Apr 4 18:08:36 UTC 2022


I've added an interface element to a libvirt network, but it isn't
working.  The interface is not being added to the bridge, even after the
system is rebooted.

# virsh net-dumpxml ocp4-net
<network>
   <name>ocp4-net</name>
   <uuid>b5852945-9889-4d22-ba61-879125316cec</uuid>
   <forward dev='eno2' mode='nat'>
     <nat>
       <port start='1024' end='65535'/>
     </nat>
     <interface dev='eno2'/>
   </forward>
   <bridge name='virbr-ocp4' stp='on' delay='0'/>
   <mac address='52:54:00:99:99:99'/>
   <ip address='192.168.123.1' netmask='255.255.255.0'>
   </ip>
</network>

# brctl show
bridge name     bridge id               STP enabled     interfaces
virbr-ocp4              8000.525400999999       yes             vnet0
virbr0          8000.525400a7ce7f       yes
virbr1          8000.52540051eb1f       yes             vnet1

# rpm -q libvirt
libvirt-8.0.0-2.module_el8.6.0+1087+b42c8331.x86_64

Any ideas?

-- 
========================================================================
Google                                      Where SkyNet meets Idiocracy
========================================================================



More information about the libvirt-users mailing list