Community discussions

MikroTik App
 
Bootsy
just joined
Topic Author
Posts: 8
Joined: Sat May 02, 2020 1:18 pm

Inter Vlan Routing

Sat May 02, 2020 2:06 pm

Hi there, i'm a new subscribed in to this forum. I never used Mikrotik's devices, but the are looking interesting, also for their price. I'm configuring a little's office network and i have some questions about that. My idea is to use a Mikrotik's router to manage internet's connection, nat, port forwarding, dhcp servers and ppoe connection, but not the routing between vlan's. This is for performace reason, i need to connetc two switches (CRS326-24G-2S+RM) with 10Gbit fiber connection and the router would slow down my routing. The first vlan is connected to the first switch, and the second vlan to the second one in differents floors. My firs question is about Inter Vlan Routing, can these switches provide me this feature with good peformance? and how can i activate this feature, i'm not able to find that. So my idea is to use switches ti do vlan's routing. Another question is: do you think that this router (hEX) is good to manage 1Gbit internet connection, i think is good. The router will provide internet with two different nat at the vlans.
This office don't have many money so i chose these devices. Sorry for the long post but i always used Cisco's devices and this is my firts time with Mikrotik's one and i decided to ask at people with more experience in to this devices.
Thank you for your help and attention, have a realy nice day.
 
User avatar
ingdaka
Trainer
Trainer
Posts: 452
Joined: Thu Aug 30, 2012 3:06 pm
Location: Albania
Contact:

Re: Inter Vlan Routing

Sat May 02, 2020 3:45 pm

These switches can do it if you start them with routerOS not SwitchOS as they are dual boot!

But if we are talking to performance, they are switches not routers! They will not handle more then 1G in fast path routing!
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11621
Joined: Thu Mar 03, 2016 10:23 pm

Re: Inter Vlan Routing

Sat May 02, 2020 4:25 pm

Mikrotik publishes performance test results for every device. Surf to product list, select your device and click "Test results". There are different sections for different functionality, when it comes to routing (any kind, including inter-VLAN), look at Ethernet test results table, rows Routing. Interpretation of the results is important as well. My own experience is that number under "Routing, 25 ip filter rules, 512 byte packet size" best estimates performance as internet gateway (which includes basic firewalling). Of used as inter-VLAN router, performance can be higher depending on amount of packet processing (i.e. will firewall be enabled or not).

BTW, hEX can route around (or slightly less than) 400 Mbps ...
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Inter Vlan Routing

Sat May 02, 2020 5:50 pm

No, the hex would not be the lowest cost choice to meet your 1gig need. Cost is good, throughput not so good.
Its the very reason I went for the RB450Gx3 routerboard for my 1gig connection plus nice CPU and ram numbers and built in ipsec and reasonable price.

You have some very nice fast switches there. I am not a networking expert but cannot you not ensure that most traffic is contained within the switches?
Concur one wants to avoid sending traffic through the router from one vlan to another, but the whole purpose of vlans is to separate traffic so not sure how much intervlan traffic (that would have to b routed at layer 3 through the router) would occur in your setup without further details. A simple case is shared devices. If lets say there was a shared printer on one VLAN that another VLAN needed access to. I hardly think that traffic is going to be a bottleneck?? Dont have answers just trying to understand the magnitude of the traffic and hopefully others can chime in on how to efffectively use vlans on the fast switches.
 
User avatar
mozerd
Forum Veteran
Forum Veteran
Posts: 891
Joined: Thu Oct 05, 2017 3:39 pm
Location: Canada
Contact:

Re: Inter Vlan Routing

Sat May 02, 2020 6:58 pm

I am not a networking expert but cannot you not ensure that most traffic is contained within the switches?
VLAN Routing: 3 options
 
User avatar
mozerd
Forum Veteran
Forum Veteran
Posts: 891
Joined: Thu Oct 05, 2017 3:39 pm
Location: Canada
Contact:

Re: Inter Vlan Routing

Sat May 02, 2020 7:09 pm

This is for performace reason, i need to connetc two switches (CRS326-24G-2S+RM) with 10Gbit fiber connection and the router would slow down my routing.
MicroTik Switches are not Multi-Layer Switches so Inter-VLAN Routing will have a performance penalty when L3 is used .... Because the switches you have identified have L3 capabilities tied to the OS system called RouterOS you can do Inter-VLAN Routing. You best bet is to use Roter-on-a-stick approach to accomplish your desired objective.

