Our ALOHA users have one incredible piece of technology in their hands. The ALOHA Boxes (or, as we call them, HAPEE-in-a-box) are built to last and serve, and every now and then we like to show our ALOHA users how they can configure the boxes to their specific needs.

In this short blog post, you’ll learn how to configure your aloha Box to use it as an IPv6 to IPv4 gateway without modifying anything on your current platform. The above diagram will help us with that.

Your website is available on the service IP 192.168.1.254 through IPv4. The IPv4 router translates the IPv4 public address to the mentioned service IP. IPv6 on the other hand uses the resolved hostname directly on the 2001::2254 IP which is the IPv6 service actually IP hosting the service. The router then sends regular traffic directly to ALOHA. This means that all IPv6 traffic will be automatically translated to IPv4 by ALOHA. There’s nothing you need to change on your servers and they don’t even need to be IPv6 compliant.

This “HAPEE” little box does all the heavy lifting for you. Let’s take a look at the configuration.

Configuration

Network configuration for ALOHA 1

In the GUI, click on Servicesnetworketh0 setup, and then simply update the configuration as shown below:

service network eth0
    vrrp id 254
    vrrp garp 30
    vrrp prio 100
    vrrp no-address
    vrrp address 2001::2254
    vrrp address 192.168.1.254
    vrrp address 2001::2254
    ip6 address 2001::2201/96
    ip address 192.168.1.201/24
    mtu 1500

Click on OK, and then on Close to finish configuring.

Once the configuration has been updated, you need to reload the services:

  • Network: Click on Serviceseth0 reload icon
  • VRRP: Click on Servicesvrrp reload icon

Network configuration for ALOHA 2

In the GUI, click on Servicesnetworketh0 setup icon, and then simply update the configuration as shown below:

service network eth0
    vrrp id 254
    vrrp garp 30
    vrrp prio 99
    vrrp no-address
    vrrp address 2001::2254
    vrrp address 192.168.1.254
    vrrp address 2001::2254
    ip6  address 2001::2202/96
    ip address 192.168.1.202/24
    mtu 1500

Click on OK, and then on Close to finish configuring.

Once the configuration has been updated, you need to reload the services:

  • Network: Click on Serviceseth0 reload icon
  • VRRP: Click on Servicesvrrp reload icon
Did you know? HAProxy Technologies’ ALOHA is available in two flavours! You can choose between physical (hardware) load balancers and virtual ones for all your cloud and container needs.

Layer 7 (HAProxy) configuration

The following configuration applies to both of your ALOHA Hardware load balancers.
Your final step of the ALOHA configuration should be adding a bind to your IPv6 service address in its corresponding frontend section:

frontend ft_myappli
    bind 192.168.1.254:80
    bind 2001::2254:80
    mode http
    log global
    option httplog
    maxconn 1000
    timeout client 25s
    default_backend bk_myappli

Click on OK, and then on Close to finish configuring.



SHARE THIS ARTICLE