Simplestack
Compute

Private Network Configuration

Manually setting up your private network configuration.

Your virtual machine supports private networking. If you have initially set up your virtual machine with a private network selected it works automatically, however, certain changes require a manual configuration. For example, when the virtual machine was attached to a private network after it was created.

Choose your Linux version

Edit your network configuration

Terminal
vim /etc/netplan/50-cloud-init.yaml

Add a new ethernet entry under eth1

You can find your assigned IP address under the "Network" tab of your virtual machine. Below you can see an example configuration:

/etc/netplan/50-cloud-init.yaml
network:
  version: 2
  ethernets:
    eth1:
      addresses:
      - "10.0.0.2/24"
      set-name: "eth1"

Apply the configuration

Terminal
sudo netplan apply

(Advanced option) Force a re-run of cloud-init

Making cloud-init run again may be destructive and must never be done on a production system. Artifacts such as ssh keys or passwords may be overwritten.

When cloud init runs again it will set the correct default network values and therefore your IPv4 and IPv6 connectivity should be working out of the box. You do need to reboot your virtual machine for changes to take into effect.

© 2026 Simplestack – All Rights Reserved.