Failed to turn on promiscuous mode on Windows 7 guest system

Discussions about using Windows guests in VirtualBox.
Post Reply
Shoar
Posts: 8
Joined: 7. Sep 2011, 03:24
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7

Failed to turn on promiscuous mode on Windows 7 guest system

Post by Shoar »

HI all. I'm using Windows 7 Home X64 on VirtualBox 4.1.2. Host system is Windows Ultimate X32. Hardware is Gigabyte AM3 GA-MA770 Athlon II X4 630 2.8 GHz, 4Gb Ram (over 1Gb is set for guest system). Now I need to debug an application which using promiscuous mode using Visual Studio. But the error 'An attempt was made to access a socket in a way forbidden by its access permissions.' occurs when socket initialization code is executed. On the host system all works fine. The network interface is the same (bridge mode, but I was trying all modes except Generic Driver) and only single network adapter used. Of course Promiscuous Mode: Allow all is set for network adapter of guest system. I also couldn't find promiscuous mode switcher on Advanced tab of network adapter properties on both host and guest systems.
If anyone want to see socket initialization code (C# language, address family - IP V4, socket type - Raw, Protocol - IP) let me know, but it is very simple and seems to be fine as it works on host system. Thanks in advance.
Shoar
Posts: 8
Joined: 7. Sep 2011, 03:24
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7

Re: Failed to turn on promiscuous mode on Windows 7 guest system

Post by Shoar »

I have found what cause that problem. Just was needed to turn off UAC or run Visaul Studio as administrator.
Post Reply