Command line to switch between shared network and bridge

vlu

Bit poster
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
 
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
Hi @vlu, thanks for reaching out! Are you having either Parallels Desktop Pro or business edition?
 
Hi, I just found my answer :

prlctl set $VM --device-set net0 --enable --type shared
prlctl set $VM --device-set net0 --enable --type bridged
 
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?
 
Back
Top