# Problems connecting OpenNebula virtual machines to the internet

**URL:** <https://forum.opennebula.io/t/problems-connecting-opennebula-virtual-machines-to-the-internet/11406>\
**Category:** Product Support\
**Created:** [July 10, 2023, 7:59am UTC](https://forum.opennebula.io/t/problems-connecting-opennebula-virtual-machines-to-the-internet/11406 "2023-07-10T07:59:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rcarl2010](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/rcarl2010/32/7754_2.png) [@Rcarl2010](https://forum.opennebula.io/u/Rcarl2010)\
**Post date:** [July 10, 2023, 7:59am UTC](https://forum.opennebula.io/t/problems-connecting-opennebula-virtual-machines-to-the-internet/11406/1 "2023-07-10T07:59:21Z")

</div>

I have problems connecting OpenNebula virtual machines to the internet despite creating a bridge between the physical interface of my pc and the one created in the OpenNebula interface  
Ubuntu 20.04, OpenNebula 5,12

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [July 14, 2023, 9:07am UTC](https://forum.opennebula.io/t/problems-connecting-opennebula-virtual-machines-to-the-internet/11406/2 "2023-07-14T09:07:10Z")

</div>

Hello @Rcarl2010,

There is a previous posts that can probably help you on this:  
[Access to internet with a Virtual Machine](https://forum.opennebula.io/t/access-to-internet-with-a-virtual-machine/8327)  
Also, this page on our Documentation, can help:  
[Managing VM Instances](https://docs.opennebula.io/6.6/management_and_operations/vm_management/vm_instances.html)

If this don’t solve the problem, let us know.

Cheers,  
Francisco.-

---

<div class="post-metadata">

**Author:** ![Rcarl2010](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/rcarl2010/32/7754_2.png) [@Rcarl2010](https://forum.opennebula.io/u/Rcarl2010)\
**Post date:** [July 14, 2023, 1:03pm UTC](https://forum.opennebula.io/t/problems-connecting-opennebula-virtual-machines-to-the-internet/11406/3 "2023-07-14T13:03:33Z")

</div>

I did it and it didn’t work

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [July 15, 2023, 10:49am UTC](https://forum.opennebula.io/t/problems-connecting-opennebula-virtual-machines-to-the-internet/11406/4 "2023-07-15T10:49:25Z")

</div>

Do you receive any error message? Or it doesn’t connect to internet, even with the bridge?

---

<div class="post-metadata">

**Author:** ![Rcarl2010](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/rcarl2010/32/7754_2.png) [@Rcarl2010](https://forum.opennebula.io/u/Rcarl2010)\
**Post date:** [July 15, 2023, 3:23pm UTC](https://forum.opennebula.io/t/problems-connecting-opennebula-virtual-machines-to-the-internet/11406/5 "2023-07-15T15:23:28Z")

</div>

This is the configuration of the virtual network and the bridge with the physical interface enp4s0 which is one of the ones that provides the internet and the VLAN identifier does not give me the option to configure it  
BRIDGE = “br0”  
BRIDGE\_TYPE = “linux”  
DNS = “192.168.0.1”  
GATEWAY = “192.168.0.1”  
GUEST\_MTU = “1500”  
NETWORK\_ADDRESS = “192.168.0.0”  
NETWORK\_MASK = “255.255.255.0”  
PHYDEV = “enp4s0”  
SECURITY\_GROUPS = “0”  
VN\_MAD = “bridge”

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [July 28, 2023, 10:31am UTC](https://forum.opennebula.io/t/problems-connecting-opennebula-virtual-machines-to-the-internet/11406/6 "2023-07-28T10:31:11Z")

</div>

Hello @Rcarl2010,

Very sorry for the delay, but we still need to check the error message that you might got.

Can you paste here the result of `ip a` command on the host and on the VM?

In any case, I strongly suggest to upgrade to 6.4, since 5.12 is no longer maintained.

Cheers,
