> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect dedicated servers into a VLAN

> Connect dedicated servers into a VLAN by assigning the same VLAN to a switch port on each server.

A VLAN (virtual local area network) connects servers on a common virtual network at the link layer, regardless of their physical location or which switches they are connected to.

> [!NOTE]
>
> VLAN support is not enabled by default. To enable it for an account, [contact support](/hosting/contact-our-technical-support).

## Assign a VLAN to a switch port

VLAN membership is configured per switch port. To put two or more servers into the same VLAN, assign the same VLAN to a switch port on each server. To start, [open DCImanager](/hosting/dedicated-servers/manage/log-in-to-dcimanager) for the target server.

**1. Expand the server row**

In the **Servers** list, click the server name to expand its row.

![DCImanager Servers list with server row expanded showing Connections section with IPMI and Network switch ports](https://mintcdn.com/gcore/494jjlOXZiI1ohtY/images/docs/hosting/dedicated-servers/manage/networking/connect-dedicated-servers-into-a-vlan/connect-dedicated-servers-into-a-vlan-image1.png?fit=max\&auto=format\&n=494jjlOXZiI1ohtY\&q=85\&s=1e3e96b26724bfffa59d3684ed15429c)

**2. Open switch port settings**

Under **Connections**, click the switch port to configure (for example, **Ethernet8**). The port settings panel opens on the right.

![Ethernet8 port settings panel with VLAN dropdown showing Not defined and Note field](https://mintcdn.com/gcore/494jjlOXZiI1ohtY/images/docs/hosting/dedicated-servers/manage/networking/connect-dedicated-servers-into-a-vlan/connect-dedicated-servers-into-a-vlan-image2.png?fit=max\&auto=format\&n=494jjlOXZiI1ohtY\&q=85\&s=cc6dd5b2c5b29488689ac90a1aff2b7b)

**3. Assign or create a VLAN**

In the **VLAN** dropdown, select an existing VLAN or select **New VLAN**. For a new VLAN, enter a name when prompted.

Optionally, add a **Note** to describe the VLAN's purpose.

Click **Save**.

To add more servers to the same VLAN, repeat the steps above for each server and select the same VLAN from the dropdown.
