> 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

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