Community discussions

MikroTik App
 
ahmet82
newbie
Topic Author
Posts: 47
Joined: Thu Aug 20, 2020 12:26 am

vlan routing without a bridge

Sun Nov 06, 2022 5:22 pm

I tested this on Cloud Hosted Router. It seems to work. VLANs are routed through the router, and I didn't use a bridge. If this is the case, is there a need for a bridge for this case? Will this be hardware offloaded on the real device?


reducted

Last edited by ahmet82 on Sun Nov 13, 2022 5:54 pm, edited 2 times in total.
 
sindy
Forum Guru
Forum Guru
Posts: 9902
Joined: Mon Dec 04, 2017 9:19 pm

Re: vlan routing without a bridge

Sun Nov 06, 2022 6:38 pm

You only need a bridge if you need to forward L2 traffic between interfaces. In your setup, this is handled by the external switches, so you indeed do not need a bridge on the CHR.

In RouterOS 7, some of the physical Mikrotik devices do support hardware routing including VLAN tagging/untagging, some don't - it depends on the capabilities of the switch chips they are built with and on the development stage.
 
ahmet82
newbie
Topic Author
Posts: 47
Joined: Thu Aug 20, 2020 12:26 am

Re: vlan routing without a bridge

Sun Nov 06, 2022 7:33 pm

On CHR, firewall rules are applied without any additional change.

I have a rb5009., will it be the same? Or Will it require some extra “redirect to cpu” etc to be able to apply rules to block some vlan accessing other vlan
 
Sob
Forum Guru
Forum Guru
Posts: 9049
Joined: Mon Apr 20, 2009 9:11 pm

Re: vlan routing without a bridge

Sun Nov 06, 2022 7:59 pm

I'm no expert on this, but I doubt that there will be any significant difference thanks to HW offloading on RB5009, if any at all. It doesn't have L3 Hardware Offloading, only HW offloaded vlan-filtering, i.e. if you'd have some VLAN on multiple ports, then L2 traffic between connected devices would be handled by switch. But you have just VLANs on single port, so any traffic passing through router will use routing, i.e. software processing. Anyone please correct me, if I missed something.

Who is online

Users browsing this forum: No registered users and 20 guests