HAProxy ALOHA Documentation 11.5

VLAN

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.

https://cdn.haproxy.com/documentation/aloha/11-5/assets/vlan-diagram-b8738600046cf92db4a26485c4a60aa4baa942f4764cca9f1860d28175427d03.png

See also

VLAN tagging

Create a VLAN interface

To create a VLAN interface, you have to create a new service network:

  1. In the Services tab, click network setup setup_icon to display the current configuration of your network interfaces.

    https://cdn.haproxy.com/documentation/aloha/11-5/assets/interface_setup_bonding-fa9150a69f20efe3af0a4ad78b52e18da894956799caafbd0d266b00df7a9172.png
  2. 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
  3. Apply the configuration:

    • If you just created the VLAN interface, click Restart restart_icon on the network line.

    • If you just updated an existing VLAN interface, click Reload reload_icon.

You can manage IP configuration and VRRP settings in the same way as for a physical interface.


Next up

Users and Passwords