Community discussions

MikroTik App
 
benoitc
Member Candidate
Member Candidate
Topic Author
Posts: 170
Joined: Wed Jul 08, 2020 12:33 am

best pattern to setup inter-vlan routing with 2 switches and 1 router?

Tue Dec 22, 2020 12:26 pm

I'm looking for some guidances to setup a resilient network (handle possible crash of a switch for ex) between 3 machines using 2 switches and a router. On this network there will be multiple VLANS with different priorities ((o separate a metadata network from data and management networks).

The 3 machines have 2x10GbE ports connected to 2 CRS312-4C+8XG-RM switches. Each switch is for now connected to a CCR2004-1G-12S+2XS router:
Scan 21 Dec 2020 at 11.10.png
What would be the best way to setup tyhe router. Should I link the switches all together? Which strategy to use? If I put 2x10G lnki between SFP+ ports of the switches, should i keep for each swicth a link to the router, or can i link only one switch to the router?
You do not have the required permissions to view the files attached to this post.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 21900
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: best pattern to setup inter-vlan routing with 2 switches and 1 router?

Tue Dec 22, 2020 2:13 pm

Which router do you have?? Which switches do you have?
Assuming orange devices will never be allowed to talk to blue devices
 
benoitc
Member Candidate
Member Candidate
Topic Author
Posts: 170
Joined: Wed Jul 08, 2020 12:33 am

Re: best pattern to setup inter-vlan routing with 2 switches and 1 router?

Tue Dec 22, 2020 2:48 pm

Which router do you have?? Which switches do you have?
Assuming orange devices will never be allowed to talk to blue devices
I am using 2 CRS312-4C+8XG-RM switches. The router is a CCR2004-1G-12S+2XS.

Well That's actually a good question. Orange and blue are for now defining the 2 different NIC. But maybe they can be bounded either in an active-backup strategy or using a LAG or something?
 
tdw
Forum Guru
Forum Guru
Posts: 2032
Joined: Sat May 05, 2018 11:55 am

Re: best pattern to setup inter-vlan routing with 2 switches and 1 router?

Tue Dec 22, 2020 6:37 pm

Mikrotik do not support bonding / LAG across multiple switches, if you connect the pair of interfaces on a server to different switches then only layer 2 option is spanning tree. As you have a single point of failure with a single router anyway adding switch failover may introduce additional potential fault modes and become less reliable - spanning tree can go into complete meltdown if the CPU in any of the devices is excessively busy or otherwise stops responding / sending BPDU packets, for example.
 
benoitc
Member Candidate
Member Candidate
Topic Author
Posts: 170
Joined: Wed Jul 08, 2020 12:33 am

Re: best pattern to setup inter-vlan routing with 2 switches and 1 router?

Tue Dec 22, 2020 8:19 pm

Mikrotik do not support bonding / LAG across multiple switches, if you connect the pair of interfaces on a server to different switches then only layer 2 option is spanning tree. As you have a single point of failure with a single router anyway adding switch failover may introduce additional potential fault modes and become less reliable - spanning tree can go into complete meltdown if the CPU in any of the devices is excessively busy or otherwise stops responding / sending BPDU packets, for example.
If I hear you I should add another router? What would be the topology in such case? Also maybe i should use another switch in between? Or what would be the other options to get HA?
 
tdw
Forum Guru
Forum Guru
Posts: 2032
Joined: Sat May 05, 2018 11:55 am

Re: best pattern to setup inter-vlan routing with 2 switches and 1 router?

Wed Dec 23, 2020 1:27 pm

As you only have a single ISP feed having multiple routers will not give you HA for external traffic, it could provide resilience between internal networks using VRRP but you have to take care with things such as DHCP and firewall rules as there is no synchronisation of IP pool use and connection tracking.

Who is online

Users browsing this forum: flaviofrancozo, garyjduk, ieleja, Kuitz, Marc1963, sindy and 93 guests