GSXR
February 7, 2014, 1:56pm
1
I’m at an impasse.
I can set up to 802.1Q on rb250 SwOS
I can set up to 802.1Q on rb750, rb950 etc. RouterOS
I broke my brain trying to set up 802.1Q on CRS
This instruction does not help ( http://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features )
All CRS Switch and ports settings are differ from rb750 - rb950
I tried to do something similar, but nothing worked.
I need to get my switches connected to each other via VLAN1
and each of these switches have ports in VLAN2, VLAN3 and VLAN4
Please, teach me how to do it on
efaden
February 7, 2014, 5:41pm
2
GSXR:
I’m at an impasse.
I can set up to 802.1Q on rb250 SwOS
I can set up to 802.1Q on rb750, rb950 etc. RouterOS
I broke my brain trying to set up 802.1Q on CRS
This instruction does not help ( http://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features )
All CRS Switch and ports settings are differ from rb750 - rb950
I tried to do something similar, but nothing worked.
I need to get my switches connected to each other via VLAN1
and each of these switches have ports in VLAN2, VLAN3 and VLAN4
Please, teach me how to do it on
The problem is that no one really knows. The documentation on the CRS is very sparse and we are still waiting for much of the feature set to be implemented.
tinti
July 24, 2014, 6:15am
3
I have asked the same questions on several forums, but no one is able to answer the question right now.
becs
July 24, 2014, 7:13am
4
The basic VLAN use cases with Cloud Router Switches are described in this wiki article:
http://wiki.mikrotik.com/wiki/Manual:CRS_examples
Take a look on the port based VLAN example, it suits to the setup from the diagram in this topic.
GSXR
October 24, 2014, 12:56pm
5
I’ve read it many times
my config is:
/interface ethernet
set ether2-slave-local master-port=ether1-master-local
set ether3-slave-local master-port=ether1-master-local
/interface ethernet switch ingress-vlan-translation
add ports=ether2-slave-local customer-vid=1 new-customer-vid=2 sa-learning=yes
add ports=ether3-slave-local customer-vid=1 new-customer-vid=3 sa-learning=yes
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether1-master-local vlan-id=2
add tagged-ports=ether1-master-local vlan-id=3
/interface ethernet switch vlan
add ports=ether1-master-local,ether2-slave-local vlan-id=2 learn=yes
add ports=ether1-master-local,ether3-slave-local vlan-id=3 learn=yes
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether1-master-local,ether2-slave-local,ether3-slave-local
/interface ethernet switch
set bridge-type=service-vid-used-as-lookup-vid
as in solution
my firmware is 6.20
it still doesn’t work
becs
October 24, 2014, 2:36pm
6
If you are referring to diagram from this topic, then I think you should start by changing customer-vid from 15 to 0 in Ingress VLAN translation rules and change CRS bridge-type.
/interface ethernet switch set bridge-type=customer-vid-used-as-lookup-vid
Then VLAN2 and VLAN3 connections should work.
GSXR
October 27, 2014, 1:02pm
7
Ok.
/system reset-configuration skip-backup=yes no-defaults=yes
and after reset:
/interface ethernet
set ether2 master-port=ether1
set ether3 master-port=ether1
/interface ethernet switch ingress-vlan-translation
add ports=ether2 customer-vid=1 new-customer-vid=2 sa-learning=yes
add ports=ether3 customer-vid=1 new-customer-vid=3 sa-learning=yes
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether1 vlan-id=2
add tagged-ports=ether1 vlan-id=3
/interface ethernet switch vlan
add ports=ether1,ether2 vlan-id=2 learn=yes
add ports=ether1,ether3 vlan-id=3 learn=yes
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether1,ether2,ether3
/interface ethernet switch
set bridge-type=customer-vid-used-as-lookup-vid
but doesn’t work
flipk12
October 27, 2014, 11:31pm
8
Try this:
/interface ethernet
set [ find default-name=ether1 ] comment=Master name=ether1-master-local
set [ find default-name=ether2 ] master-port=ether1-master-local name=ether2-slave-local
set [ find default-name=ether3 ] master-port=ether1-master-local name=ether3-slave-local
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether1-master-local,switch1-cpu vlan-id=2
add tagged-ports=ether1-master-local,switch1-cpu vlan-id=3
/interface ethernet switch ingress-vlan-translation
add customer-vlan-format=untagged-or-tagged new-customer-vid=2 ports=ether2 service-vlan-format=untagged-or-tagged
add customer-vlan-format=untagged-or-tagged new-customer-vid=3 ports=ether3 service-vlan-format=untagged-or-tagged
/interface ethernet switch vlan
add ports=ether1-master-local,ether2,switch1-cpu vlan-id=2
add ports=ether1-master-local,ether3,switch1-cpu vlan-id=3
GSXR
October 28, 2014, 2:12pm
9
That is !!
So , I have now:
/system reset-configuration skip-backup=yes no-defaults=yes
and
/interface ethernet
set ether2 master-port=ether1
set ether3 master-port=ether1
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether1,ether2,ether3
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether1 vlan-id=2
add tagged-ports=ether1 vlan-id=3
add tagged-ports=ether1 vlan-id=1
/interface ethernet switch ingress-vlan-translation
add customer-vlan-format=untagged-or-tagged new-customer-vid=2 ports=ether2 service-vlan-format=untagged-or-tagged
add customer-vlan-format=untagged-or-tagged new-customer-vid=3 ports=ether3 service-vlan-format=untagged-or-tagged
/interface ethernet switch vlan
add ports=ether1,ether2,switch1-cpu vlan-id=2
add ports=ether1,ether3,switch1-cpu vlan-id=3
add ports=ether1,switch1-cpu vlan-id=1 learn=yes
/interface ethernet switch
set bridge-type=customer-vid-used-as-lookup-vid
now work !
Thank you
GSXR
October 30, 2014, 7:29am
11
Next question.
I need my CRS have an different ip adresses for every VLAN
for eg. 192.168.1.1 for VLAN1 192.168.2.1 for VLAN2 192.168.3.1 for VLAN3 etc
if I just set adresses for every interface it doesn’t work
if I do /interface vlan add andd set adresses for VLAN’s it doesn’t work
what I can to do ?
flipk12
November 2, 2014, 10:23am
12
GSXR
November 5, 2014, 11:26am
13
I already try it
( /interface vlan
add name=vlan2 interface=ether2 vlan-id=2
add name=vlan3 interface=ether2 vlan-id=3
add name=vlan4 interface=ether2 vlan-id=4
/ip address
add address=192.168.2.1/24 interface=vlan2 network=192.168.2.0
add address=192.168.3.1/24 interface=vlan3 network=192.168.3.0
add address=192.168.4.1/24 interface=vlan4 network=192.168.4.0 )
and it doesn’t work