HAProxy ALOHA Documentation 13.5

Default Gateway

You can specify the default gateway that will allow your HAProxy ALOHA appliance to communicate with devices outside its subnet.

    • [VM appliance] Create a snapshot of your VM.

    • [Hardware appliance] Make sure you can connect to your appliance through the serial port.

      If you specify an invalid IP address for the default gateway, you may not be able to:

      • log in to your appliance through SSH, nor

      • display the web UI.

  1. In the Services tab, click network instance setup setup_icon next to a network interface.

  2. Specify the default gateway through the ip route default directive.

    For example, to use the router whose IP address is as the default gateway:

    service network eth0
      ip address
      ip route default
  3. Reload reload_icon the network interface or the whole network service.

    If you can log in to your appliance through SSH or the serial port, you can check the default gateway.

    You can also click Launch a terminal in the web UI's Tools tab.

    For example:

    $ netstat -r
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    default         UG        0 0          0 eth0     *        U         0 0          0 eth0
  4. In the Setup tab, click Save under Local Configuration to persist your changes after a reboot.

Next up