> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/network-services/cross-connect/how-tos/connect-lan-cross-connect.md).

# Connect LAN to a Cross Connect

The Workspace allows you to associate multiple VDCs with each other, via a LAN, with an existing Cross Connect or you can also create a connection instantly. For more information about how to create a connection instantly using the **+** option, see [<mark style="color:blue;">Create a Cross Connect</mark>](/cloud/network-services/cross-connect/how-tos/create-cross-connect.md).

Before connecting the VDCs to the Cross Connect, we recommend referring to the [<mark style="color:blue;">Prerequisites</mark>](/cloud/network-services/cross-connect/how-tos.md#prerequisites) to ensure you meet all the requirements.

To connect VDCs via the Workspace, follow these steps:

1\. In the **DCD**, go to **Menu** > **Virtual Data Centers**.

2\. Select the VDC that you want to connect with other VDCs by means of a Cross Connect.

3\. Drag a Cross Connect element from the Palette to the Workspace.

4\. Connect the Cross Connect element to a private LAN to establish a connection. Ensure the IP addresses in use meet the requirements. For more information, see [<mark style="color:blue;">Prerequisites</mark>](/cloud/network-services/cross-connect/how-tos.md#prerequisites) and [<mark style="color:blue;">Limitations</mark>](/cloud/network-services/cross-connect/overview/limitations.md).

5\. Select the Cross Connect element in the Workspace.

6\. From the drop-down list in the Inspector pane, select an existing connection to associate your VDC with it. The list displays the connections that belong to the same region and are under the same contract and also new Cross Connects that are not assigned to any VDC. You can also click **+** to instantly create a new connection to associate a new connection with the VDC.

![Connect VDCs via Cross Connect](/files/MSXn2FRDJ2uyrmVoT46R)

7\. Make further changes to your data center, if necessary. This is optional.

8\. Provision your changes.

{% hint style="success" %}
**Result:** The selected VDC is now added to the Cross Connect and is connected with all VDCs that belong to this connection. The following example shows how two separate VDCs in the same location are connected via a single Cross Connect.
{% endhint %}

![Two different VDCs connected via Cross Connect](/files/pOV8f6CBUYNV0krPllgP)


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/network-services/cross-connect/how-tos/connect-lan-cross-connect.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
