This article will explain how to create a bridged interface on an EdgeRouter. Bridged interface are used to place multiple physical ports on the same LAN, similar to how a switch functions.
Generally, it is not recommended to bridge ports as it will greatly reduce the performance. If multiple ports need to be placed on the same LAN, it is advisable to use a router with a build-in switch-chip such as the ER-X, ER-X-SFP, EP-R6 or ERPoE-5.
NOTES & REQUIREMENTS:
Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
Device used in this article:
Creating a Bridged Interface
ATTENTION: Packets passed through a bridged interface are not eligible for offloading. Please see the EdgeRouter - Hardware Offloading Explained article for more information.
1. Enter configuration mode.
2. Create a bridge interface (br0) and assign it an IP address.
set interfaces bridge br0 address 192.168.1.1/24
3. Add the physical interfaces to the
set interfaces ethernet eth1 bridge-group bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces ethernet eth3 bridge-group bridge br0
4. Commit the changes and save the configuration.
commit ; save