Previous page

Next page

Locate page in Contents

Print this page

Configuring Network Settings

To be accessible from the network, a virtual machine must be assigned a correct IP address. DNS servers must also be configured. The session below illustrates setting the main network parameters for a virtual machine having the name of MyVM:

  • To set the IP address of 10.0.186.1, run this command:

    # pctl set MyVM --device-set net0 --ipadd 10.0.186.1

    (net0 is the network card to assign the IP address to.)

  • To set the DNS server IP address of 192.168.1.165, run this command:

    # pctl set MyVM --nameserver 192.168.1.165

Note: You can configure the network settings only inside virtual machines that have Parallels Tools installed.