Skip to content

Proper (libvirt) network setup to work with vagrant-libvirt #1431

Answered by bolausson
bolausson asked this question in Q&A
Discussion options

You must be logged in to vote

Hej and thanks for the quick reply!

LIBVIRT_INP chain was missing.
I had to restart libvirtd and then I could run "vagrant up" successfully.

The culprit is:
libvirtd starts and crates the chain, after that shorewall starts and clears everything.

I was able to reproduce this.

  • Stop shorewall, restart libvirtd, vagrant up --> success
  • Stop shorewall, restart libvirtd, start shorewall, vagrant up --> failed

And the init startup sequence is indeed to first start libvirtd and some time after that shorewall is started - stupid problem which luckily can be resolved fairly easy.

I don't understand one comment from you though:

I'm not sure that we support handling macvtap networks correctly yet, …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@electrofelix
Comment options

@bolausson
Comment options

Answer selected by bolausson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants