# OpenNebula attach VM to hypervisor physical network interface

**URL:** <https://forum.opennebula.io/t/opennebula-attach-vm-to-hypervisor-physical-network-interface/7331>\
**Category:** Installation & Configuration\
**Created:** [June 11, 2019, 6:33am UTC](https://forum.opennebula.io/t/opennebula-attach-vm-to-hypervisor-physical-network-interface/7331 "2019-06-11T06:33:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mosharaflink](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mosharaflink/32/5953_2.png) [@mosharaflink](https://forum.opennebula.io/u/mosharaflink)\
**Post date:** [June 11, 2019, 6:33am UTC](https://forum.opennebula.io/t/opennebula-attach-vm-to-hypervisor-physical-network-interface/7331/1 "2019-06-11T06:33:48Z")

</div>

I want to connect my OpenNebula hypervisor node physical network interface to VM directly so that VM can send traffic to hypervisor network. is there any way out for this solution?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [June 12, 2019, 7:13am UTC](https://forum.opennebula.io/t/opennebula-attach-vm-to-hypervisor-physical-network-interface/7331/2 "2019-06-12T07:13:09Z")

</div>

Hello @mosharaflink

I don’t know if I understand well, but if you want to connect VMs to the interface which is connected to the physical network, you can use linux bridges, [here](http://docs.opennebula.org/5.8/deployment/open_cloud_networking_setup/bridged.html) you can find more information.

---

<div class="post-metadata">

**Author:** ![mosharaflink](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mosharaflink/32/5953_2.png) [@mosharaflink](https://forum.opennebula.io/u/mosharaflink)\
**Post date:** [August 20, 2019, 4:59am UTC](https://forum.opennebula.io/t/opennebula-attach-vm-to-hypervisor-physical-network-interface/7331/3 "2019-08-20T04:59:03Z")

</div>

@ahuertas. Yes you got my point of networking which is connecting VM networking with host access network. But the link given for bridging does not has enough information for the configuration.

---

<div class="post-metadata">

**Author:** ![felartu](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/felartu/32/6199_2.png) [@felartu](https://forum.opennebula.io/u/felartu)\
**Post date:** [August 21, 2019, 3:18pm UTC](https://forum.opennebula.io/t/opennebula-attach-vm-to-hypervisor-physical-network-interface/7331/4 "2019-08-21T15:18:18Z")

</div>

Hi,

Please post here the following output:  
$ brctl show  
$ ip link  
$ iptables-save  
Redact any IP information from that output.

---

<div class="post-metadata">

**Author:** ![mosharaflink](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/mosharaflink/32/5953_2.png) [@mosharaflink](https://forum.opennebula.io/u/mosharaflink)\
**Post date:** [February 12, 2020, 5:33pm UTC](https://forum.opennebula.io/t/opennebula-attach-vm-to-hypervisor-physical-network-interface/7331/5 "2020-02-12T17:33:14Z")

</div>

root@node1:~# brctl show  
bridge name bridge id STP enabled interfaces  
virbr0 8000.525400b08dfd yes virbr0-nic

root@node1:~# ip link  
1: lo: \<LOOPBACK,UP,LOWER\_UP\> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000  
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00  
2: ens33: \<BROADCAST,MULTICAST,UP,LOWER\_UP\> mtu 1500 qdisc fq\_codel state UP mode DEFAULT group default qlen 1000  
link/ether 00:0c:29:67:f2:bd brd ff:ff:ff:ff:ff:ff  
3: virbr0: \<NO-CARRIER,BROADCAST,MULTICAST,UP\> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000  
link/ether 52:54:00:b0:8d:fd brd ff:ff:ff:ff:ff:ff  
4: virbr0-nic: \<BROADCAST,MULTICAST\> mtu 1500 qdisc fq\_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000  
link/ether 52:54:00:b0:8d:fd brd ff:ff:ff:ff:ff:ff
