info_i_25x25.png Our ticketing platform provider has scheduled a maintenance window on May 20th, 2018. It will start at 1:00 am UTC on Sunday, May 20th and end at 1:00 pm UTC on Sunday, May 20th. During this time there might be an interruption in the chat service, but all our users will still be able to submit support tickets via the ticket submission form.

EdgeRouter - How to Create a Bridge

Overview


This article will explain how to bridge eth2, 3 and 4 (switch0) with eth1 on the EdgeRouter PoE (5 Port). 

ATTENTION:

Generally, we do not recommend bridging ports on routers. Doing so will reduce the overall throughput compared to non-bridged configurations. If you require multiple LAN ports on the same layer 2 network, we strongly advise using a dedicated switch for best performance. Some EdgeRouters like the ER-X, ER-X-SFP, EP-R6 and ER-5POE have a built in switch-chip. If using this switch without bridging to another interface outside of the switch, the performance will not be degraded.


Steps: How to Create a Bridge


Back to Top

1. Create a Bridge Interface with Address

set interfaces bridge br0 address 192.168.2.1/24

2. Add Physical Interfaces to Bridge-group

set interfaces ethernet eth1 bridge-group bridge br0
set interfaces ethernet eth2 bridge-group bridge br0
set interfaces ethernet eth3 bridge-group bridge br0

3.  Add Switch Interface to Bridge-group

This step only applies to EdgeRouter Models with a built-in switch. For example, when using the ER-PoE model these steps ensure eth 2, 3, and 4 are apart of switch0 and switch0 and eth1 are attached to bridge interface br0.

set interfaces switch switch0 switch-port interface eth2
set interfaces switch switch0 switch-port interface eth3
set interfaces switch switch0 switch-port interface eth4
set interfaces switch switch0 bridge-group bridge br0
set interfaces ethernet eth1 bridge-group bridge br0

Related Articles


Back to Top

How to Establish a Connection Using SSH