My suggestion is to use the RB450Gx4 RouterBoard + its complimentary black case [$120] .... however the choice of Router for the type {RoS] configuration all depends on the load you expect .... if the load is light then the RB450 will do very nicely .... but if the load is heavy you might need something better.
 
Bootsy
just joined
Topic Author
Posts: 8
Joined: Sat May 02, 2020 1:18 pm

Re: Inter Vlan Routing

Sat May 02, 2020 9:59 pm

Thank you all for your quick answers, I am re-evaluating my project. Your answers have been very helpful. Thanks again
 
Bootsy
just joined
Topic Author
Posts: 8
Joined: Sat May 02, 2020 1:18 pm

Re: Inter Vlan Routing

Sat May 02, 2020 10:07 pm

This is for performace reason, i need to connetc two switches (CRS326-24G-2S+RM) with 10Gbit fiber connection and the router would slow down my routing.
MicroTik Switches are not Multi-Layer Switches so Inter-VLAN Routing will have a performance penalty when L3 is used .... Because the switches you have identified have L3 capabilities tied to the OS system called RouterOS you can do Inter-VLAN Routing. You best bet is to use Roter-on-a-stick approach to accomplish your desired objective.

My suggestion is to use the RB450Gx4 RouterBoard + its complimentary black case [$120] .... however the choice of Router for the type {RoS] configuration all depends on the load you expect .... if the load is light then the RB450 will do very nicely .... but if the load is heavy you might need something better.

Thanks for the advice and for the clear answer, I had seen and evaluated it but the 1Gbit ports worry me. The reason for connecting to 10Gbit is to avoid saturation in the event that someone downloads a large file from the internet and in the meantime someone exchanges data with the office backup server. I'm concerned about passing all the routing through a single gigabit port. I have placed too much trust in the switch's Inter Vlan Routing. Even if I separated internet traffic on a different port, I wouldn't take advantage of the sfp + modules anyway. What do you think about it? Thanks again for the quick reply.
 
User avatar
mozerd
Forum Veteran
Forum Veteran
Posts: 891
Joined: Thu Oct 05, 2017 3:39 pm
Location: Canada
Contact:

Re: Inter Vlan Routing

Sat May 02, 2020 11:53 pm

Your internet allocated bandwidth will determine your capability on your local network. Having a 10G connection at the switch level will not help to level the load.

The 10G connection is best suited for NAS, stuff you will do locally assuming you will have 10G network .... But your 2 switches provide you with a 1G network .... the 10G ports enable you to establish a 10G network as long as you add in another 10G switch .... or if you connect a 10G capable NAS to the SFP+ port.

If your users will be heavy downloaders you best bet is to put limits on their internet connections.

Your bottleneck will not be your LAN if you design it properly ... internet download traffic will not impact what happens in your LAN if you put limiters in place.
 
User avatar
Paternot
Forum Veteran
Forum Veteran
Posts: 953
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: Inter Vlan Routing

Sun May 03, 2020 4:22 am

If You want the router to just route internet traffic, I'd suggest the hAP ac2, instead. Costs a little more, but very little, and is quite faster. Comes with wireless too - but You can turn it off.

Here it is:
https://mikrotik.com/product/hap_ac2#fndtn-testresults

I'd say this is the bare minimum to route 1Gbps, in real life. It is cheap, it works well for pure routing/firewall and that's it. No bells nor whistles, not much grunt to do traffic shaping either. It will NOT be able to handle routing between Vlans - but neither would the hEX.
 
Bootsy
just joined
Topic Author
Posts: 8
Joined: Sat May 02, 2020 1:18 pm

Re: Inter Vlan Routing

Sun May 03, 2020 1:50 pm

First of all thank you for your quick reply
But your 2 switches provide you with a 1G network
yes I know, the connection to the various clients would still be limited to 1Gbit, but this suits me well
or if you connect a 10G capable NAS to the SFP+ port.
yes this is my intention

