Community discussions

MikroTik App
 
OnixJonix
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Thu Jun 22, 2006 11:35 am
Location: Latvia

Stuck with RB750 Switching VLANs!

Wed Oct 28, 2015 3:14 pm

In the manual (http://wiki.mikrotik.com/wiki/Manual:Sw ... _Switching) there is shown only example of incoming one tagged traffic then leaving only unntaged!
I can't figure out how to forward tagged vlans? For example (see attached image)
750switching_problem.jpg
Dont want to make bridging! Want use full speed switching! Thanks!
You do not have the required permissions to view the files attached to this post.
 
OnixJonix
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Thu Jun 22, 2006 11:35 am
Location: Latvia

Re: Stuck with RB750 Switching VLANs!

Thu Oct 29, 2015 10:03 am

Please sombody?? Why there are no documentation! If it is fully managed switch then please solve this simple task!
 
huntah
Member Candidate
Member Candidate
Posts: 287
Joined: Tue Sep 09, 2008 3:24 pm

Re: Stuck with RB750 Switching VLANs!

Thu Oct 29, 2015 6:36 pm

this should work:
/interface ethernet switch port
set 0 vlan-mode=fallback
set 1 default-vlan-id=200 vlan-header=add-if-missing vlan-mode=secure
set 2 default-vlan-id=200 vlan-header=add-if-missing vlan-mode=secure
set 3 default-vlan-id=200 vlan-header=always-strip vlan-mode=secure
set 4 default-vlan-id=300 vlan-header=always-strip vlan-mode=secure
set 5 vlan-mode=secure
0 - eth1-wan
1 - ether2-master (tagged 200,300,400)
2 - ether3-slave (tagged 200,300,400)
3- ether4-slave (Access port - untagged 200)
4- ether5-slave (Access port - untagged 300)
5- switch-cpu
/interface ethernet switch vlan
add ports=switch1-cpu,ether2,ether3,ether4 switch=switch1 vlan-id=200
add ports=ether2,ether3,ether5 switch=switch1 vlan-id=300
add ports=ether2,ether3 switch=switch1 vlan-id=400
On second router:
/interface ethernet switch port
set 0 vlan-mode=fallback
set 1 default-vlan-id=200 vlan-header=add-if-missing vlan-mode=secure
set 2 vlan-mode=fallback
set 3 vlan-mode=fallback
set 4 vlan-mode=fallback
set 5 vlan-mode=secure

/interface ethernet switch vlan
add ports=switch1-cpu,ether2 switch=switch1 vlan-id=200
add ports=ether2 switch=switch1 vlan-id=300
add ports=ether2 switch=switch1 vlan-id=400
 
OnixJonix
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Thu Jun 22, 2006 11:35 am
Location: Latvia

Re: Stuck with RB750 Switching VLANs!

Thu Nov 05, 2015 3:17 pm

Sorry, but dont work this way!
As i understand if i want ACCESS port i make on PORT - AlwaysStrip? And thats all? Or there is some other trick?
 
OnixJonix
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Thu Jun 22, 2006 11:35 am
Location: Latvia

Re: Stuck with RB750 Switching VLANs!

Thu Nov 05, 2015 4:23 pm

I have one mistake in sheme!
So the problem as i see is Hybrid port! I need from router 1 to AP - where there is 4 SSID each with different VLAN, but managment network is UNTTAGED! So if i understand correct this is HYBRID port and this switch cant do it?
 
huntah
Member Candidate
Member Candidate
Posts: 287
Joined: Tue Sep 09, 2008 3:24 pm

Re: Stuck with RB750 Switching VLANs!

Sat Nov 07, 2015 1:00 am

/interface ethernet switch port
set 0 vlan-mode=fallback
set 1 default-vlan-id=200 vlan-header=add-if-missing vlan-mode=secure
set 2 default-vlan-id=200 vlan-header=add-if-missing vlan-mode=secure
set 3 default-vlan-id=0 vlan-header=always-strip vlan-mode=secure
set 4 default-vlan-id=300 vlan-header=always-strip vlan-mode=secure
set 5 vlan-mode=secure

/interface ethernet switch vlan
add ports=switch1-cpu,ether4 switch=switch1 vlan-id=0
add ports=switch1-cpu,ether2,ether3,ether4 switch=switch1 vlan-id=200
add ports=ether2,ether3,ether5 switch=switch1 vlan-id=300
add ports=ether2,ether3,ether4 switch=switch1 vlan-id=400
0 - eth1-wan
1 - ether2-master (tagged 200,300,400)
2 - ether3-slave (tagged 200,300,400)
3- ether4-slave (Hybrid - native untagged (vlan0), tagged 200,400)
4- ether5-slave (Access port - untagged 300)
5- switch-cpu

This should work as Hybrid port (ether4) .. give it a try
 
OnixJonix
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Thu Jun 22, 2006 11:35 am
Location: Latvia

Re: Stuck with RB750 Switching VLANs!

Mon Nov 09, 2015 2:22 pm

I asked this question, because in one of MUM presentation (page 34) there is sad that on these switches cant make HYBRID ports, but i cant see it in documentation... so i hope someone make it clear!
link to presentation:
http://mum.mikrotik.com/presentations/I ... nowski.pdf
 
huntah
Member Candidate
Member Candidate
Posts: 287
Joined: Tue Sep 09, 2008 3:24 pm

Re: Stuck with RB750 Switching VLANs!

Tue Nov 10, 2015 12:55 am

I tried the above setup (similar) and it works. I tried it with HP Procurve 1920 switches.
They all got the Management IPs via VLAN0 and VLAN200 and VLAN300 vas tagged and avaible in Procurve.

My setup:

Mikrotik eth4 (vlan0, vlan200,vlan300) -> Procurve1 port 24 (PVID 1, tagged 200, tagged 200)

Then from Procurve1 port 23 (PVID1, tagged 200, tagged 300 - Hybridport) -> Procurve2 port 24 (PVID1, tagged 200, tagged 300 -HybridPort)

Procurve1 - 1-12 -> unttaged 200
Procurve1 - 13-23 - untagged 300
Procurve2 1 - PVID 1 (access port with native VLAN)
Procurve2 - 2-12 - unttaged 200
Procurve2 - 13-23 - untagged 300

Mikrotik DHCP:
DHCP- Managemnt -> eth2-master
DHCP-200 - vlan200 (eth2-master)
DHCP-300 - vlan300 (eth2-master)
Interface group:
eth2-master (slaves - eth3-5)

ROS: 6.33 (6.30.4, 6.32.x)

Everthing works as it should (DHCP for specific VLAN respond to the right ports).

Why dont you try it for yourself.. If you have problem post export and update the picture with correct connections.
 
OnixJonix
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Thu Jun 22, 2006 11:35 am
Location: Latvia

Re: Stuck with RB750 Switching VLANs!

Wed Nov 11, 2015 9:37 am

huntah - all work just fine! Thanks man!

Port you want make a HYBRID- for example port 2 with UNtagged VLAN ID 88, and Tagged VLAN 200 and VLAN 300

/interface ethernet switch port
set 2 default-vlan-id=88 vlan-header=always-strip vlan-mode=secure

/interface ethernet switch vlan
add independent-learning=no ports=ether2,switch1-cpu switch=switch1 vlan-id=88
add independent-learning=no ports=ether2 switch=switch1 vlan-id=200
add independent-learning=no ports=ether2 switch=switch1 vlan-id=300

750switching_problem.jpg
You do not have the required permissions to view the files attached to this post.
 
iqt
just joined
Posts: 23
Joined: Fri Jun 07, 2013 11:04 am

Re: Stuck with RB750 Switching VLANs!

Sat Apr 16, 2016 10:15 pm

I have the same requirement. Unfortunately the solution described above, is not working for my RB 450G. Is anybody running a 450G with a solution like this?

Dirk
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Stuck with RB750 Switching VLANs!

Sun Apr 17, 2016 1:11 pm

Unfortunately the solution described above, is not working for my RB 450G.
What exactly is not working? What ports are involved in your configuration? Is switch-all-ports options (which only works for a few boards, but including RB450G) is enabled?
 
iqt
just joined
Posts: 23
Joined: Fri Jun 07, 2013 11:04 am

Re: Stuck with RB750 Switching VLANs!

Sun Apr 17, 2016 3:10 pm

Unfortunately the solution described above, is not working for my RB 450G.
What exactly is not working? What ports are involved in your configuration? Is switch-all-ports options (which only works for a few boards, but including RB450G) is enabled?
The results do not depend on the switch-all-ports option. Currently I am using port 2 as master and ports 3-5 as slaves (switch-all-ports is enabled). After further analysis I come to the conclusion that the default-vlan-id setting is not working as expected. I have described the topic in detail in this post http://forum.mikrotik.com/viewtopic.php?f=2&t=103683

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Frostbite1991, KOK, lubara and 186 guests