5.3.3.1. Switching Virtual Machine Adapters to Host-Routed Mode

By default, a virtual adapter in any newly created virtual machine starts operating in connected to the bridged mode (see Section 5.4.3.3, “Connecting Virtual Machines to Virtual Networks” for details). To change the current network mode to host-routed, you can run the following command:

# prlctl set <VM_name> --device-set Net_ID --type routed

For example, to set the net0 adapter in the virtual machine MyVM to operate in the host-routed mode, use this command:

# prlctl set MyVM --device-set net0 --type routed