HAProxy ALOHA Documentation 9.0

Routing Diagnostics

This diagnostic tool prints HAProxy ALOHA routing table.

From the Web user interface (web UI)

  1. Open the DiagTools tab.

  2. From the Select list, choose advanced routes (ignored, ignored, ignored).

  3. Optionally, enter the parameter:

    • interface: (optional) limit output to routes associated to this interface

  4. Click on Run.

From the command line interface (CLI)

  1. Get root rights by typing root.

  2. Run ip route list.

Output example: Single default gateway

default via 10.0.0.161 dev eth0
10.0.0.160/27 dev eth0  proto kernel  scope link  src 10.0.0.190
127.255.255.1 dev sync  proto kernel  scope link  src 127.255.255.2
192.168.10.0/24 dev eth2  proto kernel  scope link  src 192.168.10.3
192.168.13.0/24 dev eth3  proto kernel  scope link  src 192.168.13.3
192.168.14.0/24 dev eth1  proto kernel  scope link  src 192.168.14.3
192.168.15.0/24 via 192.168.10.1 dev eth2

Output example: Static Route

default via 10.0.0.161 dev eth0
0.0.0.160/27 dev eth0  proto kernel  scope link  src 10.0.0.190
127.255.255.1 dev sync  proto kernel  scope link  src 127.255.255.2
172.16.0.0/24 via 192.168.14.254 dev eth1
192.168.10.0/24 dev eth2  proto kernel  scope link  src 192.168.10.3
192.168.13.0/24 dev eth3  proto kernel  scope link  src 192.168.13.3
192.168.14.0/24 dev eth1  proto kernel  scope link  src 192.168.14.3
192.168.15.0/24 via 192.168.10.1 dev eth2

Output example: Multiple default gateway

default via 10.0.0.161 dev eth0
default via 192.168.14.1 dev eth1  metric 1
default via 192.168.10.1 dev eth2  metric 2
default via 192.168.13.1 dev eth3  metric 3
10.0.0.160/27 dev eth0  proto kernel  scope link  src 10.0.0.190
127.255.255.1 dev sync  proto kernel  scope link  src 127.255.255.2
192.168.10.0/24 dev eth2  proto kernel  scope link  src 192.168.10.3
192.168.13.0/24 dev eth3  proto kernel  scope link  src 192.168.13.3
192.168.14.0/24 dev eth1  proto kernel  scope link  src 192.168.14.3
192.168.15.0/24 via 192.168.10.1 dev eth2

Next up

Email and SNMP Notifications