---
title: How to Configure Networking on Vultr Cloud Servers
url: https://docs.vultr.com/how-to-configure-networking-on-vultr-cloud-servers
description: Learn how to set up and configure networking on Vultr Cloud Servers with our step-by-step guide covering IP addressing, security groups, and network optimization.
publish_date: 2022-03-25T00:00:00Z
last_updated: 2026-04-15T00:00:00.077250Z
header_image: https://docs.vultr.com/public/doc-assets/1293/c5e95e22e037a58a.png
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

## Introduction

Vultr provides many flexible networking options for your cloud servers. In addition to the public network attached to every Vultr instance, you can configure up to five [Virtual Private Clouds (VPCs)](https://docs.vultr.com/how-to-create-a-vultr-virtual-private-cloud-vpc) per location. VPCs allow cloud servers within a location to communicate without exposing traffic to the public internet. Vultr automatically configures the network adapters in most situations, so you don't need to do anything. However, there are some situations when you need to configure the network manually:

* If you add more [public IPv4 addresses](https://console.vultr.com/network/#network-reservedips) to your server
* If you use [a floating IPv4 address and BGP](https://docs.vultr.com/high-availability-on-vultr-with-floating-ip-and-bgp)
* If you add or remove a [Virtual Private Cloud (VPC)](https://console.vultr.com/network/#network-vpc) to your server after deployment.

This guide explains how to configure your network adapters manually.

### About Automatic Versus Manual Configuration

When you deploy a server, you can attach one or more VPCs to the server's private network adapters. You can do that through the Vultr Console or with automation tools like [Vultr API](https://www.vultr.com/api/), [vultr-cli](https://github.com/vultr/vultr-cli), or [Terraform](https://registry.terraform.io/providers/vultr/vultr/latest/docs). You can also use these methods to make changes after deploying the server.

When you first deploy a server, Vultr performs automatic network configuration for you. The way Vultr configures the server depends on the operating system.

* Linux servers use cloud-init.
* Windows and BSD-based servers use boot scripts.
* Fedora CoreOS servers use [ignition](https://docs.vultr.com/ignition), and the network configuration cannot change after deployment.

## Configure Linux Servers

When deploying a Linux server, cloud-init automatically configures both the public and private network adapters. If you attach your VPCs **while deploying the server**, Vultr automatically configures those network adapters, and you don't need to perform any manual configuration.

However, if you make any networking changes **after the initial deployment**, you need to update the network configuration manually. Some scenarios where this happens:

* Attaching a new VPC to the server
* Removing a VPC from the server
* Adding or changing the public IP address.

If you need to configure the network, follow these steps:

1. Open the Vultr [Vultr Console](https://console.vultr.com/).
1. Open the details page for your server.
1. Click the **Settings** tab.
1. CLick the **IPv4** menu.
1. In the **Public Network** section, look for the line that says **Need assistance? View our networking configuration tips and examples.** and click the **networking configuration** link.
1. On this page, Vultr provides instructions for your server with the correct IP addresses. Follow those instructions to configure the network adapters.

![NetworkConfig](https://docs.vultr.com/public/doc-assets/1293/e592636460e50f24.png)

> AlmaLinux, Rocky Linux, VZLinux, and other CentOS-based Linux distributions should follow the CentOS instructions.
>
> Arch users should consult [ArchWiki](https://wiki.archlinux.org/) for details.

## Configure FreeBSD and OpenBSD

When deploying a BSD-based server, a Vultr boot script automatically configures the **public** network adapter, but you must manually configure any **private** network adapters attached to VPCs. Additionally, if you make any networking changes **after the initial deployment**, you need to update the network configuration. Some scenarios where this happens:

* Attaching a new VPC to the server
* Removing a VPC from the server
* Adding or changing the public IP address.

If you need to configure the network, follow these steps:

1. Open the Vultr [Vultr Console](https://console.vultr.com/).
1. Open the details page for your server.
1. Click the **Settings** tab.
1. CLick the **IPv4** menu.
1. In the **Public Network** section, look for the line that says **Need assistance? View our networking configuration tips and examples.** and click the **networking configuration** link.
1. On this page, Vultr provides instructions for your server with the correct IP addresses. Follow those instructions to configure the private network adapter.

![NetworkConfig](https://docs.vultr.com/public/doc-assets/1293/e592636460e50f24.png)

## Configure Windows Servers

A Vultr boot script configures the **public** network adapter when deploying a Windows server, but you must manually configure any **private** network adapters attached to VPCs. Additionally, if you make any networking changes **after the initial deployment**, you need to update the network configuration manually. Some scenarios where this happens:

* Attaching a new VPC to the server
* Removing a VPC from the server
* Adding or changing the public IP address.

> Windows servers assign separate adapters to each VPC. If you add multiple VPCs simultaneously, it may be challenging to determine which adapter is attached to which VPC. We suggest attaching and configuring one VPC at a time to avoid complications.

Before you begin, make sure the VPC is attached to the server in the Vultr Console and collect the IP address information.

1. Open the Vultr [Vultr Console](https://console.vultr.com/).
1. Open the details page for your server.
1. Click the **Settings** tab.
1. In the **IPv4** menu, check the **VPC Network** section.
1. Note the IP address information, which you'll use in the next step.

### Configure IPv4

> Windows doesn't identify which adapter is the VPC or public network. If the adapter you open already has the IP address filled in, it is likely the public adapter or a different VPC. Note the IP information before making any changes if you need to revert to the original configuration.

1. Use the web console to connect to the server desktop. (Changes to the network will disconnect you if you use Remote Desktop.)
1. Open **Control Panel**.
1. Click **Network and Internet**.
1. Click **Network and Sharing Center**.

    ![Network and Sharing Center](https://docs.vultr.com/public/doc-assets/1293/3235cea1f3d02297.png)

1. Click the **Ethernet** connection to open the **Ethernet Status** dialog.

    ![Select Ethernet](https://docs.vultr.com/public/doc-assets/1293/3efabf1ca8035562.png)

1. Click the **Properties** button.

    ![Ethernet Properties Button](https://docs.vultr.com/public/doc-assets/1293/e42622fc6c7a4833.png)

1. Select **Internet Protocol Version 4**, then click the **Properties** button.

    ![IPv4 Properties](https://docs.vultr.com/public/doc-assets/1293/e18af6b509fa152f.png)

1. Set the Main IP address.

    * Click the **Use the following IP address** radio button.
    * Enter the **IP address**, **subnet mask**, and **gateway**.
    * Enter the **Preferred DNS** server. We recommend using Vultr's IPv4 DNS resolver: **108.61.10.10**
    * Click the **Advanced** button.

    ![IPv4 Advanced](https://docs.vultr.com/public/doc-assets/1293/21bcbc1c7f9c1d9d.png)

1. If you need to add another **public** IP address for this adapter, click the **Add...** button.

    > If you are also adding VPCs, don't add those addresses to the public adapter. Add them to their respective adapters. 

    ![Advance Add](https://docs.vultr.com/public/doc-assets/1293/35ab7c43f7149abd.png)

1. Enter the second IP address and subnet. Click **Add**.

    ![Add Second IP](https://docs.vultr.com/public/doc-assets/1293/5686ef22b2ae042a.png)

    Repeat this step for any additional IP addresses.

1. Review your IP addresses, and click **OK** to close the dialog.

    ![Advanced OK](https://docs.vultr.com/public/doc-assets/1293/499f09403f53ee0a.png)

1. Click **OK** to save the IPv4 settings.

    ![IPv4 Click OK](https://docs.vultr.com/public/doc-assets/1293/6030baa33ba6b0a6.png)

### Configure IPv6

1. Select **Internet Protocol Version 6**, then click the **Properties** button.

    ![IPv6 Properties](https://docs.vultr.com/public/doc-assets/1293/3ab6acd3fdd71b30.png)

1. Set Main IP address.

    * Click the **Use the following IPv6 address** radio button.
    * Enter the **IPv6 address** and **Subnet prefix length**.
    * Enter the **Preferred DNS** server. We recommend using Vultr's IPv6 DNS resolver: **2001:19f0:300:1704::6**
    * Click the **Advanced** button.

    ![Ethernet IPv6](https://docs.vultr.com/public/doc-assets/1293/0bf8a0295c375844.png)

1. To add more IPv6 address, click the **Add...** button.

    ![Ethernet IPv6 Advanced Add](https://docs.vultr.com/public/doc-assets/1293/372eb560a2ce87dc.png)

1. Enter the secondary IPv6 address and subnet prefix. Click Add.

    ![Second IP Address](https://docs.vultr.com/public/doc-assets/1293/29a98d0210ed3e45.png)

    Repeat this step for any other IPv6 addresses.

1. Review your IP addresses, and click **OK** to close the dialog.

    ![IPv6 Advanced OK](https://docs.vultr.com/public/doc-assets/1293/d4e8db86a801f932.png)

1. Click **OK** to save the IPv6 settings.

    ![IPv6 Click OK](https://docs.vultr.com/public/doc-assets/1293/2f799fbbf333716a.png)

1. Click **Close** to save the adapter settings.

    ![Ethernet Close](https://docs.vultr.com/public/doc-assets/1293/fe84605530965114.png)

1. Click **Details** to review your settings.

    ![IPv6 Properties](https://docs.vultr.com/public/doc-assets/1293/9657eb19774c2fa5.png)

1. Verify your IP addresses are correct. When finished, click **Close**.

    ![IPv6 Properties](https://docs.vultr.com/public/doc-assets/1293/d769c5cc15ff9320.png) 

## Restoring a Backup

If you set a static IP address on a server and later restore that server from a snapshot or backup, the server will not be reachable over the network. To correct this, you must connect through the web console and return the server to the DHCP configuration to receive a working IP address. If you need to reset the network after restoring a snapshot, [follow this guide which explains how](https://docs.vultr.com/configure-a-vultr-server-to-use-dhcp-for-dynamic-ip) to return a Vultr server to the default DHCP configuration.

## Troubleshooting

In rare cases, your network adapter names may not match the examples. Please see our article How to Find the Network Adapter Names for a Vultr Cloud Server. Then, use the adapter names discovered by following that article to configure the network adapters.

## More Information

Here are some additional resources that may be helpful:

* [Return a Vultr Server to the Default DHCP Configuration](https://docs.vultr.com/configure-a-vultr-server-to-use-dhcp-for-dynamic-ip)
* [How to Create a Vultr Virtual Private Cloud (VPC)](https://docs.vultr.com/how-to-create-a-vultr-virtual-private-cloud-vpc)
* How to Find the Network Adapter Names for a Vultr Cloud Server
* [VPC Peering with Wireguard](https://docs.vultr.com/how-to-peer-vpcs-between-vultr-locations-with-wireguard)
* [Vultr API Documentation](https://www.vultr.com/api/)
* [Vultr Provider for Terraform](https://registry.terraform.io/providers/vultr/vultr/latest/docs)
* [Vultr Support](https://www.vultr.com/support)
