Configuring multiple ethernet ports in a switch via bridging?
-
I just came across this video on YouTube. It is about three years old. Contrary to what the video portrays, I thought ports are aggregated into a switch using the Interfaces → Switch → VLANs. This video uses bridging. Which is correct? If both are, which is better?
Steps I transcribed from the video:
- Interfaces → Interface Assignments. Add new interface for available ports.
- Select new interface in Interfaces → Interface Assignments and enable it. Save and apply changes.
- Do the same for other ports, as well.
- Select Interfaces → Interface Assignments → Bridges. Click on Add for a new bridge.
- Add member interfaces. Add a description. Save changes.
- In Interfaces → Interface Assignments select the new bridge from Available networks and click on Add.
- Click on the name of the new interface to configure it. Enable it. Change the IPv4 configuration to Static IP. Change the IPv4 address to a new subnet. Save and apply changes.
- Firewall → Rules. Select bridge’s tab. Set up a default rule fro IPv4, Protocol *, Source *, Port *, Destination *, Port *, Gateway *, Queue none. Save and apply changes.
- Services → DHCP Server. Select bridge’s tab. Enable DHCP and provide DHCP address range. Add DNS servers. Save.
- Test DHCP by plugging the cable into the physical port added to the switch.
- Add additional physical ports like in Steps 6–8.
- Add new interfaces to the bridge like in Step 5.
- Disable DHCP servers for the original interface.
- Plug an additional device into any of the new switch ports. Ping from one host to another. Test all combinations.
-
@dominikhoffmann There is a lot of nonsense on the internet - that video seems like one of those.. No you would not bridge 2 interfaces on the router and plug them into the same switch.. You just created a LOOP..
You can somewhat try to simulate a switch port with 2 interfaces and creating a bridge that you would connect devices into, or 2 dfifferent switches..
But a bridge is not the same as a switch port - if you want/need more ports than use a switch..