I tried all that, reset to factory default, netinstall, reconfigure from scratch.
Nothing works, it still leaks traffic, you can see traffic from all vlans.
Anyone who have any real working ways fixing it.
We tried to make a trunk and attach access ports to various vlans coming in from the trunk, it works in a way but it leaks.
So I am out of any clues how to fix this.
I do not fully understand invalid vlan filtering, I tried to follow the example but it differs we do not have intervlan routing and do not desire to have it in the switch either.
That configuration did not work at all, if I connect a server to the switch it becomes fully unavailable.
Can you please come up with a “normal switch with vlan and trunks example connected to cisco/hp trunk” or something similar.
Okey, I got support from my Mikrotik vendor, he says, basically use example “InterVLAN Routing with unknown VLAN filtering”:
Slave against ether1 not ether2!
Then you must connect your management vlans to switch1-cpu
Then you must put the switch admin ip address on vlan(s), if you want to be able reaching it.
I will test this and come back with the result within the neares days.
If all then work, CRS has start become very useful.
There’s a known bug in 6.12, adding some VLAN options causes the switch to hang on reboot. It’s probably not bricked, you can probably reset the config using a serial cable or holding the reset button. Here’s the bug:
Tested ROS6.13 today (full reset without defaults and updated it, no netinstall yet).
The same CRS port based vlans and inter vlan routing examples same results all fail, no traffic at all is passed through the device to any ports, and yes we tried using both ether1 and ether2 as master port.
Positive is that CRS does not hang anymore, and it was not bricket a reset helped out.
If it works, with some other settings, then I start to feel we do not have that deep competence to deal with ingress/outgress tagging and policy groups I have seen people discussing here and there but never saw anyone coming up with some working results that I could understand, so maybe CRS as a switch is not for us after all. It has also started to consume lot of time doing all those tests when a new RoS is rolled out.
However, the device is usful as a plain switch, without using any vlans and such stuff, and we do use some for that here since months back.
We did never try using it as a router due to it’s weak CPU, it might work in some small SOHO network which yet has not got 100Mbit/s internet.
On the link you gave are a lot of configurations, a lot of tests, but where is the solution to the problem described?
Something like: do this command and that command and it’s done. If possible without decorations of any kind…
Absolutely, I put in all the steps because I have had so much struggles with it that I dont know if it will work if leaving one of the steps below out. So I am sorry, it will be relaitively much text, hopefully it helps you out.
Configuration CRS A = CRS B, two access ports on vlan 20, one access port to each one of the other vlans and vlan trunk on ether1 and ether13
CRS A is set to have admin ip on vlan200: 172.16.1.111
CRS B is set to have admin ip on vlan200: 172.16.1.112
There are some more ip settings like default gw 172.16.1.1 and dns settings plus some route to another network 192.168.1.0/24 as well.
Also I did set passwords for admin, when done using winbox.
Preparing the CRS, fully reset and netinstall RoS6.14 (all steps from console port):
Connecting my laptop to the console port through USB to RS232 dongle.
Reset the switch fully:
/system reset-configuration no-defaults=yes skip-backup=yes
Power off by plugging cable out and in.
Netinstall CRS the ususal way by holding in the reset button whilst putting in the power cable in and same time have netinstal running on pc.
Here is how that is done: http://wiki.mikrotik.com/wiki/Manual:Netinstall
Upgrade to firmware 3.14:
/system routerboard upgrade
system reboot
Reset the switch fully again:
/system reset-configuration no-defaults=yes skip-backup=yes
Power off by plugging cable out and in.
Note!
On the second CRS I did simply skipped netinstall and simply upgrate to RoS6.14 and resetted + power cycled afterwards, and it worked, but hang in starting services first boot, a new power cycle and it hang in export compact, a new power cycle and then no more problems.
Configuring the switch CRS A from the console:
BEGIN CONFIGURATION CRS A##
1. Configure a Switch group
/interface ethernet
set [ find default-name=ether6 ] master-port=ether1
set [ find default-name=ether7 ] master-port=ether1
set [ find default-name=ether8 ] master-port=ether1
set [ find default-name=ether9 ] master-port=ether1
set [ find default-name=ether10 ] master-port=ether1
set [ find default-name=ether11 ] master-port=ether1
set [ find default-name=ether12 ] master-port=ether1
set [ find default-name=ether13 ] master-port=ether1
\
2. Tagging should be set on ether1 because it is a VLAN trunk port.
ether1 and ether13 is vlan trunks for vlan 20,100,200,220,300,400
Additionally, set switch1-cpu for VLAN200 to access IP address on VLAN interface, the frames should be tagged on it as well.
6. Forward-Unknown-Vlan, MT say no, but that does not work, say yes and it works
This has ben debatted a lot, I could never got it working with no, then swicth do not pass any traffic at all
/interface ethernet switch
set forward-unknown-vlan=yes
7. Other settings like routning, dns, ntp and CRS name
/ip dns
set servers=172.16.1.1
/ip dns static
add address=172.16.1.111 name=mikrotiksw1
/ip route
add distance=1 gateway=172.16.1.1
add distance=1 dst-address=192.168.0.0/16 gateway=172.16.1.253
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api-ssl disabled=yes
/lcd
set backlight-timeout=15m
/snmp
set contact="Peter Steen" enabled=yes location="Some Place" trap-community=public
/system clock
set time-zone-name=Europe/Stockholm
/system identity
set name="MikroTik SW1"
/system ntp client
set enabled=yes mode=unicast primary-ntp=10.30.0.5 secondary-ntp=172.16.1.11
END CONFIGURATION CRS A##
The do some tests:
Connect CRS A to Cisco, try pinging it's IP 172.16.1.111 and then access from winbox and try ping default gateway, and check that time is right and DNS is working.
Connect some device at ether6 (vlan 20) and see if it accessable and so on.
If all works, go on and configure CRS B!
Now we are done with CRS A, we configured CRS B the same way, exept IP, move the console cable to CRS B
BEGIN CONFIGURATION CRS B##
1. Configure a Switch group
/interface ethernet
set [ find default-name=ether6 ] master-port=ether1
set [ find default-name=ether7 ] master-port=ether1
set [ find default-name=ether8 ] master-port=ether1
set [ find default-name=ether9 ] master-port=ether1
set [ find default-name=ether10 ] master-port=ether1
set [ find default-name=ether11 ] master-port=ether1
set [ find default-name=ether12 ] master-port=ether1
set [ find default-name=ether13 ] master-port=ether1
\
2. Tagging should be set on ether1 because it is a VLAN trunk port.
ether1 and ether13 is vlan trunks for vlan 20,100,200,220,300,400
Additionally, set switch1-cpu for VLAN200 to access IP address on VLAN interface, the frames should be tagged on it as well.
6. Forward-Unknown-Vlan, MT say no, but that does not work, say yes and it works
This has ben debatted a lot, I could never got it working with no, then swicth do not pass any traffic at all
/interface ethernet switch
set forward-unknown-vlan=yes
7. Other settings like routning, dns, ntp and CRS name
/ip dns
set servers=172.16.1.1
/ip dns static
add address=172.16.1.112 name=mikrotiksw2
/ip route
add distance=1 gateway=172.16.1.1
add distance=1 dst-address=192.168.0.0/16 gateway=172.16.1.253
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api-ssl disabled=yes
/lcd
set backlight-timeout=15m
/snmp
set contact="Peter Steen" enabled=yes location="Some Place" trap-community=public
/system clock
set time-zone-name=Europe/Stockholm
/system identity
set name="MikroTik SW1"
/system ntp client
set enabled=yes mode=unicast primary-ntp=10.30.0.5 secondary-ntp=172.16.1.11
END CONFIGURATION CRS A##
Now connecto CRS A ether13 to CRS A ether1!
Try ping CRS B(172.16.1.112) from CRS A or any pc in vlan200.
Login using winbox to CRS B, and try ping default gw and the other switch and some else device, check the time and other stuff like DNS.
From within crs successfully pinged 172.16.1.112 and 172.16.1.1 and http://www.google.com and some other devices, it also become green in the dude.
Observation!
Every time the CRS is rebooted, a autosupout file is generated, dont know why.
Beside from that all seems to work.
Trying to flip the no to a yes did not have any effect on our CRS, like the flag had no meaning, but in our lab setup the cisco 2960 only trunk the vlans specified in CRS, so that can be one reason.
No leakage has been observed either.
We will postpone to put them in production till the problem with autosupout file has been solved, well I can disable it manually, but it must come there for some reason also, so we wait.