Running multiple VMWare boxes on Windows host

82 views
Skip to first unread message

iro...@turn14.com

unread,
Sep 30, 2014, 9:51:47 AM9/30/14
to vagra...@googlegroups.com
I am having an issue running two vagrant boxes at the same time on my Windows 7 machine.If I start one, the second will not be accessible even though it's still running. Initially I thought it was a port collision issue. Both boxes forward the SSH port to 2222. My co-workers have no issues running both boxes at the same time, but they are running Ubuntu. Any help on the matter would be appreciated. Let me know if I can also provide any more detail about my environment. 

I am running 
VMWare Workstation 10.3
Vagrant 1.6.3


This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you.

iro...@turn14.com

unread,
Sep 30, 2014, 3:10:33 PM9/30/14
to vagra...@googlegroups.com
I have tried this workaround


with no success

Alvaro Miranda Aguilera

unread,
Sep 30, 2014, 4:53:43 PM9/30/14
to vagra...@googlegroups.com
you start one and then the other, both at the same time?

what'ts the error?


--
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 vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

iro...@turn14.com

unread,
Sep 30, 2014, 9:04:23 PM9/30/14
to vagra...@googlegroups.com
I start one it runs fine, I start the other, all the services running on the first one's ports are inaccessible. No vagrant errors are thrown.

Jamie Jackson

unread,
Oct 3, 2014, 12:38:02 AM10/3/14
to vagra...@googlegroups.com
I don't know if this will help you or not, but I think I have one or more messed up VirtualBox Host-Only Adaptors, myself. Switching those in the guests' host-only adaptor settings has helped me in the past.

I'd like to know how to get rid of all of my VirtualBox virtual adaptors so they'd get re-built clean, but I'm not sure how to do that.

Alternatively, I don't know if Vagrant would prevent this or not, but you don't have colliding IP addresses between the boxes do you?

Alvaro Miranda Aguilera

unread,
Oct 3, 2014, 6:05:37 PM10/3/14
to vagra...@googlegroups.com

On Fri, Oct 3, 2014 at 5:38 PM, Jamie Jackson <jamie...@gmail.com> wrote:
I'd like to know how to get rid of all of my VirtualBox virtual adaptors so they'd get re-built clean, but I'm not sure how to do that.

jamie.

Open Virtualbox gui -> preference ->network

check nat and host-only

By command line is always inside VBoxManage

BoxManage list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies|

                            intnets|bridgedifs|hostonlyifs|natnets|dhcpservers|

                            hostinfo|hostcpuids|hddbackends|hdds|dvds|floppies|

                            usbhost|usbfilters|systemproperties|extpacks|

                            groups|webcams


mini:~ alvarom$ VBoxManage list intnets

Name:        intnet

mini:~ alvarom$ VBoxManage list hostonlyifs

Name:            vboxnet0

GUID:            786f6276-656e-4074-8000-0a0027000000

DHCP:            Disabled

IPAddress:       192.168.10.1

NetworkMask:     255.255.255.0

IPV6Address:     

IPV6NetworkMaskPrefixLength: 0

HardwareAddress: 0a:00:27:00:00:00

MediumType:      Ethernet

Status:          Down

VBoxNetworkName: HostInterfaceNetworking-vboxnet0


mini:~ alvarom$ 


Then, other command would allow you delete.. gui is easier for 1 shot task.


delete all of them, and on vagrant up they should be recreated

bear in mind you question was for virtualbox, and OP was asking for vmware


Jamie Jackson

unread,
Oct 21, 2014, 11:50:54 AM10/21/14
to vagra...@googlegroups.com
Hi Alvaro,

Thanks for the tips!

I got them all cleaned up. I see now where they are listed/managed in the GUI.

For kicks I removed them via command line:

C:\Users\15037>"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" hostonlyif remove "VirtualBox Host-Only Ethernet Adapter #6"
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

C:\Users\15037>"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" hostonlyif remove "VirtualBox Host-Only Ethernet Adapter #2"
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

C:\Users\15037>"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" hostonlyif remove "VirtualBox Host-Only Ethernet Adapter #3"
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

C:\Users\15037>"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" hostonlyif remove "VirtualBox Host-Only Ethernet Adapter #4"
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

C:\Users\15037>"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" hostonlyif remove "VirtualBox Host-Only Ethernet Adapter #5"
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Thanks,
Jamie

--
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/RP05r43R9NA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages