Configuring Virtual Adapter ParametersParallels Server Bare Metal allows you to configure the following parameters of virtual machine adapters: Configuring the MAC Address If you need for some reason to regenerate the current MAC address of a network adapter, you can use the following command: # pctl set MyVM --device-set net1 --mac 00:1C:42:2D:74:00 Creating net1 (+) network=Bridged mac=001C422D7400 The VM has been successfully configured.
This command sets the MAC address of
# pctl set MyVM --device-set net1 --mac auto Creating net1 (+) network=Bridged mac=001C42C84F3E The VM has been successfully configured. Configuring the IP Parameters As any other standalone server, each virtual machine must have a number of TCP/IP settings configured in the proper way to successfully operate on the network. These settings include:
Usually, you define all these settings during the virtual machine creation. However, if you have not yet set any of the settings or want to modify any of them, you can use the
# pctl set MyVM --device-set net1 --ipadd 192.129.129.20 --gw 192.129.129.1 --nameserver 192.192.192.10
Along with a static assignment of network parameters to a virtual adapter, you can make the adapter receive its TCP/IP settings automatically using the Dynamic Host Configuration Protocol (DHCP). For example, you can run this command to make the
# pctl set MyVM --device-set net1 --dhcp yes Creating net1 (+) network=Bridged mac=001C42C84F3E Enable automatic reconfiguration for this network adapter. The VM has been successfully configured.
Detailed information on all options which can be used with the
|
||||
|