Page 1 of 1

Giving VM sole access to NIC/getting around VM Block

Posted: 28. Oct 2011, 18:41
by Knome
Hello,

I'm trying to run a VM on a machine in an environment where VM's are not allowed. (When a machine that is running a VM tries to use the network the port is blocked until the VM is turned off). I tried cloning mac addresses when using NAT or Bridged mode but the network still detected the VM.

So my newest idea is to use two NIC's, one solely for Windows and one OSX but i can't seem to figure out how to do this with virtualbox. Is it possible to give a share hardware level access to the nic so that it won't get flagged? Or am i just going to have to suck it up and get and try and get an exception on that port?

Re: Giving VM sole access to NIC/getting around VM Block

Posted: 28. Oct 2011, 20:01
by Sasquatch
Look for an option to prevent OSX from requesting an IP on the interface. You have to be sure that it doesn't send any data out, not even ARP requests or replies to them, as the switch that has port security will pick that up and put the port down.

I do find it odd that NAT didn't work, it's the one thing that should work no matter what. The Guest MAC address shouldn't be detected by port security on a switch.

Re: Giving VM sole access to NIC/getting around VM Block

Posted: 29. Oct 2011, 02:57
by BillG
The point to remember is that you don't "do this with VirtualBox". You do it through the host OS. In a Windows host you can do it from the NIC properties GUI. That works with all the virtualization products I have used.

Ideally, what you need is one NIC which only has the bridged networking filter driver (for the guest OS) and one which has the normal TCP/IP settings etc but no filter driver (for the host OS).

I agree with Sasquatch about NAT. Port security will certainly block bridged networking, but NAT should not be affected. All traffic going to the switch should have only the host's IP and/or MAC address.