# Crear VLAN en UniFi Controller

Entramos en nuestro UniFi Controller, y nos vamos a ajustes

![](/files/7Xr55CmwK4QPQQV3lWLT)

Seleccionamos "Redes"

![](/files/zijBRTcPKrsKl3G4cgO2)

En esa pantalla veremos las redes (VLANs) creadas, ahora vamos a crear una. Click en "Crear Nueva Red"

![](/files/Egtw0zpYHqdqFMfTbZ41)

Seleccionamos:

* **Finalidad:** Corporativo
* **Grupo de red:** LAN
* **VLAN:** pondremos el valor numerico que deseemos, ejemplo "10"
* **IP Puerta enlace:** rango de IP que queramos con el [CIDR](https://azagramac.gitbook.io/myblog/linux/cidr-mascaras-de-subred), ejemplo: "10.5.10.1/24"
* **Nombre de dominio:** opcional
* **Servidores de DNS:** ejemplo 1.1.1.1 y 1.0.0.1

y guardamos los cambios, esperamos a que se aprovisione y tendremos nuestra VLAN.

Ahora definiremos un puerto del switch a nuestra VLAN, nos vamos a dispositivos y pinchamos en el swtich, en nuestro caso es el US-8-150W

![](/files/Xyk8lj3DHmnlt9w5qQlK)

Seleccionamos "Puertos"

![](/files/YCU4kMtv1cqBkPU402OL)

Elegimos el puerto donde vamos a tener la VLAN y lo editamos.

![](/files/4J0iMIGglNu3QNwkxqWS)

En perfil del puerto del conmutador, elegimos la VLAN creada, en este ejemplo la VLAN es "Network NAS", lo marcamos, guardamos y esperamos a que termine de aprovisionar los cambios.

![](/files/4CXrGi5I69Ay5dJox4Qc)

Ya solo nos queda pinchar en el puerto el dispositivo.


---

# 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://blog.azagra.dev/unifi/crear-vlan-en-unifi-controller.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.
