oe5nip
March 23, 2020, 3:08pm
1
Hi!
I have spent a lot of time to find a way to make the router CRS112 to a VLAN Swtich only.
I have no idea.
My Network is CRS125 which make all (Internet-Acess-VLAN-DHCP-DNS)
I need on the CRS112 Router 1 Trunk in - 3 Trunk Port out, the Rest only VLAN.
Any simple idea or tip…
Thx for Help..
anav
March 23, 2020, 4:01pm
2
Two methods,
(1) vlans single bridge CPU intensive approach (simplest).
(2) vlans not-cpu intensive a bit more complex
For the latter (2) check out the last code block here for a few ideas…
http://forum.mikrotik.com/t/cant-use-vlan-1-as-management-vlan/137678/11
oe5nip
April 4, 2020, 8:45am
3
hmm.
I have make a lot of Tests.
I have not found my solution…
Are there other infos outside…?
mszru
April 4, 2020, 1:02pm
4
Hi,
Assuming you have 2 vlans (100, 200), 4 trunk ports (ether1 - ether4) and 4 access ports (ether5 - ether8), the configuration steps could be the following:
Reset CRS112, no default configuration.
Create a bridge and add all ether interfaces to the bridge. Set pvid on access ports equal to corresponding vlan id.
/interface bridge add name=bridge
/interface bridge port
add bridge=bridge comment="trunk-uplink" interface=ether1
add bridge=bridge comment="trunk" interface=ether2
add bridge=bridge comment="trunk" interface=ether3
add bridge=bridge comment="trunk" interface=ether4
add bridge=bridge comment="access-100" frame-types=\
admit-only-untagged-and-priority-tagged interface=ether5 pvid=100
add bridge=bridge comment="access-100" frame-types=\
admit-only-untagged-and-priority-tagged interface=ether6 pvid=100
add bridge=bridge comment="access-200" frame-types=\
admit-only-untagged-and-priority-tagged interface=ether7 pvid=200
add bridge=bridge comment="access-200" frame-types=\
admit-only-untagged-and-priority-tagged interface=ether8 pvid=200
Create vlans on the bridge and add trunk ports as “tagged” and access ports as “untagged”.
/interface bridge vlan
add bridge=bridge vlan-ids=100 \
tagged=ether1,ether2,ether3,ether4,bridge untagged=ether5,ether6
add bridge=bridge vlan-ids=200 \
tagged=ether1,ether2,ether3,ether4 untagged=ether7,ether8
To be able to manage the switch from one of the vlans create vlan interface on the bridge, assign IP address to the vlan interface, add the bridge interface to the vlan as tagged port (already done in #3 ).
/interface vlan add interface=bridge name=vlan100 vlan-id=100
/ip address add address=192.168.100.2/24 interface=vlan100
Enable vlan filtering on the bridge.
/interface bridge set 0 vlan-filtering=yes
This method uses the new VLAN implementation in RouterOS and for CRS112 the switching will not be hardware accelerated. See Bridge Hardware Offloading .