Community discussions

MikroTik App
 
zvukarmiso
just joined
Topic Author
Posts: 5
Joined: Thu Aug 04, 2011 10:32 pm

CRS112-8P-4S Trunk and Hybrid VLAN Configuration

Sun Mar 17, 2019 12:03 am

Hello
I am confused with the following configuration, the vlan for the switches bought by the customer. CRS112-8P 4S
Ports are connected to the switches as follows

port 2 - TRUNK_Uplink to cisco 2960
port 4 - Vlan221 access
port 7 - (WIFI AP R310) Trunk (Vlan 222-224) Native Vlan 221 access
port 8 - (WIFI AP R310) Trunk (Vlan 222-224) native Vlan 221 access

It's involved as follows
Main Router == (Trunk221-224) == SW CISCO == (Trunk221-224) == SW CRS112

My configuration is as follows:

Code: Select all

/interface bridge
add name=Switch_Vlan
/interface bridge port
add bridge=Switch_Vlan interface=ether2 hw=yes
add bridge=Switch_Vlan interface=ether4 hw=yes
add bridge=Switch_Vlan interface=ether7 hw=yes
add bridge=Switch_Vlan interface=ether8 hw=yes

/interface ethernet switch ingress-vlan-translationadd ports=ether4,ether7,ether8 customer-vid=0 new-customer-vid=221

/interface ethernet switch egress-vlan-tag
add tagged-ports=ether2 vlan-id=221
add tagged-ports=ether2,ether7,ether8 vlan-id=222
add tagged-ports=ether2,ether7,ether8 vlan-id=223
add tagged-ports=ether2,ether7,ether8 vlan-id=224

/interface ethernet switch vlan
add ports=ether2,ether4,ether7,ether8 vlan-id=221 learn=yes
add ports=ether2,ether4,ether7,ether8 vlan-id=222 learn=yes
add ports=ether2,ether4,ether7,ether8 vlan-id=223 learn=yes
add ports=ether2,ether4,ether7,ether8 vlan-id=224 learn=yes

/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether2,ether4,ether7,ether8

/interface vlan
add interface=Switch_Vlan name=MGMT vlan-id=221
/ip address
add address=10.100.1.3/24 interface=MGMT
I tried to assign IP to vlan 221 which is like management but I can't make it go

Where am I making a mistake? why doesn't it pass me?
Thank you for your advice
Michal
 
Morpheus1607
newbie
Posts: 35
Joined: Fri Jul 25, 2014 1:17 pm

Re: CRS112-8P-4S Trunk and Hybrid VLAN Configuration

Mon Mar 18, 2019 3:39 pm

when you want to use the MGNT VLAN to Switch you have to add the switch 1 CPU to the VLAN

/interface ethernet switch vlan
add vlan-id=221 ports=switch1-cpu

here is the link to the wiki

https://wiki.mikrotik.com/wiki/Manual:C ... s_examples
 
zvukarmiso
just joined
Topic Author
Posts: 5
Joined: Thu Aug 04, 2011 10:32 pm

Re: CRS112-8P-4S Trunk and Hybrid VLAN Configuration

Sat Apr 27, 2019 1:30 pm

Yes, I proceeded according to this guideline, but although I was able to log in to the router via VLAN.
But my problem is that NATIVE VLAN doesn't work for me

Who is online

Users browsing this forum: No registered users and 10 guests