Community discussions

MikroTik App
 
vossuq
just joined
Topic Author
Posts: 3
Joined: Mon Mar 25, 2019 3:08 pm

How to create trunk port in CRS3xx

Mon Mar 25, 2019 3:23 pm

Hi folks

I'm trying to setup a Mikrotik CRS 317-1G-16S+ for Intervlan routing, but no success yet.
I have 3 physical servers as KVM hypervisors which need to connect to CRS by Trunk port (on SFP1 to SFP3 ports).
My VLAN IDs are 101 to 112 for infrastructure and 200 to 300 for customers. VLAN tagging is done in the Hypervisor.

I did this many times easily on Cisco IOS and NX-OS equipment, but I'm confused how to do it with Mikrotik CRS.
network map attached to this post. Any help would be appreciated.






Regards,
Vossuq
You do not have the required permissions to view the files attached to this post.
 
LIV2
newbie
Posts: 30
Joined: Sat Jan 23, 2016 7:42 am

Re: How to create trunk port in CRS3xx  [SOLVED]

Mon Mar 25, 2019 4:01 pm

It should be pretty easy, for VLAN 101 for instance:
/interface vlan add name=VL101 vlan-id=101 interface=bridge1
/ip address add address=192.168.101.1/24 interface=VL101
/interface bridge vlan add bridge=bridge1 tagged=sfp1,sfp2,sfp3,ether1  vlan-ids=101
More info here: https://wiki.mikrotik.com/wiki/Manual:I ... d_Ports.29
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11616
Joined: Thu Mar 03, 2016 10:23 pm

Re: How to create trunk port in CRS3xx

Mon Mar 25, 2019 4:37 pm

The third line in config code by @LIV2 should read:
/interface bridge vlan add bridge=bridge1 tagged=bridge1,sfp1,sfp2,sfp3,ether1  vlan-ids=101

Without adding bridge1 as tagged member of that VLAN the CRS itself won't be part of VLAN and won't be able to do inter-VLAN routing (nor will it be available to MGMT PC).
 
vossuq
just joined
Topic Author
Posts: 3
Joined: Mon Mar 25, 2019 3:08 pm

Re: How to create trunk port in CRS3xx

Sun Apr 07, 2019 3:28 pm

Many thanks for your consideration LIV2
 
vossuq
just joined
Topic Author
Posts: 3
Joined: Mon Mar 25, 2019 3:08 pm

Re: How to create trunk port in CRS3xx

Sun Apr 07, 2019 3:30 pm

Many thanks for your answer mkx
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: How to create trunk port in CRS3xx

Sun Apr 07, 2019 4:19 pm

@mkx, why do we have
/interface bridge vlan add bridge=bridge1 tagged=bridge1,sfp1,sfp2,sfp3,ether1 vlan-ids=101

and not (since eth1 is an access port??)
/interface bridge vlan add bridge=bridge1 tagged=bridge1,sfp1,sfp2,sfp3 untagged=ether1 vlan-ids=101
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11616
Joined: Thu Mar 03, 2016 10:23 pm

Re: How to create trunk port in CRS3xx

Sun Apr 07, 2019 4:36 pm

@anav, you're slowly getting to the point of receiving nick name hawkeye . :wink:
You're right, ether1 should indeed be an untagged member port (together with setting of pvid=101 for this port in /interface bridge port section) ...

My excuse for not noticing it is that omission of bridge1 as tagged port was so blindingly obvious it completely saturated my vision making it incapable of spotting less obvious misconfigurations ... :mrgreen:
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19352
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: How to create trunk port in CRS3xx

Mon Apr 08, 2019 3:39 am

That's a lot of words ...... just say 'sloppy' ;-P
PS. I am only hawkeye lite!

Who is online

Users browsing this forum: aTan and 111 guests