As I said, I have placed too much trust in switches and their performance. At this point I am evaluating various options: let go of the two vlan and make one (but I don't like it very much, I would prefer to keep everything separate) or try to convince the company to buy a more powerful ruter, perhaps equipped with an sfp + port. Thanks again for the answer, very clear.
 
Bootsy
just joined
Topic Author
Posts: 8
Joined: Sat May 02, 2020 1:18 pm

Re: Inter Vlan Routing

Sun May 03, 2020 1:53 pm

If You want the router to just route internet traffic, I'd suggest the hAP ac2, instead. Costs a little more, but very little, and is quite faster. Comes with wireless too - but You can turn it off.

Here it is:
https://mikrotik.com/product/hap_ac2#fndtn-testresults

I'd say this is the bare minimum to route 1Gbps, in real life. It is cheap, it works well for pure routing/firewall and that's it. No bells nor whistles, not much grunt to do traffic shaping either. It will NOT be able to handle routing between Vlans - but neither would the hEX.
Thanks a lot for your answer, this router looks good, I will definitely consider it if (as I said in the post above) in the end I will do everything on one vlan. Thanks again for the reply, much appreciated
 
larsac
just joined
Posts: 22
Joined: Thu Apr 30, 2020 4:52 pm

Re: Inter Vlan Routing

Mon May 04, 2020 9:04 am

Hello,

Above is mentioned that the hex is not able to do VLAN routing. Is that due to performance ? Or is it not able at all?

I bought one to experiment with RouterOS and set up the base for my config (incl. Inter-VLAN routing) before I move to a CRS or CCR device. Is that not possible?

Lars
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3300
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Inter Vlan Routing

Mon May 04, 2020 9:37 am

My hEX (RB750Gr3) do route fine between VLAN.
Main VLAN (my home)
Guest VLAN
DMZ VLAN

As mkx write
BTW, hEX can route around (or slightly less than) 400 Mbps ...
 
larsac
just joined
Posts: 22
Joined: Thu Apr 30, 2020 4:52 pm

Re: Inter Vlan Routing

Mon May 04, 2020 11:43 am

Hi,

good to know, thank you.

Lars
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Inter Vlan Routing

Mon May 04, 2020 2:16 pm

duplicate
Last edited by anav on Mon May 04, 2020 4:29 pm, edited 1 time in total.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Inter Vlan Routing

Mon May 04, 2020 2:17 pm

Concur with Jotne, the only reason I went to the RB450Gx4 (from the two hexes I have) was my 1 gig internet connection. ( I typically use around 10 vlans)
 
Bootsy
just joined
Topic Author
Posts: 8
Joined: Sat May 02, 2020 1:18 pm

Re: Inter Vlan Routing

Mon May 04, 2020 2:42 pm

Concur with Jotne, the only reason I went to the RB450Gx4 (from the two hexes I have) was my 1 gig internet connection. ( I typically use around 10 vlans)
In fact I think it's a good router, but I'm worried about the traffic between vlan that the switch would send to be managed. I don't think they will be huge traffic thresholds but if for example I wanted to do with the RoS mode, vlan 2 (which is located on floor 2) that tries to access vlan 1 (which is located on floor 1) because it is located on server, would be limited to 1Gbit only because of the router port, and if others on the same floor did the same thing, it would already be saturated
 
User avatar
Paternot
Forum Veteran
Forum Veteran
Posts: 953
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: Inter Vlan Routing

Mon May 04, 2020 3:43 pm

Hello,

Above is mentioned that the hex is not able to do VLAN routing. Is that due to performance ? Or is it not able at all?

I bought one to experiment with RouterOS and set up the base for my config (incl. Inter-VLAN routing) before I move to a CRS or CCR device. Is that not possible?

Lars
Performance. It would barely be able to route 1Gbps internet. Add to this routing between VLANs, and it will NOT be able to deliver full speed. Even the hEX ac2 would be hard pressed to achieve this - an it is quite faster than the hEX.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11621
Joined: Thu Mar 03, 2016 10:23 pm

Re: Inter Vlan Routing

Mon May 04, 2020 8:28 pm

For better inter-VLAN routing performance you need a better router. Until a CCR2004 arrives (it's right behind the corner), you might want to look at RB4011. It's got single SFP+ interface (in addition to several 1Gbps ethernet ports) and should be able to route around 2.5Gbps.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Inter Vlan Routing

Mon May 04, 2020 8:38 pm

It would be a total waste for me I would have to get 12 sfp+ cages (from sfp+ to 1Gig ethernet). But why am I still salivating??
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11621
Joined: Thu Mar 03, 2016 10:23 pm

Re: Inter Vlan Routing

Mon May 04, 2020 9:11 pm

It would be a total waste for me I would have to get 12 sfp+ cages (from sfp+ to 1Gig ethernet). But why am I still salivating??

You're salivating for the very same reason why Øveraasen TV 2200 is subject of your dreams while in reality all you need is a basic Snow Joe. ;-)
 
Bootsy
just joined
Topic Author
Posts: 8
Joined: Sat May 02, 2020 1:18 pm

Re: Inter Vlan Routing

Mon May 04, 2020 10:04 pm

Thank you all for the advice. that you know, how boring Mikrotik products with sfp modules from other brands can be?
 
User avatar
Paternot
Forum Veteran
Forum Veteran
Posts: 953
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: Inter Vlan Routing

Tue May 05, 2020 12:18 am

Thank you all for the advice. that you know, how boring Mikrotik products with sfp modules from other brands can be?
Official word is: Mikrotik doesn't restrict others brands of SFP on purpose. There may be incompatibilities problems, and some brands go out of their way to restrict THEIR modules from working with others.
 
Bootsy
just joined
Topic Author
Posts: 8
Joined: Sat May 02, 2020 1:18 pm

Re: Inter Vlan Routing

Tue May 05, 2020 1:22 am

Thanks, the office has Huawei modules, recently replaced, who knows if they will be compatible .........
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Inter Vlan Routing

Tue May 05, 2020 5:04 am

It would be a total waste for me I would have to get 12 sfp+ cages (from sfp+ to 1Gig ethernet). But why am I still salivating??

You're salivating for the very same reason why Øveraasen TV 2200 is subject of your dreams while in reality all you need is a basic Snow Joe. ;-)
Haha, how did you know I have a small honda push lawn mower but I dream about a Kubota tractor!!
https://kubota.ca/en/products/power-equ ... ackhoes/bx
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11621
Joined: Thu Mar 03, 2016 10:23 pm

Re: Inter Vlan Routing

Tue May 05, 2020 5:20 pm

It would be a total waste for me I would have to get 12 sfp+ cages (from sfp+ to 1Gig ethernet). But why am I still salivating??

You're salivating for the very same reason why Øveraasen TV 2200 is subject of your dreams while in reality all you need is a basic Snow Joe. ;-)
Haha, how did you know I have a small honda push lawn mower but I dream about a Kubota tractor!!
Because we are alike ... far more than I'd like to admit :lol:
 
8577
newbie
Posts: 48
Joined: Fri Mar 20, 2020 8:25 pm
Location: US

Re: Inter Vlan Routing

Tue May 05, 2020 7:32 pm

It would be a total waste for me I would have to get 12 sfp+ cages (from sfp+ to 1Gig ethernet). But why am I still salivating??

You're salivating for the very same reason why Øveraasen TV 2200 is subject of your dreams while in reality all you need is a basic Snow Joe. ;-)
Haha, how did you know I have a small honda push lawn mower but I dream about a Kubota tractor!!
https://kubota.ca/en/products/power-equ ... ackhoes/bx
More POWER! lol
 
ishanjain
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Tue Sep 29, 2020 8:40 am

Re: Inter Vlan Routing

Sat Apr 08, 2023 5:42 pm

Hey @anav

What sort of speeds were you getting for inter-vlan traffic on the RB450GX4. I am getting 400mbps right now with my config and I am trying to figure out if this is the limit for this device or if I should try to optimize it some more ?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11621
Joined: Thu Mar 03, 2016 10:23 pm

Re: Inter Vlan Routing

Sat Apr 08, 2023 6:00 pm

RB450Gx4 should be able to route at around 900Mbps, give or take. It largely depends on actual firewall setup. fasttrack has to be enabled and fasttrack is (still) only available for IPv4. Also: ROS v7, due to design decision in underlying linux kernel, has considerbaly lower routing capacity than v6 (and official test results, from which the number 900Mbps was taken, were done using ROS v6).

So if you want to get assessment whetehr routing performance you're getting is the limit in your case or not, you have to post full configuration of your router. If you can't do it or you're not willing to, then you can not get a more concrete answer / advice.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Inter Vlan Routing

Sat Apr 08, 2023 6:15 pm

What he said.................. oops could be her or them ;-)
 
ishanjain
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Tue Sep 29, 2020 8:40 am

Re: Inter Vlan Routing

Sun Apr 09, 2023 12:06 pm

Thank you mkx for you input!

I'll create a separate post with my full config and ask for feedback there.

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot], nhongooi, Valerio5000 and 57 guests