Article

Table of Contents
Theme:
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 Fedora CoreOS

Last Updated: Thu, Mar 4, 2021
FAQ Fedora CoreOS Networking

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 private networks per location. Private networks allow instances within a location to communicate without exposing the traffic to the public internet.

Please see the guide How to Configure a Private Network at Vultr for general information about Vultr's private network feature.

Private networks do not have DHCP. When deploying a Vultr cloud server with private networking, you must manually configure the private adapters or supply your own DHCP server. We provide network configuration examples for many popular operating systems, pre-configured for your instance's IP addresses. You can find these by navigating to the settings screen (1) for your server, then selecting IPv4 (2). Follow the networking configuration link (3) to view the configuration examples.

NetworkConfig

The configurations in the customer portal are your best source of specific information. Please see below for step-by-step instructions with generic examples.

Fedora CoreOS

Use Ignition to configure the VPS for private networking. Before proceeding, make sure you understand how to use private networking at Vultr and create a private network at the deployment location. For more information, refer to our private networking documentation:

To configure a private network, include a YAML stanza in your FCC file that writes your network information. Replace the example IP address with your address.

storage:
  files:
    - path: /etc/NetworkManager/system-connections/ens7.nmconnection
      mode: 0600
      overwrite: true
      contents:
        inline: |
          [connection]
          type=ethernet
          interface-name=ens7

          [ipv4]
          method=manual
          addresses=10.10.10.10/20

The deployed VPS will have two adapters:

  • ens3 on the public network, configured by DHCP.
  • ens7 on the private network, with the static IP address set by Ignition.

See a complete example in our Ignition documentation.

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