Perryg wrote:Like I said it does not always update the GUI or even the file. You need to check to see if it actually works like it should. It did for me when I tested the commands to make sure..
Still doesn't work for me. Here is what I did to set up a testing environment, and the results.
1. Set up:
a. Three VMs: VM7 and VM8 on one host, VM9 on another host
VM7: 192.168.2.98
VM8: 192.168.2.88
VM9: 192.168.2.89
b. All VMs on the same subnet, 192.168.2.0/24, and same VLAN (318)
c. All VMs use Intel Pro/1000 MT Desktop adapter
d. No network services such as web/mail, to minimize traffic.
e. VM8 is pinging continuously to VM9:
2. Results (done in the order presented here):
a. Initial state: all VMs have promiscuity "Deny", set by VirtualBox GUI:
VM7 is running wireshark capture
VM7 sees only DHCP discover and ARP traffic.
b. VM7's promiscuity is changed to "Allow VMs", set by VirtualBox GUI:
VM7's wireshark capture is stopped, then started.
VM7 sees ICMP requests from VM8 to VM9 and responses from VM9 to VM8
VM7 sees ARP requests for VM8's MAC address from VM9
c. VM7's promiscuity is changed to "Deny", set by VirtualBox GUI:
VM7's wireshark capture is stopped, then started.
VM7 sees only DHCP discover traffic.
d. VM7's state was set back to before any promiscuousModePolicy settings were made, either by the GUI or presumably by VBoxManage. Then VM7's promiscuity was changed to "AllowAll", via:
Code: Select all
VBoxManage controlvm VM7 nicproperty1 promiscuousModePolicy="AllowAll"
VM7's wireshark capture is stopped, then started.
VM7 sees only DHCP discover traffic.
No promiscuousModePolicy string was found in current VM7.vbox file, even after a shutdown of VM7, and restarting the VirtualBox GUI.
e. VM7's promiscuity is changed to "Allow All", set by VirtualBox GUI:
VM7's wireshark capture is stopped, then started.
VM7 sees ICMP requests from VM8 to VM9 and responses from VM9 to VM8
VM7 sees ARP requests for VM8's MAC address from VM9
The promiscuousModePolicy string was found in the current VM7.vbox file, as follows:
<Adapter slot="0" enabled="true" MACAddress="08002734DF8D" cable="true"
speed="0" promiscuousModePolicy="AllowAll" type="82540EM">
<DisabledModes>
<NAT>
<DNS pass-domain="true" use-proxy="false" use-host-resolver="false"/>
<Alias logging="false" proxy-only="false" use-same-ports="false"/>
<Forwarding name="guestssh" proto="1" hostport="54009" guestport="22"/>
</NAT>
<GenericInterface driver="">
<Property name="promiscuousModePolicy" value="AllowAll"/>
</GenericInterface>
</DisabledModes>
<BridgedInterface name="em2.318"/>
</Adapter>
Note that old property "promiscuousModePolicy", set by the previous "VBoxManage controlvm" command, appears in the 'DisabledModes/GenericInterface driver=""' portion.