Skip to content

Instantly share code, notes, and snippets.

@tsuri
Last active August 30, 2016 20:49
Show Gist options
  • Save tsuri/774a750139a649bad6fbf7f0b9695fba to your computer and use it in GitHub Desktop.
Save tsuri/774a750139a649bad6fbf7f0b9695fba to your computer and use it in GitHub Desktop.
vagrant networking

vagrant creates networks like:

vboxnet1

[ for some reason it started at 0, now it is 1 for me ]

to avoid sleep interferences:

  • put the following in /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

[keyfile]
unmanaged-devices=interface-name:vboxnet0
unmanaged-devices=interface-name:vboxnet1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment