This section provides the steps to reconfigure FQDN and IP addresses in the system, IPv4, IPv6 only, and dual stack are supported.

Prerequisites

DNS servers should be able to resolve the FQDN to the IP addresses that will be set to the Airgap Appliance.

Procedure

  1. Login the TCA Airgap Appliance via SSH admin account then switch to root with su to use agctl command.
  2. Edit /usr/local/airgap/scripts/vars/user-inputs.yml using the following command:
    vi /usr/local/airgap/scripts/vars/user-inputs.yml
  3. Update the following settings. For more information on the parameters, see Agctl CLI Command Reference:
    server_fqdn: <full qualified domain name of the airgap appliance>
    ip_family: <could be "ipv4", "ipv6" or "ipv6,ipv4"
    dhcp: <True or False>
    static_ip: <ip addresses seperated by comma> 
    default_gw: <gateway ips seperated by comma>
    dns_servers: <dns server IPs seperated by comma>

    Examples:

    IPv4 Static

    server_fqdn: airgap.example.com
    ip_family: ipv4dhcp: False
    static_ip: 192.168.100.100/24 
    default_gw: 192.168.100.1
    dns_servers: 192.168.100.253

    IPv6 Static

    server_fqdn: airgap.example.com
    ip_family: ipv6dhcp: False
    static_ip: fc00:192:168:100::100/64 
    default_gw: fc00:192:168:100::1
    dns_servers: fc00:192:168:100::253

    Dual Stack

    server_fqdn: airgap.example.com
    ip_family: ipv6,ipv4
    dhcp: False
    static_ip: fc00:192:168:100::100/64,
    default_gw: fc00:192:168:100::1,192.168.100.1
    dns_servers: fc00:192:168:100::253,192.168.100.253

    IPv4 DHCP

    server_fqdn: airgap.example.com
    ip_family: ipv4
    dhcp: True
  4. Save and run agctl deploy command to apply the settings.