> For the complete documentation index, see [llms.txt](https://docs.vergeos-demo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vergeos-demo.com/run-the-platform/networking/dhcp-static-lease.md).

# Create a DHCP Static Lease

A network with the **Dynamic DHCP** option enabled will automatically assign IP addresses to clients. For virtual machines where it's advantageous to ensure the same address is always assigned, you can create a static IP address assigned to the associated MAC address.

**A Static Address can be assigned in one of two ways:**

* **Change a Dynamic Entry to Static**\
  After the VM has already received a DHCP address and currently still holds the lease, designate the address to be static from now on.
* **Create a New Static Entry**\
  Create a new IP address entry, specifying the MAC address from the VM NIC and the desired IP address.

## Change a Dynamic Entry to Static

1. From the Network Dashboard, click **IP Addresses** on the left menu.
2. Find the DHCP address, appearing in the IP Addresses listing as type "Dynamic"
3. Double-click the entry and change the **Type** to ***Static***.
4. Click **Submit** to save the change.

## Create a New Static Entry

1. Obtain the MAC address (within the guest OS or from the VM Dashboard-NICs section.)
2. From the Network Dashboard, click **New** from the left menu.
3. In the **Type** field, select ***Static***.
4. Enter the desired **IP Address**.

{% hint style="warning" %}
**Make sure to assign an IP address that is within the network's address range and not used by another VM on this network.**
{% endhint %}

5. Enter the **MAC Address**.
6. Enter the **Hostname** of the server.
7. Optionally, a **Description** can be entered to record additional administrative information.
8. Click **Submit**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vergeos-demo.com/run-the-platform/networking/dhcp-static-lease.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
