Table of Contents
Was this article helpful?
Try Vultr Today with

$50 Free on Us!

Want to contribute?

You could earn up to $300 by adding new articles!

How to Configure a Private Network on OpenBSD

Last Updated: Tue, Jan 12, 2021
BSD FAQ Networking


When deploying a Vultr cloud server with a private network, you need to manually configure the private adapter. The examples shown in this guide are IPv4, but Vultr supports both IPv4 and IPv6. Vultr also supports multiple VLANs over a single private network interface with 802.1q tags. You'll find your server's information on the information page under Settings > IPv4. In the example below, the public network address is, and the private network address is You'll find configuration samples for your server by clicking "View our networking configuration tips and examples."


Private Networking Notes

  • When you enable private networking, you may use any RFC1918 private address as long as there are no conflicts with your other instances. Valid addresses include:
  • Private IP addresses in the customer portal are suggestions. You are not required to use the suggested private IP addresses.
  • You can attach a maximum of 126 instances to a single private network. If you require more, please contact our engineering team.
  • Private networks can not communicate between locations, regardless of IP addressing. For example, server instances in Miami can not see private networks in Dallas.
  • Private networks do not have DHCP, and you must manually manage your IP address space or install a DHCP server on your private network.
  • For optimal performance, set the private network adapter MTU to 1450 when configuring the NIC at the OS level.
  • We also have guides to configure multiple private networks.

OpenBSD 6.x

  1. Verify that private networking is enabled for your cloud server. Your private network device is vio1. Your public network device is vio0.

  2. Change to the selected private IP address and replace the contents of /etc/hostname.vio1 with:

    !ifconfig vio1 mtu 1450
  3. Restart the interface or reboot.

    # sh /etc/netstart vio1
    # reboot

Manage Private Networks via API

The Vultr API offers several endpoints to manage private networks.

Want to contribute?

You could earn up to $300 by adding new articles