Libvirt, bridging, eth0: no such device...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Libvirt, bridging, eth0: no such device...


I am working on a CentOS7 libvirt hypervisor running Vagrant 2.0.0 and using the vagrant box found here:

I am trying to configure a vagrant box with a bridged interface using the documentation examples at When I add this line to my Vagrantfile: "public_network", bridge: "br0"

Then do:
vagrant up

I get this error:
Call to virDomainCreateWithFlags failed: Unable to get index for interface eth0: No such device

I've had to use this syntax in order for it to work: "public_network", :dev => "br0", :mode => 'bridge', :type => "bridge"

I have 2 questions:
  1. Is the documentation outdated?
  2. When this does work, it creates a second network device (eth1) on the vagrant box which is connected to the host via br0. Eth0 is connected to the host via (vagrant-libvirt). Is there a way to have my bridge as eth0?


This mailing list is governed under the HashiCorp Community Guidelines - Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues:
IRC: #vagrant on Freenode
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit
For more options, visit