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.
-
In the Services tab, click network instance setup
next to a network interface.
-
Specify the default gateway through the
ip route default
directive.For example, to use the router whose IP address is 172.16.24.1 as the default gateway:
service network eth0 ip address 172.16.24.237/255.255.255.0 ip route default 172.16.24.1
-
Reload
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 172.16.24.1 0.0.0.0 UG 0 0 0 eth0 172.16.24.0 * 255.255.255.0 U 0 0 0 eth0
In the Setup tab, click Save under Local Configuration to persist your changes after a reboot.
Next up
DNS