Use IPv4 and IPv6 in your Code42 environment
Who is this article for?
Instructor, no.
Incydr Professional, Enterprise, Gov F2, and Horizon, no.
Incydr Basic, Advanced, and Gov F1, no.
CrashPlan Cloud, no.
Retired product plans, yes.
CrashPlan for Small Business, no.
Overview
The Code42 platform can be configured to use IPv4 only, IPv6 only, or both IPv4 and IPv6 (also called dual stack). This article describes how to configure your existing Code42 environment to use both IPv4 and IPv6 addresses.
If you are installing the Code42 platform in an environment that uses IPv6 only, see our installation instructions.
IPv6 support
The Code42 platform version 4.3 and later supports IPv6.
- Code42 server
- Code42 app for Windows, OS X, and Linux
- Code42 console
- SharePlan app
- SharePlan mobile app
- SharePlan web app
Considerations
- You must have an on-premises authority server running version 4.3 or later to use IPv6.
- The Code42 public cloud does not currently support IPv6. If your Code42 environment uses public cloud storage, all connections to the public cloud must use IPv4.
- An Code42 server cannot be configured to communicate with a RADIUS server over IPv6. However, if an Code42 server is configured to communicate with a RADIUS server over IPv4, a Code42 app can authenticate with a authority server using RADIUS over IPv6.
How dual stack IPv4 & IPv6 works
Dual stack environments rely on DNS hostnames with both A (IPv4) and AAAA (IPv6) records. When a host (CrashPlan device or Code42 server) resolves the hostname for a dual stack Code42 server that has appropriately configured DNS:
- A host with both IPv4 and IPv6 addresses attempts to connect to the Code42 server's IPv4 address first. If the IPv4 connection is not successful, the client device connects to the Code42 server's IPv6 address.
- A host with an IPv4 address connects to the Code42 server's IPv4 address.
- A host with an IPv6 address connects to the Code42 server's IPv6 address.
Dual stack configuration guidelines
Follow these guidelines to configure dual stack support in your Code42 environment:
- Assign IPv4 and IPv6 addresses to your Code42 servers.
- Configure Code42 server hostnames with A (IPv4) and AAAA (IPv6) records.
- Configure CrashPlan devices with IPv4 addresses, IPv6 addresses, or both.
Code42 server address configuration options
Code42 server addresses must be configured in a specific way to support dual stack IPv4 and IPv6. Each Code42 server has two types of addresses that are configured in the Code42 console:
Primary & secondary addresses
The Primary network address and Secondary network address are both used for multiple types of communication in a Code42 environment:
- Device to Code42 server communication
- Storage server to authority server communication
- Destination to destination communication (when multi-destination support with high availability for plans is enabled)
In a dual stack environment, a host (device or Code42 server) attempts to connect to the primary address first. If the host cannot connect, it attempts to connect to the secondary address.
Although dual stack hosts always prefer IPv4 when they resolve hostnames with both A (IPv4) and AAAA (IPv6) records, you can configure the primary and secondary server addresses to control whether hosts use IPv4 or IPv6. The following tables summarize the available configuration options.
Recommended configuration options
Primary Network Address | Secondary Network Address | Behavior |
---|---|---|
Hostname with A (IPv4) and AAAA (IPv6) records | IPv6 address or IPv4 address (Allows capable devices to connect in the event of a DNS failure) |
|
Hostname with an AAAA (IPv6) record only | Hostname with an A (IPv4) record only |
|
Hostname with an A (IPv4) record only | Hostname with an AAAA (IPv6) record only |
|
Alternative configuration options
Primary Network Address | Secondary Network Address | Behavior |
---|---|---|
IPv6 address | IPv4 address |
|
IPv4 address | IPv6 address |
|
Private address
Code42 servers use the Private address to communicate with each other within a destination.
In a dual stack Code42 environment, configure each Code42 server's private address to use a hostname with A (IPv4) and AAAA (IPv6) records. In this configuration:
- Dual stack servers prefer IPv4 and fall back to IPv6
- IPv6 servers use IPv6
- IPv4 servers use IPv4
Before you begin
- Upgrade your Code42 servers and Code42 apps to version 4.3 or later.
- Determine which Code42 server address configuration option is best for your Code42 environment.
Step 1: Assign IPv6 addresses to your host servers
For each server that hosts an Code42 server in your Code42 environment, use the operating system to assign an IPv6 address.
Step 2: Configure upgraded Code42 servers to accept connections on all addresses
Code42 servers that have been upgraded from version 4.2.x or earlier only
Code42 servers running version 4.2.x and earlier listen for connections on a specific IP address. If your Code42 environment contains servers that have been upgraded from version 4.2.x or earlier, configure the Code42 servers to listen on all IPv4 and IPv6 addresses associated with the host server.
Implementing this change may impact your Code42 environment's security by accepting inbound connections on all IPv4 and IPv6 addresses associated with the host server.
- Sign in to the Code42 server's Code42 console.
- Double-click the logo in the upper-left corner of the Code42 console to open the Code42 console CLI.
- Run the following commands:
address.bind peer :: address.bind superpeer :: address.bind space ::
- Restart the Code42 server.
To view an Code42 server's bind configuration, run the
address.bind status
command from the Code42 console CLI.Step 3: Add IPv6 records to Code42 server hostnames
Based on the Code42 server address configuration option that is best for your Code42 environment, configure your DNS server to add AAAA (IPv6) records for Code42 server hostnames.
Step 4: Configure Code42 server addresses in the Administration console
Perform these steps for each Code42 server in your Code42 environment:
- Sign in to the Code42 console.
- Navigate to Destinations > Servers.
- Click the name of the server.
- From the action menu, select Edit.
- Configure the Code42 server's addresses:
- Website protocol, host, and port: Make sure the URL includes the Code42 server's hostname, and the hostname has A (IPv4) and AAAA (IPv6) records in DNS.
- Primary network address: Configure this address based on the Code42 server address configuration option that is best for your Code42 environment.
- Secondary network address: Configure this address based on the Code42 server address configuration option that is best for your Code42 environment.
- Private address: Enter a hostname that has A (IPv4) and AAAA (IPv6) records in DNS.
- Restart the Code42 server.
Step 5: Assign IPv6 addresses to your CrashPlan devices
Perform these steps for each CrashPlan device in your environment that will use IPv6:
- Use the operating system to assign an IPv6 address.
- Restart the Code42 service:
- Verify that the Code42 app can back up:
- From the Code42 console, go to Devices, then click the name of the device to view backup status.
- From the Code42 app, go to Backup to view backup status.
External resources
IPv6 (Wikipedia)