<!--
DO NOT DELETE, RENAME, OR MOVE THIS DOCUMENT UNDER ANY CIRCUMSTANCES

This document is referenced by the Halo Wizard for users to follow. Changing this document will break that reference.
-->

:::note

If your network has a DHCP server, the virtual machine will be assigned an IP address automatically and you can safely skip this guide.

:::

This guide walks through using NMTUI (Network Manager Text User Interface) to assign a static IP to your Single Node VM.

**Per your network defined configurations and boundaries**

1. Before configuring the virtual machine's network, you need to know the MAC address of the ethernet the machine is running.

2. Run `nmcli` in the console to determine which network the virtual machine is using. Make a note of this.

3. Once you know which network to edit, run `nmtui` to launch the Network Manager and select **Edit a connection**.

![NMTUI with the "Edit a connection" option highlighted in the main menu](/.attachments/HyperV_Step_10.png)

4. Based on your configuration requirements:
    * Either **Add** network adapter or **Edit** connection.
    * In our example we edit the connection the virtual machine is using.

![NMTUI showing a highlighted connection that the example VM is using](/.attachments/HyperV_Step_11.png)

5. Select the option next to `IPv4 CONFIGURATION`; in our example, it is **Automatic**. Set this to **Manual** using the dropdown menu that appears.

![NMTUI showing the highlighted option to select. In this example, the option is labeled "Automatic"](/.attachments/halo-nmtui-ipv4-option.png)

![NMTUI with the "Manual" option highlighted in the dropdown list](/.attachments/halo-nmtui-ipv4-manual-dropdown.png)

6. Select **Show** for the IPv4 configuration. This will provide options to edit IP addresses, gateway and DNS servers.

7. Enter the required information, then scroll to the bottom and click **OK**.

![NMTUI showing the "Edit Connection" screen with all the necessary options filled out](/.attachments/HyperV_Step_12.png)

8. Navigate back to the Network Manager main screen, then select **Activate a connection** and ensure your connection is set to *Activated*.

![NMTUI with the "Activate a connection" option highlighted in the main menu](/.attachments/HyperV_Step_13.png)

![NMTUI showing the connection has been activated](/.attachments/HyperV_Step_14.png)

9. Exit the Network Manager and run the following command:

>```sh
>sudo systemctl restart NetworkManager
>```

10. Continue following the appropriate Single Node VM deployment page.