> 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/vdc-networking/lan/how-tos/add-internet-access.md).

# Add Internet Access

IONOS CLOUD VDC Networking: add internet access to a LAN in the DCD

<code class="expression">space.vars.ionos\_cloud</code> DHCP servers automatically assign public IP addresses to the [<mark style="color:blue;">Servers</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#server) with internet access. Multiple servers sharing the same internet interface also share the same subnet. With required permissions, you can add as many internet access elements as you wish.

If you do not have permission to add a new internet access element, you can connect to an existing element in your VDC, provided you have permission to edit it. Alternatively, you can use the <code class="expression">space.vars.ionos\_cloud</code> Managed NAT Gateway to enable internet access for [<mark style="color:blue;">Virtual Machines (VMs)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#virtual-machine-vm) without exposing them to the internet through a public interface.

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

2\. Select the data center to configure internet.

3\. Drag the **Internet** element from the Palette onto the Workspace.

4\. Connect this element with **Servers**.

5\. Set further properties of the connection at the respective NIC.


---

# 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.ionos.com/cloud/network-services/vdc-networking/lan/how-tos/add-internet-access.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.
