An HAProxy ALOHA network interface may be connected to a switch interface through a VLAN trunk link.
You can then create a VLAN interface on the HAProxy ALOHA instance to route traffic over the relevant VLAN.
Create a VLAN interface
To create a VLAN interface, you have to create a new service network:
In the Services tab, click network setup to display the current configuration of your network interfaces.
Add a directive to create a new VLAN interface.
The syntax is as follows:
service network eth<id>.<vlanid>
Create VLAN 100 on interface eth0.
service network eth0.100 ip address 172.16.100.237/24
Create VLAN 200 on bonding interface bond1.
service network bond1.200 ip address 172.16.200.237/24
Apply the configuration:
If you just created the VLAN interface, click Restart on the network line.
If you just updated an existing VLAN interface, click Reload .
You can manage IP configuration and VRRP settings in the same way as for a physical interface.
In the Setup tab, click Save under Local Configuration to persist your changes after a reboot.
Next upUsers and Passwords