This documentation is for HAProxy ALOHA 10.5, if you are looking for the latest version see here.
Searching ALOHA 10.5
Troubleshooting Using Advanced Routes
Troubleshooting Using Advanced Routes
This diagnostic tool prints the ALOHA routing table.
From the Web user interface (WUI)
Open the DiagTools tab.
From the Select list, choose advanced
routes (ignored, ignored, ignored)
.-
Enter the parameter:
interface
: (optional) limit output to routes associated to this interface
Click on Run.
From the command line interface (CLI)
Get root rights by typing
root
.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