Community discussions

MikroTik App
 
User avatar
gard
newbie
Topic Author
Posts: 34
Joined: Wed Mar 14, 2018 12:51 pm

CRS3xx, vlans from acccess ports to uplink and back..

Mon Oct 29, 2018 7:30 am

Hello!
Sorry for my bad English.

I want simular sheme:
		    vid1 (uplink)
		        ||
	       -------CRS3xx-------
	       |    |   |    |    |
	     vid6 vid2 vid3 vid4 vid5   
I did it for untagged ports:
/interface bridge
add igmp-snooping=yes name=br0 protocol-mode=none vlan-filtering=yes

/interface bridge port
add bridge=br0 interface=sfp-sfpplus16
add bridge=br0 interface=sfp-sfpplus14 pvid=101
add bridge=br0 interface=sfp-sfpplus15 pvid=102

/interface bridge vlan
add bridge=br0 tagged=sfp-sfpplus16 untagged=sfp-sfpplus14 vlan-ids=101
add bridge=br0 tagged=sfp-sfpplus16 untagged=sfp-sfpplus14,sfp-sfpplus15 vlan-ids=1
add bridge=br0 tagged=sfp-sfpplus16 untagged=sfp-sfpplus15 vlan-ids=102

/interface ethernet switch rule
add new-vlan-id=1 ports=sfp-sfpplus14 switch=switch1 vlan-id=101
add new-vlan-id=1 ports=sfp-sfpplus15 switch=switch1 vlan-id=102
My laptop connected to sfp14 and he get ip-address and work. If i disable rule into "switch" - traffic is blocked. However, i want tagged vlans in access ports. I change rule:
add bridge=br0 tagged=sfp-sfpplus16,sfp-sfpplus14 vlan-ids=101
And create vlan interface on laptop. After that i do - "dhclient vlan101" (iface name).. but vlan interface can't get the ip-address...
Is it possible to somehow solve?