Command line to switch between shared network and bridge

Discussion in 'General Questions' started by vlu, Dec 14, 2018.

  1. vlu

    vlu Bit poster

    Messages:
    3
    Hi,
    I am looking for a command to switch between shared network and bridge. I see there is prlctl "--device-connect" and "--device-disconnect" switches, but I haven't find one to switch the network mode while the vm is on. It is possible to do it from the gui , so I suppose we can do it from the command line.

    Jean-Philippe
     
  2. PaulChristopher@Parallels

    PaulChristopher@Parallels Product Expert Staff Member

    Messages:
    3,158
    Hi @vlu, thanks for reaching out! Are you having either Parallels Desktop Pro or business edition?
     
  3. vlu

    vlu Bit poster

    Messages:
    3
    Hi, I just found my answer :

    prlctl set $VM --device-set net0 --enable --type shared
    prlctl set $VM --device-set net0 --enable --type bridged
     
  4. vlu

    vlu Bit poster

    Messages:
    3
    I am currently on Pro, but also have access to business edition. Can you provide the command for the business edition if it is different?
     
  5. Arun@Parallels

    Arun@Parallels Parallels Support

    Messages:
    1,356
    Hi @vlu , this applies for both Business and Pro edition.
     

Share This Page