Would you like to learn how to configure the OPNsense link aggregation feature? In this tutorial, we are going to show you how to configure a LACP link aggregation on OPNsense server.

• OPNsense 19.7

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

OPNsense – Link Aggregation Configuration

Open a browser software, enter the IP address of your Opnsense firewall and access web interface.

In our example, the following URL was entered in the Browser:

• https://192.168.15.11

The opnsense web interface should be presented.

opnsense login

On the prompt screen, enter the OPNsense Default Password login information.

• Username: root
• Password: Password set during OPNsense the installation

After a successful login, you will be sent to the OPNSense Dashboard.

opnsense dashboard

Access the Opnsense Interfaces menu, access the Other types sub-menu and select the LAGG option.

opnsense link aggregation menu

Access the LAGG screen, click on the Add button and perform the following configurations:

• Parent Interfaces – Select 2 interfaces
• LAGG Protocol – LACP
• Description – Optionally enter a description

Click on the Save button to create a Link aggregation interface.

opnsense link aggregation configuration

Access the Opnsense Interfaces menu and select the Assigments option.

On the Interface Assignments screen, select the new link aggregation interface and click on the Add button.

Click on the Save button.

opnsense link-aggregation interface

In our example, The link aggregation interface was assigned to our OPNsense firewall using the name OPT1.

opnsense link aggregation interface

Access the Opnsense Interfaces menu and select the new interface.

In our example, we selected the OPT1 interface.

opnsense vlan trunk

On the General Configuration area, perform the following configuration:

• Enable – Yes
• Description – Optionally, you may change the name of the link aggregation interface
• IPv4 Configuration Type – Static IPV4
• IPv6 Configuration Type – None
• Speed and Duplex – Default

opnsense Vlan interface configuration

On the Static IPv4 Configuration area, perform the following configuration:

• IPv4 Address – Configure the link aggregation interface IP address and netmask

Click on the Save button.

Click on the Apply changes button.

opnsense vlan ip address

Congratulations! You have finished the OPNsense Link aggregation configuration.

Tutorial – Link Aggregation on Cisco Switch

Now, you need to perform the link aggregation configuration on the Network Switch.

In our example, we are going to show how to perform the link aggregation configuration on a Cisco Catalyst Switch model 2960.

On the prompt screen, enter the administrative login information.

Use the configure terminal command to enter the configuration mode.

Copy to Clipboard

On the configuration mode, you need to clear all the configuration from the switch port.

Copy to Clipboard

On the configuration mode, add the switch ports to a link aggregation group.

Copy to Clipboard

In our example, the switch ports 11 and 12 were configured as members of the link aggregation group 1.

To configure the link aggregation ports, you need to use the following commands.

Copy to Clipboard

Congratulations, you finished the Link aggregation configuration on a Cisco Switch.