# Bridge destroyed while removing las virtual nic

**URL:** <https://forum.opennebula.io/t/bridge-destroyed-while-removing-las-virtual-nic/6387>\
**Category:** Product Support\
**Created:** [September 14, 2018, 2:36pm UTC](https://forum.opennebula.io/t/bridge-destroyed-while-removing-las-virtual-nic/6387 "2018-09-14T14:36:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![agil](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@agil](https://forum.opennebula.io/u/agil)\
**Post date:** [September 14, 2018, 2:36pm UTC](https://forum.opennebula.io/t/bridge-destroyed-while-removing-las-virtual-nic/6387/1 "2018-09-14T14:36:17Z")

</div>

I have configured bridge networking and created a bridge with brctl system tools, linked to the physical nic. When I create a virtual network selecting this bridge, I have found that when the last VM using this virtual network is removed or even closed, the bridge is destroyed.

I have tried to set keep\_empty\_bridge parameter, but it seems not to be working, since I got the same behavior. The virtual networks were created with sunstone, setting the value for the bridge and also for the physical device. I have found that it works as expected only if you leave the PHYDEV field empty, irrespective of setting keep\_empty\_bridge or not.

I cannot explain this behavior, so I do not know whether it is a bug or it is expected in this environment.

* * *

**Versions of the related components and OS (frontend, hypervisors, VMs):**  
OpenNebula 5.6.0  
Frontend: Ubuntu 18.04  
Hypervisors: Centos 7.5

---

<div class="post-metadata">

**Author:** ![GabrielDias](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/gabrieldias/32/5457_2.png) [@GabrielDias](https://forum.opennebula.io/u/GabrielDias)\
**Post date:** [October 8, 2018, 2:41pm UTC](https://forum.opennebula.io/t/bridge-destroyed-while-removing-las-virtual-nic/6387/2 "2018-10-08T14:41:22Z")

</div>

The same problem  
[https://github.com/OpenNebula/one/issues/2412](https://github.com/OpenNebula/one/issues/2412)

And discussing in RU community [https://t.me/opennebula/1017](https://t.me/opennebula/1017)
