Searching ALOHA 12.0
Configuring Network IP
Configuring Network IP
IP addresses
Set up IP addresses
Note
This IP address is a local address.
This procedure should be applied to both members of a cluster, with a different IP for each one.
Browse the ALOHA WUI.
Open the Services tab.
Click Setup
on the line corresponding to the network interface you want to manage.
-
Add, remove, or edit the IP address directive using the syntax below:
ip address <ip/mask>
service network eth0 ip address 192.168.1.11/24
Click OK.
Click Close.
-
The line corresponding to the Network Interface now appears in orange with the flag Need apply.
Click Reload.
In case of a problem:
Check for duplicate IPs
Set up IP aliases
You set up IP aliases in the same way as IP addresses.
When you add an IP alias, we recommend that you use a /32 subnet.
Default gateway
A default gateway serves as an access point that a networked computer uses to send information to another networked computer or the internet. A default gateway means that this gateway is used by default unless an application specifies another gateway.
Configure the global default gateway
Browse the ALOHA WUI.
Open the Services tab.
Click Setup
on the line corresponding to the network interface you want to manage.
-
Add, remove, or edit the global default gateway address directive using the syntax below:
ip route default <gw>
service network eth0 ip address 192.168.1.11/24 ip route default 192.168.1.1
Click OK.
Click Close.
-
The line corresponding to the Network Interface now appears in orange with the flag Need apply.
Click Reload
.
In case of problems:
Try to ping the gateway
Check the ALOHA routing table
Check for duplicate IPs
Configure a default gateway per interface
In the ALOHA, it is possible to add default gateways for each network interface. These gateways must have a metric
whose value is unique and higher than 0
.
Usually, HAProxy uses these to force alternative default gateways when clients or servers can't be reached by the global default gateway or to force a different route for some subnets without setting too many static routes.
Browse the ALOHA WUI.
Open the Services tab.
Click Setup
on the line corresponding to the network interface on which you want to manage the global default gateway.
-
Add, remove, or edit the interface default gateway directive using the syntax below:
ip route default <gw> metric <weight>
service network eth1 ip address 192.168.2.11/24 ip route default 192.168.2.1 metric 10
Click OK.
Click Close.
-
The line corresponding to the Network Interface now appears in orange with the flag Need apply.
Click Reload
.
In case of problems:
Try to ping the gateway
Check the ALOHA detailed routing table
Check for duplicate IPs
Static routes
Static routing is when a router uses a manually-configured routing entry instead of information from a dynamic routing traffic. Static routes are manually configured by adding in entries into a routing table. Unlike dynamic routing, static routes are fixed and do not change if the network is changed or reconfigured.
Add static routes
Browse the ALOHA WUI.
Open the Services tab.
Click Setup
on the line corresponding to the network interface you want to manage.
-
Add, remove, or edit the IP route directive using the syntax below:
ip route <ip/mask> <gw>
service network eth0 ip address 192.168.1.11/24 ip route default 192.168.1.1 ip route 10.0.0.0/24 192.168.1.2 ip route 172.16.0.0/24 192.168.1.2
Click OK.
Click Close.
-
The line corresponding to the Network Interface now appears in orange with the flag Need apply.
Click Reload
.
In case of a problem:
Try to ping the gateway
Check the ALOHA routing table
Troubleshooting
Duplicated IPs
To troubleshoot duplicated IPs, you can use the ARP who-has diagnostic tool.
This tool checks if the MAC address associated with the IP address is the one expected or not:
If yes, the problem may be on an upper layer
If not, the MAC address of the server has the duplicated IP
Ping
You can use the ping diagnostic tool to try to reach an IP address on the network.