Creating an isolated network

Discussion in 'Parallels Provider for Vagrant' started by NoahO, May 14, 2017.

  1. NoahO

    NoahO Bit Poster

    Messages:
    3
    Hi,
    I'm trying to create an isolated network to connect my vagrant VM to, using config.vm.provider "parallels" do |v| v.customize format.
    I'm testing it first with prlsrvctl like this:
    prlsrvctl net add isolated1 --dhcp-server off --dhcp6-server off -t host-only

    1. It doesn't seem to disable DHCP, does anyone know why? If I run again with prlsrvnet set, it does
    2. How do I disable "Connect Mac to this network"? I want the mac to be isolated from the VM.
    Thanks,
    Noah
     
  2. rkulikov

    rkulikov Parallels Developers

    Messages:
    253
    > It doesn't seem to disable DHCP, does anyone know why? If I run again with prlsrvnet set, it does
    You mean that DHCP is not disabled on the network creation ("add" command) but actually disabled only on the consequent reconfiguration ("set" command)?

    > How do I disable "Connect Mac to this network"? I want the mac to be isolated from the VM.
    What do you really mean? net set <vnetwork_id> --connect-host-to-net off doesn't work?
     

Share This Page