Community discussions

MikroTik App
 
User avatar
gazingbazooka
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 93
Joined: Mon Feb 10, 2020 7:10 pm
Location: Toronto, Canada

RB2011 what to do with second switch when doing VLAN

Sat Apr 11, 2020 9:07 pm

As I understand it for Routers such as RB2011/3011 the VLAN setup cannot cross to the second switch. I was thinking of adding the second switch in by creating two bridges and just patching it in as part of the VLAN by running a cable between ether5 and 6. Is that too crazy? Is there anything else folks are doing with ether6-10 when doing VLAN? Or just counting those as dead ports?
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: RB2011 what to do with second switch when doing VLAN

Sat Apr 11, 2020 10:44 pm

Ofcorse you can add them to the VLAN...
A nice article here: viewtopic.php?f=13&t=143620
 
User avatar
gazingbazooka
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 93
Joined: Mon Feb 10, 2020 7:10 pm
Location: Toronto, Canada

Re: RB2011 what to do with second switch when doing VLAN

Sun Apr 12, 2020 5:21 am

I am all too familiar with that post. I've spent a lot of quality time with that post and anav setting up CPU based VLANs on the GR3.

I'm trying to attempt VLANs using the switch on the RB2011. Those examples seems to be all CPU based switching. Is there a good post about doing that at the Switch level for the RB2011/RB3011. Or is this the best place? https://wiki.mikrotik.com/wiki/Manual:S ... p_Examples
 
User avatar
gazingbazooka
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 93
Joined: Mon Feb 10, 2020 7:10 pm
Location: Toronto, Canada

Re: RB2011 what to do with second switch when doing VLAN

Sun Apr 12, 2020 5:44 am

Found a post talking about the dual switch issue now:

viewtopic.php?t=152048

"There is a way to configure the device to have all ports switch together and yet be able to use VLAN filtering on a hardware level, though this solution has some caveats. The idea is to sacrifice a single Ethernet port on each switch chip that will act as a trunk ports to forward packets between switch chip, this can be done by plugging an Ethernet cable between both switch chip, for example, lets plug in an Ethernet cable between ether5 and ether6 then reconfigure your device assuming that these ports are trunk ports"
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11433
Joined: Thu Mar 03, 2016 10:23 pm

Re: RB2011 what to do with second switch when doing VLAN

Sun Apr 12, 2020 12:22 pm

I don't have a device with more than one switch chip to test my hypothesis. However, I imagine it is possible to bridge all ports and keep using HW to deal with VLANs... by simply using bridge as a dumb switch (VLAN unaware), just the way it used to be done in pre-6.41 (or whatever) times. The only thing it needs to be done is to make switchX-cpu interfaces members of same VLANs - those that should pass between both switch chips. And one has to revert to the old way of configuring other interfaces made members of same dumb bridge (e.g. wifi interfaces).

Just beware that RB2011 has two different switch chips that, when it comes to VLANs, behave slightly differently (check switch chip features).



Found a post talking about the dual switch issue now:

viewtopic.php?t=152048
It's hard to judge if the solution of poster of this post is the most/only correct as he didn't post the original (poorly performing) setup ... so we'll never know what was the cause of slow performance.
 
User avatar
gazingbazooka
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 93
Joined: Mon Feb 10, 2020 7:10 pm
Location: Toronto, Canada

Re: RB2011 what to do with second switch when doing VLAN

Sun Apr 12, 2020 5:28 pm

Do you know any good forum examples of setting up switch level routing on the Atheros8327? I'm fine starting with just one switch.
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: RB2011 what to do with second switch when doing VLAN

Sun Apr 12, 2020 6:52 pm

https://wiki.mikrotik.com/wiki/Manual:S ... d_Ports.29

Be aware it is not possible to have hybrid ports on the fast ethernet switch chips Mikrotik have used, including the integrated 8227 used for ether6-10 on the 2011
 
User avatar
gazingbazooka
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 93
Joined: Mon Feb 10, 2020 7:10 pm
Location: Toronto, Canada

Re: RB2011 what to do with second switch when doing VLAN

Sun Apr 12, 2020 7:08 pm

Hybrid ports will work on the 8327? I need hybrid ports in my setup.
 
tdw
Forum Guru
Forum Guru
Posts: 1843
Joined: Sat May 05, 2018 11:55 am

Re: RB2011 what to do with second switch when doing VLAN

Sun Apr 12, 2020 7:59 pm

Yes, the 8337 supports them as detailed in the link

Who is online

Users browsing this forum: AtomikRoach, Google [Bot], hatred, jfox, mszru, tesme33 and 60 guests