Ticket #17022 (new defect) — at Initial Version

Opened 5 years ago

Last modified 5 years ago

Host-only networking breaks if BridgedInterface is listed under DisabledModes

Reported by: Prolixium Owned by:
Component: other Version: VirtualBox 5.1.26
Keywords: Cc:
Guest type: other Host type: other


When switching between networking modes on a VM, VBoxManage will apparently store the previous modes under the <DisabledModes> tag in the .vbox file. I recently ran into a situation where the BridgedInterface mode was still being erroneously applied even though it was listed under DisabledModes and caused host-only networking to break (unidirectional connectivity). This required me to manually edit the .vbox file and remove the BridgeInterface line from DisabledModes.

For example, the following prevents all packets from guest -> host:

<Adapter slot="2" enabled="true" MACAddress="0002BC56CB29" cable="true" promiscuousModePolicy="AllowAll" type="virtio">


<BridgedInterface name="tap0"/> <InternalNetwork name="intnet"/> <NATNetwork name="NatNetwork"/>

</DisabledModes> <HostOnlyInterface name="vboxnet1"/>


Removing the <BridgedInterface name="tap0"/> line under DisabledModes allows host-only networking to work correctly.

It seems some items under DisabledModes are still processed, which sounds like a bug.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use