Skip to main content

Vault: Configure Netplan Manually

This guide explains how to manually configure Netplan for your Vault Connector. Manual configuration is necessary if the virtualizer does not automatically apply network settings or if a network interface is not detected.

Checking for Configuration Issues

Use the following command to determine if a network interface is being detected:

IFCONFIG

If the command does not show a network interface, manual configuration is required.

Editing the Netplan Configuration File

  1. Access the file located in the /etc/netplan directory.
  2. Edit the file, making sure to verify and, if necessary, update the following key fields:
    • Interface name: The name of your network interface
    • ADDRESS: The IP address assigned to the connector
    • GATEWAY: The gateway address for your network
    • DNS: The DNS server addresses

Here is an example of what a Netplan configuration file might look like:

Validating and Applying the Configuration

Before applying the changes, it's a good practice to validate the configuration file.

  1. To validate the file, run the following command:

SUDO NETPLAN TRY

  1. If the validation is successful, apply the changes with this command:

SUDO NETPLAN APPLY

This should restore network connectivity and apply your manual configurations.

Was this information helpful?