Community discussions

MikroTik App
 
mtest001
newbie
Topic Author
Posts: 35
Joined: Mon Oct 18, 2021 12:49 am

What happens to an interface that is not part of any bridge?

Sun Mar 24, 2024 2:49 pm

Hello all,
I have a HEX-S router configured with two point-to-point links on ether1 and ether2, each connected to 2 upstream routers for redundancy.

In my current setup I have removed the two ports ether1 and ether2 from the default bridge. I thought by doing that the two ports would be isolated, at least at layer2. Now the little complication is that the connection on ether1 is not a real point-to-point connection since in fact it is connected to a switch on which other devices are connected.

My question is: How are those two interfaces treated at the Mikrotik switch level? Are they isolated? Is there a risk that layer2 frames arriving on the interfaces that are not connected to the bridge can find their way into the LAN?

Thank you.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11646
Joined: Thu Mar 03, 2016 10:23 pm

Re: What happens to an interface that is not part of any bridge?

Sun Mar 24, 2024 3:06 pm

On layer2 interfaces are isolated. So possibility of leaking frames is slim. If frames do leak, it's probably due to errors in configuration.

Also note that without special config, router will pass packets in all directions and L2 isolation alone can't do magic.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19405
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: What happens to an interface that is not part of any bridge?

Sun Mar 24, 2024 4:00 pm

YOu have to have clear requirements and an understanding of the role of the device you are using. For example it would appear the hex is to be used as a switch and is not connected to an ISP?

Identify all users/devices
Identify all traffic flows they need (external/internal)
Then a config can be designed accordingly

All this talks about bits of ports etc, is a waste of time at the moment.
 
mtest001
newbie
Topic Author
Posts: 35
Joined: Mon Oct 18, 2021 12:49 am

Re: What happens to an interface that is not part of any bridge?

Sun Mar 24, 2024 4:01 pm

Thanks for the reply.
 
mtest001
newbie
Topic Author
Posts: 35
Joined: Mon Oct 18, 2021 12:49 am

Re: What happens to an interface that is not part of any bridge?

Sun Mar 24, 2024 11:27 pm

YOu have to have clear requirements and an understanding of the role of the device you are using.
Well my question is a bit theoretical: I just wanted to confirm how an interface that is not part of the default bridge is seen from the other interfaces that are listed as ports for that bridge.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3509
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: What happens to an interface that is not part of any bridge?

Sun Mar 24, 2024 11:41 pm

"Seen" is where the theory meets practice.

They're all interfaces to the router. RouterOS is also a [Layer 3] [IP] router & routers do routing. So with empty firewall... IP/IPv6 between traffic be allowed between all the interfaces, bridged or not.

But an off-bridge ethernet interface would not be able to use MAC addresses or have any other Layer2 access to things on the bridge. If you have a loop (or misconfiguration) elsewhere in your network... perhaps a bridge might see a standalone port (e.g. some VLANs cross on a switch outside of the router we're talking about here) at Layer2. But it wouldn't be RouterOS doing it at Layer2/MAC/Ethernet-level (only IP/IPv6 layer-3)
 
mtest001
newbie
Topic Author
Posts: 35
Joined: Mon Oct 18, 2021 12:49 am

Re: What happens to an interface that is not part of any bridge?

Mon Mar 25, 2024 10:41 am

Perfect, thank you this is very clear.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12014
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: What happens to an interface that is not part of any bridge?

Mon Mar 25, 2024 10:59 am

Quick and easy answer:
It's like it's another bridge.

Who is online

Users browsing this forum: infabo, smx52, SweBat and 18 guests