# What are Static Devices in Netmaker?

## Introduction

In this guide, we’ll walk you through setting a static IP for your device in Netmaker. A static IP offers several advantages, including improved network stability and easier management. When you set your device as static, the Netclient will ignore UDP hole punching—a technique used to establish direct connections between devices behind firewalls or NAT—and instead broadcast the static IP as its public endpoint.

This ensures consistent connectivity, but it's crucial to confirm that the static IP matches your device's current public IP to avoid any connection issues.

{% hint style="warning" %}
Make sure the static IP you configure is the device's actual public IP. If it does not match, connections may fail.
{% endhint %}

To set a static endpoint on your device using Netmaker, follow these steps:

{% stepper %}
{% step %}

### Log into Netmaker

Access your Netmaker dashboard.
{% endstep %}

{% step %}

### Select your network

Choose the network where you want to set the static endpoint.
{% endstep %}

{% step %}

### Add a new Device

If you haven't already added your device, add it by clicking "Add Device".
{% endstep %}

{% step %}

### Open the device

Once your device is added, click on the device to access its settings.
{% endstep %}

{% step %}

### Edit device settings

In the device settings, select the Edit option to modify the configuration.

![Edit device settings](https://downloads.intercomcdn.com/i/o/al371us8/1224588058/ddd8eead46265b36ef2bb5cc10b1/Screenshot+from+2024-10-22+13-39-04.png?expires=1769018400\&signature=6058bd3e30b4088437e691a91a008ea6c812d3f16fc6727501173a6073ba17e4\&req=dSIlEsx2lYFaUfMW1HO4zdho%2FyxdHa9epikCskM7Oh4ot4U9w2Oujif3rL2Z%0AcoBq%0A)
{% endstep %}

{% step %}

### Go to Global Device settings

Navigate to the Global Device settings.

![Global Device settings](https://downloads.intercomcdn.com/i/o/al371us8/1224591077/97e2febfcf24bda2302dfc567d2b/Screenshot+from+2024-10-22+13-41-10.png?expires=1769018400\&signature=3cc3300bb5cfe973c221ce7b1a4e61d5fee3c71e33970d7d859ed8a723f2b930\&req=dSIlEsx3nIFYXvMW1HO4zQeBoco6JhEv87%2FS7APMKieqHdtjs60xgcLWHLF8%0AjCqK%0A)
{% endstep %}

{% step %}

### Enable static endpoint

Turn on the option for the static endpoint, select your static IP, and save the change by clicking "Update Device".

![Enable static endpoint](https://downloads.intercomcdn.com/i/o/al371us8/1224614165/97d10b113edf00e196f29039266f/Screenshot+from+2024-10-22+13-57-17.png?expires=1769018400\&signature=d19ab3345e47b648177a64d43938b02f40bab62585e3714dbe8df421ce825ced\&req=dSIlEs9%2FmYBZXPMW1HO4zcf5A3yfgnIorOHesTta8d3z2PBLVGXpOY97ZmkA%0AVwYO%0A)
{% endstep %}

{% step %}

### Check connectivity

After setting up the static endpoint, ensure that the device can connect properly and is reachable using the static IP.
{% endstep %}
{% endstepper %}


---

# Agent Instructions: 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://learn.netmaker.io/help-articles/what-are-static-devices-in-netmaker.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.
