<p>You're using virtualbox, right? Would you be able to draw me a picture? I thought you wanted the guest1 (server) and guest2 (client?) to be completely off in their own little world.</p>
<div class="gmail_quote">On Jun 6, 2012 6:19 PM, "Claude Felizardo" <<a href="mailto:cafelizardo@gmail.com">cafelizardo@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey guys, sorry it took a while to get back to this. I had to move back to my cubicle office after temporarily moving to another office with a real window while they did some minor construction then I had a couple of other things that took priority for a while...<div>
<br></div><div>Anyway, I finally got a chance to look at this and got it working. They key as Matthew pointed out was to set the adapter type to "Bridged" instead of the default "NAT". I'm doing this at work so I can't just assign "random" IPs nor can I muck with the firewall or routers. </div>
<div><br></div><div>So I've got two virtual machines, both are configured for DHCP and use the live ethernet device as my desktop. The difference is the VM with NAT, even though it has a 10.0.x.x address, it looks like it's coming from my desktop so it can access machines on the local subnet as my desktop. The other VM with the bridged adapter has an IP from a DHCP server from outside the subnet so it can NOT access things that are restricted to project internal machines only which is exactly what I wanted. </div>
<div><br></div><div>I did not have to make any funny cables, use any proxy servers or external machines nor did I have to create a VM to act as some kind of server.</div><div><br></div><div> Not sure if changing the MAC address made a difference. </div>
<div><br></div><div>Actually, strike that. I'm having a problem trying to reproduce this. Looks like it really depends on which DHCP server responds determine if I can see the restricted servers or not. Could be that the DHCP servers are getting tired of my asking for a new IP over and over? Or perhaps its the winxp and win7 machines that are getting tired of being yanked around. I'm currently installing ubuntu, we'll see how that goes...</div>
<div><br></div><div>Nope, I installed the latest ubuntu and it looks like the local DHCP server gave me an IP on the same subnet. Rats.</div><div><br></div><div>Claude</div><div><br></div><div><br></div><div><br></div><div>
<div><div class="gmail_quote">On Fri, May 25, 2012 at 9:04 AM, Matthew Campbell <span dir="ltr"><<a href="mailto:dvdmatt@gmail.com" target="_blank">dvdmatt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Yes, it's fairly easy to set this up in VB.</p>
<p>You can even set it up through        DHCP if you are a masochist ;)</p>
<p>Matt</p>
<p>- Put the VB Vnetwork NIC in bridge mode<br>
- Assign it a unique MAC address<br>
- Configure DHCP to assign an outside IP address to that MAC (or hard code it, much easier)<br>
- Configure your router to route that 1 address to the big bad world in addition to its current nets.<br>
-easy peasy</p><div><div>
<div class="gmail_quote">On May 24, 2012 8:13 PM, "<a href="mailto:nopbin@gmail.com" target="_blank">nopbin@gmail.com</a>" <<a href="mailto:nopbin@gmail.com" target="_blank">nopbin@gmail.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>With constraints as described, Virtualbox is not going to get you an ip address outside your firewall. Best bet is to use an aws node or something like that if you don't have wired or wireless access to an external network.</p>
<div class="gmail_quote">On May 24, 2012 7:57 PM, "Claude Felizardo" <<a href="mailto:cafelizardo@gmail.com" target="_blank">cafelizardo@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I believe there are a couple of people on this mailing list who are using VirtualBox or equiv...<div><br></div><div>Has anyone setup a VirtualBox guest machine so it can access the internet but can not access the host's local network? Basically create a network sandbox.</div>
<div><br></div><div>For example, let's say I want to verify that an internal web server can NOT be accessed from the internet yet I want to be able to access it from my desktop and I don't have access to a machine outside my network to test from. So using VirtualBox, I created a virtual machine running Ubuntu. When I bring up a browser, I'm able to access a web server as if I was connecting directly from my desktop. I want to configure this virtual machine so it has an IP address outside my local network. </div>
<div><br></div><div>Any suggestions? Tried googling but either it can't do it or I'm just not using the right keywords.</div><div><br></div><div>Claude</div><div><br></div><div><br></div>
</blockquote></div>
</blockquote></div>
</div></div></blockquote></div><br></div></div>
</blockquote></div>