VirtualBox

Ticket #15943 (new defect)

Opened 6 years ago

Wrong hostonlyif mask

Reported by: nbranco Owned by:
Component: network/hostif Version: VirtualBox 5.1.6
Keywords: Cc:
Guest type: all Host type: Windows

Description

I'm using VirtualBox as a Vagrant provider and when I specify an netmask of 255.255.255.240, the first vagrant up works fine but on subsequent ups a new interface is generated with automatic ip address.

As I explore the source of the issue I find that at vboxmanage list hostonlyifs the interface with the pretended network has a printed netmask of 255.255.255.15. This is an issue since that in fact, at network interface settings, the actual network mask is the 255.255.255.240.

I'm suspecting that this issue is leading Vagrant to assume that there's no interface for the pretended network and then it creates a new one and setted to the already existing network which cases VirtualBox to change adapter to automatic IP.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use