VLAN Trunking and port setup CRS125
Posted: Sun Mar 08, 2015 12:09 am
Hi,
I have an CRS125 which unforunately due to the speed i'm only using as switch. but i want some trunks and VLAN's setup on it and i can't get this figured out.
Scenario:
Background:
I use an extra router (pfSense with VLAN capable NIC, this is already installed on the router and works fine, having a netgear switch with VLAN options and works like a charm, VLANning, trunking etc) My Engenius ECB350 Access Point is capable of handling VLANS and tested on the netgear it also works like a charm.
Mikrotik switch:
VLAN2 Clients
VLAN3 Admin Network
VLAN4 Untrusted (Internet Only)
VLAN5 Internal WiFi
VLAN6 Guest WiFi Untrusted (Internet Only)
Trunks:
Port 22 to WiFi AP
Port 23 to other Switch with all VLANS
Port 24 from Router with all VLANS
I don't use port 1 and 2 at the moment so i am only focussing on port 3-24.
Port 3-13,23,24 as VLAN2
Port 14,15,22,23,24 as VLAN3
Port 16,17,23,24 as VLAN4
Port 18,19,22,23,24 as VLAN5
Port 20,21,22,23,24 as VLAN6
This is the background information of it all,
What have i done so far:
Created VLANS, Master ports, nothing seems to work...![Sad :(](./images/smilies/icon_sad.gif)
I came up with this last settings but i can't get this to work. Does anybody has an idea how to realise this?
Thanks for the help!
Regards, Paul
I have an CRS125 which unforunately due to the speed i'm only using as switch. but i want some trunks and VLAN's setup on it and i can't get this figured out.
Scenario:
Background:
I use an extra router (pfSense with VLAN capable NIC, this is already installed on the router and works fine, having a netgear switch with VLAN options and works like a charm, VLANning, trunking etc) My Engenius ECB350 Access Point is capable of handling VLANS and tested on the netgear it also works like a charm.
Mikrotik switch:
VLAN2 Clients
VLAN3 Admin Network
VLAN4 Untrusted (Internet Only)
VLAN5 Internal WiFi
VLAN6 Guest WiFi Untrusted (Internet Only)
Trunks:
Port 22 to WiFi AP
Port 23 to other Switch with all VLANS
Port 24 from Router with all VLANS
I don't use port 1 and 2 at the moment so i am only focussing on port 3-24.
Port 3-13,23,24 as VLAN2
Port 14,15,22,23,24 as VLAN3
Port 16,17,23,24 as VLAN4
Port 18,19,22,23,24 as VLAN5
Port 20,21,22,23,24 as VLAN6
This is the background information of it all,
What have i done so far:
Created VLANS, Master ports, nothing seems to work...
![Sad :(](./images/smilies/icon_sad.gif)
I came up with this last settings but i can't get this to work. Does anybody has an idea how to realise this?
Thanks for the help!
Regards, Paul
Code: Select all
/interface ethernet
set numbers=3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 master-port=ether24
/interface ethernet switch vlan
add ports=ether03,ether04,ether05,ether06,ether07,ether08,ether09,ether10,ether11,ether12,ether13,ether23,ether24,switch1-cpu vlan-id=2
add ports=ether14,ether,15,ether22,ether23,ether24,switch1-cpu vlan-id=3
add ports=ether16,ether,17,ether23,ether24,switch1-cpu vlan-id=4
add ports=ether18,ether,19,ether22,ether23,ether24,switch1-cpu vlan-id=5
add ports=ether20,ether,21,ether22,ether23,ether24,switch1-cpu vlan-id=6
/interface ethernet switch ingress-vlan-translation
add ports=ether03,ether04,ether05,ether06,ether07,ether08,ether09,ether10,ether11,ether12,ether13,ether23,ether24 new-customer-vid=2
add ports=ether14,ether,15,ether22,ether23,ether24 new-customer-vid=3
add ports=ether16,ether,17,ether23,ether24 new-customer-vid=4
add ports=ether18,ether,19,ether22,ether23,ether24 new-customer-vid=5
add ports=ether20,ether,21,ether22,ether23,ether24 new-customer-vid=6
/interface ethernet switch egress-vlan-tag
add vlan-id=2 tagged-ports=ether03,ether04,ether05,ether06,ether07,ether08,ether09,ether10,ether11,ether12,ether13,ether23,ether24,switch1-cpu
add vlan-id=3 tagged-ports=ether14,ether,15,ether22,ether23,ether24,switch1-cpu
add vlan-id=4 tagged-ports=ether16,ether,17,ether23,ether24,switch1-cpu vlan
add vlan-id=5 tagged-ports=ether18,ether,19,ether22,ether23,ether24,switch1-cpu
add vlan-id=6 tagged-ports=ether20,ether,21,ether22,ether23,ether24,switch1-cpu