Connect a VM to a Network
To configure a VM's connection to a CloudShare network:
- In the environment's details page, select Edit Environment and Edit Networks.
- On the topology diagram, select the VM you want to configure.
- If the VM is not already connected to the network, click Add Adapter to add a new net adapter.
- Click the More Details link on the net adapter to modify the settings:
Field | Description |
Network | Select the target network for the adapter. |
Inbound Access |
Choose how the net adapter can be accessed from the internet:
Click here to learn more about inbound access options. |
Internal IP | The IP address assigned to the net adapter. This IP must be on the network's subnet. The same IP address must also be configured as the net adapter's static IP in the VM's OS. |
Adapter Type | Select the type of net adapter:
|
MAC Address |
Configuring a machine’s MAC address -
|
Troubleshooting: If connectivity or network problems occur, especially for Linux machines, consider using ‘Static’ MAC Address type.
- Click Save Changes.
- After configuring the MAC address or changing its state, the machine will be restarted in order to apply the updates.
- For the change to be applied to future environments, take a snapshot.
- Connect to the VM to configure the adapter in the VM's OS as well. Note the following:
- The adapter's IP address must be a static IP and must be the same as you set in the Internal IP field on the Edit Networks page.
- If you want to ensure remote connectivity via the CloudShare Gateway: The adapter's default gateway must either be the IP you assigned to the CloudShare remote access gateway for the network (in the CloudShare Gateway IP field for the network, on the Edit Networks page) or another IP in the subnet. At least one of the VMs in the network should have the CloudShare Gateway IP value set as its default gateway.
Important tips:
- How to connect to the VM: Even if the VM is not connected to a network or some configuration mismatch has rendered the network unusable, you can connect to it over the console interface. To do that:
- On the Environment Details page, find the VM in the VMs list.
- Hover over the arrow at the right of the View button and select View in Console. The VM opens in the viewer and connects to the VM over Console. You can now make your configuration changes.
- To identify the corresponding net adapter in the VM's OS, use the MAC address, which is displayed when you select the net adapter in the Edit Networks page.
Comments
0 comments
Article is closed for comments.