Fixing Virtualbox network configuration issues due to Vagrant public/private networking changes

A few times I’ve switched from the default private networking (NAT with port forwarding) to public networking (bridged) in the Vagrantfile.  When switching *back* to private networking, I wasn’t able to SSH back into the machine (i.e, “vagrant up” will time out).

Assuming you’re using a Linux Mint guest (or other Debian-based) OS, a fix for this is to open the /etc/network/interfaces file and remove anything in between the #VAGRANT BEGIN and #VAGRANT END section.  Next, run vagrant reload from the host OS to reload the guest with the updated network interface configuration.

Kristian Golding

View more posts from this author
5 thoughts on “Fixing Virtualbox network configuration issues due to Vagrant public/private networking changes
  1. erase my back pain stretch scam

    Unquestionably believe that which you stated. Your favorite reason seemed to be on the web the easiest thing to be aware of. I say to you, I definitely get irked while people think about worries that they plainly do not know about. You managed to hit the nail upon the top and defined out the whole thing without having side effect , people could take a signal. Will likely be back to get more. Thanks|

     
  2. back to life program video

    Magnificent items from you, man. I’ve be mindful your stuff previous to and you are just too wonderful. I actually like what you have received here, really like what you are saying and the way during which you assert it. You’re making it enjoyable and you continue to care for to keep it sensible. I cant wait to read much more from you. This is actually a terrific website.|

     
  3. Tess Osburne

    Hi there very nice web site!! Man .. Excellent .. Superb .. I will bookmark your site and take the feeds additionally? I am glad to search out a lot of helpful information right here in the submit, we’d like develop more strategies in this regard, thanks for sharing. . . . . .|

     
  4. zvodret iluret

    Hey, you used to write great, but the last few posts have been kinda boring?K I miss your great writings. Past several posts are just a little bit out of track! come on!