Skip to content

Parallels DHCP Server is active when static IP is used #519

@dirkheinkecc

Description

@dirkheinkecc

On Parallels 26

config.vm.network "private_network", auto_config: false, ip: VM_IP

When creating a new Host-Only network, Parallels always has the internal DHCP server active, even if a static IP is set.

Usecase

I'm trying to create multiple VMs in different host-only networks. Inside the VMs I want to run my own DHCP server in the host-only network. Other VMs should join that network. An IP address must always be specified, otherwise an error is raised.

Suggestion

Can we explicitly disable the DHCP server if the DHCP option is not given?
https://github.com/Parallels/vagrant-parallels/blob/master/lib/vagrant-parallels/driver/pd_12.rb#L26

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions