> ## Documentation Index
> Fetch the complete documentation index at: https://docs.digitalfyre.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IP Address Management

Every DigitalFyre VPS is assigned a public IPv4 address and a `/64` IPv6 subnet. Your addresses are listed on your service page in the Client Portal with copy-to-clipboard buttons.

## IPv4

### Primary IPv4

Your primary IPv4 address is pre-configured during provisioning. No manual setup is needed — it is ready to use as soon as your OS is installed.

### Additional IPv4 Addresses

Additional IPv4 addresses are a paid add-on, available upon request and evaluated on a case-by-case basis. To request one, open a support ticket at [console.digitalfyre.com](https://console.digitalfyre.com) with details about your intended use.

<Info>
  SSL and email are not considered valid justification for additional IPv4 or IPv6 address allocation.
</Info>

If you are assigned an additional IPv4 address, it must be configured manually within your OS:

<Tabs>
  <Tab title="Ubuntu / Debian (Netplan)">
    ```bash expandable lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
    # View your current Netplan config
    cat /etc/netplan/*.yaml

    # Edit the config file
    nano /etc/netplan/01-netcfg.yaml
    ```

    Add the additional address under your interface's `addresses` list:

    ```yaml expandable lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
    network:
      version: 2
      ethernets:
        eth0:
          addresses:
            - PRIMARY_IP/CIDR
            - ADDITIONAL_IP/32
    ```

    Apply the configuration:

    ```bash lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
    netplan apply
    ```
  </Tab>

  <Tab title="AlmaLinux / Rocky / CentOS (nmcli)">
    ```bash lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
    nmcli connection modify eth0 +ipv4.addresses "ADDITIONAL_IP/32"
    nmcli connection up eth0
    ```

    Verify the address is active:

    ```bash lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
    ip addr show eth0
    ```
  </Tab>
</Tabs>

## IPv6

Every VPS includes a `/64` IPv6 subnet at no additional cost. Additional `/64` subnets may be assigned free of charge provided a valid and technically justified use case is submitted — contact support to request one.

<Info>
  SSL and email are not considered valid justification for additional IPv4 or IPv6 address allocation.
</Info>

IPv6 addresses must be configured manually within your OS. Choose any address from your assigned subnet — for example, if your subnet is `2001:db8:abcd:1234::/64`, you might use `2001:db8:abcd:1234::1`.

<Tabs>
  <Tab title="Ubuntu / Debian (Netplan)">
    ```yaml expandable lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
    network:
      version: 2
      ethernets:
        eth0:
          addresses:
            - YOUR_IPV4/CIDR
            - 2001:db8:abcd:1234::1/64
          gateway6: YOUR_IPV6_GATEWAY
    ```

    Apply:

    ```bash lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
    netplan apply
    ```
  </Tab>

  <Tab title="AlmaLinux / Rocky / CentOS (nmcli)">
    ```bash expandable lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
    nmcli connection modify eth0 +ipv6.addresses "2001:db8:abcd:1234::1/64"
    nmcli connection modify eth0 ipv6.gateway "YOUR_IPV6_GATEWAY"
    nmcli connection modify eth0 ipv6.method manual
    nmcli connection up eth0
    ```
  </Tab>
</Tabs>

Verify the address is assigned and connectivity is working:

```bash lines theme={"theme":{"light":"light-plus","dark":"ayu-dark"}}
ip -6 addr show eth0
ping6 2001:4860:4860::8888
```

## DNS Records

If you are hosting services on your IPv6 address, create an **AAAA** record in your domain's DNS pointing to the configured IPv6 address.
