Community discussions

MikroTik App
 
User avatar
leostereo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Thu Oct 18, 2012 11:36 pm
Location: mendoza , argentina
Contact:

RouterOS as simple switch using bridge or master port

Thu May 21, 2015 8:36 pm

I have been testing and can not find difference between those configurations.
I prepare a switch using both aproaches and find that behaviour is same, looking packets with wireshark.
I was expecting that bridge mode generate more arp traffic over the network since it would behave similar to a hub but it didn`t.
Can some one go a littel deeper on this ?
After get it clear I will need to set rapid spanning tree.
Regards.
Leandro.
 
User avatar
pukkita
Trainer
Trainer
Posts: 3051
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: RouterOS as simple switch using bridge or master port

Thu May 21, 2015 9:16 pm

Ports in same switch chip in master/slave mode won't use CPU to reach wirespeed, as everything is managed by the switch chip.

Ports in a bridge = switch by software, uses router CPU. Ports in a bridge can be filtered by firewall.

It also impacts Fastpath operation. Have a look at this presentation for more details.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: RouterOS as simple switch using bridge or master port

Thu May 21, 2015 10:33 pm

Adding to the information Pukkita gave-

The hardware switch (master/slave) doesn't do spanning tree (as far as I know - I could be wrong)
You can't use ip firewall / bridge firewall rules to filter switch traffic.
Switch can only forward at layer2 between ports using the same switch chip. On a 2011-series routerboard, for instance, ether1-ether5 are switch1 and ether6-ether10 are switch2. You must use CPU bridge to link these two switches into a single broadcast domain. (wire speed between 2-5, and wire speed between 6-10, but cpu speed between 3 and 9, for instance). WiFi must be bridged with CPU bridge.

In a nutshell = hardware switch is the fastest, but has the fewest features.
 
User avatar
leostereo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Thu Oct 18, 2012 11:36 pm
Location: mendoza , argentina
Contact:

Re: RouterOS as simple switch using bridge or master port

Fri May 22, 2015 10:04 pm

Thanks !!! your replyes were very usefull.
Leandro.
 
AlbertJJ
just joined
Posts: 6
Joined: Wed Aug 31, 2016 3:31 am

Re: RouterOS as simple switch using bridge or master port

Thu Sep 08, 2016 1:55 am

Thanks Zerobyte! Very helpful
 
csalcedo
Frequent Visitor
Frequent Visitor
Posts: 80
Joined: Fri Jan 22, 2016 8:09 pm
Location: Santiago Chile

Re: RouterOS as simple switch using bridge or master port

Thu Sep 08, 2016 5:28 pm

are vlans proccesed in the cpu or in the switch chip directly ?
 
mpreissner
Member
Member
Posts: 357
Joined: Tue Mar 11, 2014 11:16 pm
Location: Columbia, MD

Re: RouterOS as simple switch using bridge or master port

Thu Sep 08, 2016 6:59 pm

are vlans proccesed in the cpu or in the switch chip directly ?
VLANs can be handled at both the switch chip and the CPU. The switch chips are VLAN-aware so you can support multiple logical switches on a single piece of hardware. To route between VLANs, though, you have to make the CPU aware of the VLANs and set up an address on each VLAN at the CPU.