Success with Iron Foundry + Bosh-lite + VirtualBox?

38 views
Skip to first unread message

Dan Sherbeck

unread,
Aug 26, 2014, 2:57:31 PM8/26/14
to ironf...@googlegroups.com
Has anyone had success setting up Iron Foundry with Bosh-lite and VirtualBox? If yes, what network changes did you make so the Windows 2012 server can talk with the NATS Cloud Foundry VM?

The VirtualBox VM network interface is configured as host-only and the Windows server can't see it. I'm no network expert and I'm stuck. I tried bridging the VB VM with 

config.vm.network :public_network, ip: '192.168.50.4'

in my Vagrantfile, but no luck (Ubuntu host can no longer ping 192.168.50.4 or any of the 10.244.0.x VM's). I'm also on a large corporate network, so bridging the VB VM without some planning doesn't seem like a good permanent solution.

Thanks for any info!

- Dan

brannon.jones

unread,
Aug 26, 2014, 3:46:02 PM8/26/14
to ironf...@googlegroups.com
Dan,

What we do is build the Windows Server as a VM and put it on the same virtual network as the bosh-lite VM.  IP address doesn't really matter as long as it's on the same subnet (192.168.50.0/24) and doesn't conflict.

This requires that you use the same hypervisor for both VMs.  We actually use VMware Fusion for this (VMware Workstation would work as well).  I haven't setup IronFoundry in a VirtualBox VM, so I don't have any specific advice, but the same concept should work.  There should be a list of networks that you can choose from when configuring your Windows VM.

If your Windows Server is running on another host (or is not a VM) then you'll need to bridge the networks so that each VM has a routable IP address (vs. NAT).  Then you'll probably need to configure your Windows VM with a route to the 10.244.0.0/16 network so that it routes traffic to the bosh-lite VM.

Brannon

Dan Sherbeck

unread,
Sep 2, 2014, 1:45:38 PM9/2/14
to ironf...@googlegroups.com
Thanks for the info, Brannon. Looks like moving my Windows VM to the same subnet as the VirtualBox VM is what I'll need to do. I'll let you know if I make progress...

Dan
Reply all
Reply to author
Forward
0 new messages