LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-28-2017, 12:07 AM   #1
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,416
Blog Entries: 43

Rep: Reputation: 36
VirtualBox: Network Suddenly Stopped Working on All Virtual Machines


My network suddenly stopped working for all virtual machines, while I was trying to setup vmail.

Code:
vmail - The virtual mail server
I tried rebooting the machines, checking the host network (which works), and checking the router configuration. None of these steps seem to work. What could be going wrong? How do I fix it?
 
Old 08-28-2017, 08:30 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Since it happened to all the VMs, I'd double-check the adapter settings for them (starting with just one of them) in VirtualBox. If it's set to NAT, change it to Bridged. If it's set to Bridged, test it with NAT.
 
Old 08-28-2017, 10:19 PM   #3
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,416

Original Poster
Blog Entries: 43

Rep: Reputation: 36
It belongs on bridged - won't work properly with NAT. It's on bridged already and the proper configuration in DHCP is in the router already.
 
Old 08-28-2017, 10:56 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Quote:
It belongs on bridged - won't work properly with NAT.
Do you mean it doesn't work on NAT or doesn't work the way you want it to on NAT.

If it's the latter, testing it on NAT may provide some clues as to the next troubleshooting step.

Please do not take this the wrong way, but you won't be able to shoot the trouble unless you are willing to test stuff.

Last edited by frankbell; 08-28-2017 at 10:58 PM.
 
Old 08-29-2017, 06:32 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
All my Vboxen are bridged.

Just sayin'
 
Old 09-03-2017, 08:08 AM   #6
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,416

Original Poster
Blog Entries: 43

Rep: Reputation: 36
I was going to go ahead and try NAT, but it seems the problem fixed itself. I know they wont work the way they need to on NAT, because they are servers designed to provide network services to my whole network, and the internet, and id already found that out by trial and error. But as you said, to troubleshoot, I was willing to try it. However, after restarting nearly all virtual machines, saving the last one for now, and then shutting them down and then rebooting the physical machine, then restarting all of them again, it seems to be okay again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Virtual Box suddenly stopped working fuser312 Slackware 10 01-23-2015 11:32 AM
[SOLVED] How to Set Up VirtualBox / Virtual Machines for Development RavenLX Linux - Virtualization and Cloud 3 09-22-2014 10:00 AM
Virtualbox on a Server, Serving Virtual Machines almcneill Linux - Software 2 07-06-2010 07:09 PM
running 2 virtual machines in virtualbox pete73 Linux - Server 1 07-22-2009 08:07 AM
suddenly stopped network giesbert Linux - Networking 1 04-12-2008 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration