> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/run-the-platform/es/redes/create-vlan.md).

# Configuración de VLANs

Instrucciones paso a paso para crear redes externas con etiqueta VLAN en VergeOS, incluidas configuraciones a nivel de host y de tenant.

## Requisitos previos

{% hint style="info" %}
**Configuración a nivel de host**

Antes de configurar las VLAN, asegúrese de que los puertos del switch estén configurados adecuadamente para que los nodos físicos de VergeOS tengan acceso a la(s) VLAN(s) deseada(s).
{% endhint %}

{% hint style="info" %}
**Configuración del inquilino**

Para la configuración de VLAN dentro de un inquilino, [Puertos de conmutador virtual](/knowledge-base/es/tenants/provide-layer2-to-tenant.md) debe configurarse primero para proporcionar acceso externo de capa 2 al inquilino.
{% endhint %}

## Pasos de configuración

### Creación de una red VLAN

1. Seleccione **Redes** > **+ Nuevo externo** desde el menú superior
2. Configure los ajustes básicos:
   * Introduzca un **Nombre** descriptivo para la red
     * Utilice una nomenclatura que indique el propósito y/o el ID de la VLAN
   * Seleccione ***vLan*** en el campo **Tipo de capa 2** desplegable
   * Introduzca el **ID de capa 2**
3. Configure la interfaz de red:

   * Seleccione la red física adecuada de **Red de interfaz** lista

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Selección de red</strong></p><p><strong>Para redes de host:</strong></p><ul><li>Debe seleccionar una red física donde la VLAN entra en el entorno VergeOS</li><li>Las redes físicas normalmente se crean durante la instalación con "Switch" añadido al nombre</li><li>Ejemplo: "External1 Switch"</li></ul><p><strong>Para inquilinos:</strong></p><ul><li>Seleccione "Física"</li></ul></div>
4. Configure los ajustes adicionales:
   * Establezca **Tipo de dirección IP** en ***Ninguno***
   * Deje los demás campos con los valores predeterminados a menos que se necesite una configuración específica
5. Complete la configuración:
   * Haga clic en **Enviar** para crear la red VLAN
   * Verifique que aparezca el panel de red con **Estado: En ejecución**

## Uso de la red VLAN

{% hint style="success" %}
**Configuración de VM**

La red VLAN recién creada puede seleccionarse en las NIC de las VM para conectar las cargas de trabajo a la(s) VLAN(s) asociada(s).
{% endhint %}

## Mejores prácticas

* Use nombres descriptivos que ayuden a identificar el propósito de la VLAN
* Documente los ID de VLAN y su uso previsto
* Verifique que la configuración del switch físico coincida con los ajustes de VLAN de VergeOS
* Pruebe la conectividad después de la configuración

## Solución de problemas

Si la red VLAN no aparece como en ejecución:

1. Verifique la configuración del switch físico
2. Compruebe que el ID de VLAN coincida con la configuración de la red física
3. Confirme que la selección de Red de interfaz sea correcta
4. Revise los registros de red para ver cualquier mensaje de error


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.verge.io/run-the-platform/es/redes/create-vlan.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
