# Static IP assignment

Defguard allows you to manually assign static IPs to user devices in the VPN network.

Assigned IPs don't change unless one of the following scenarios occurs:

* The network address is changed and the assigned IP no longer fits. This causes the IP address to change to the next available IP in the new address space.
* The user is disabled and then enabled.
* The user's access to a network is modified in any way. For example, a user is removed and then re-added to an allowed group, or an allowed group is removed and later added to a network.

### Changing IP of all user devices

To change the IP address of any user device, navigate to the user list.

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2FQ0d6bFXLzquey293pgew%2Fobraz.png?alt=media&#x26;token=f94163c4-dba2-4adb-8b78-e6f77f6de2ac" alt=""><figcaption></figcaption></figure>

Then, open the context menu next to a given user and select "User devices IP settings".

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2FPcKCSl1syQ1i0sdKT7ea%2Fobraz.png?alt=media&#x26;token=b0ecb9cd-ba72-4f4e-96ba-72ad8aec9bc0" alt=""><figcaption></figcaption></figure>

Here you can manage all IP assignments for all devices belonging to that user in all networks.

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2FIDVamEFvxoPJTg3EInkZ%2Fobraz.png?alt=media&#x26;token=5e47426a-084e-4fe1-9160-6310f8996462" alt=""><figcaption></figcaption></figure>

### Changing IP address of a specific device

To change the IP address of a specific device, navigate to a user's profile page.

Next, go to the "Devices" tab.

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2FmCQdxObDViOdSol21zeT%2Fobraz.png?alt=media&#x26;token=56663c72-74ff-47db-9955-02d3b6dc2a33" alt=""><figcaption></figcaption></figure>

Open the context menu for a selected device and choose "Device IP settings".

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2F9iXbv4HYs9ZhvlRcfeuJ%2Fobraz.png?alt=media&#x26;token=608bbbb5-01dc-4564-824b-54e9904af6ad" alt=""><figcaption></figcaption></figure>

Here you can manage all IPs for the selected device.

<figure><img src="https://2426002228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqPYuWxfmxFk6sz1LLLwd%2Fuploads%2F5LFVDzUpkLHckR2SeXmR%2Fobraz.png?alt=media&#x26;token=4c62973b-61ec-4f8a-822b-ee29eb62b7d7" alt=""><figcaption></figcaption></figure>
