Hi,
Normally packets from 192.168.0.0/x to 192.168.0.0/x are not actually routed, they are delivered directly between the devices at L2, so the firewall rules which act at L3 won't ever see these packets. You can switch on use of ip firewall rules also for frames forwarded between ports of a bridge (/interface bridge settings set use-ip-firewall=yes), but if you have hardware accelerated bridging (which means that frames between switch chip ports are forwarded by the switch chip itself, not ever getting to the software bridge), these packets will not be seen by the firewall either.
The destination IP is not the router address, but is a device external to the router. In particular it is a NAS, and what I wanted to do was to create some kind of QoS over the LAN connection such to avoid saturation when PCs perform backup over the NAS. This is mainly driven by the fact that I have also a VoIP ATA behind the Mikrotik and I had the feeling that (even though QoS is in place for the WAN side for the VoIP device) the quality and lags over the call were accentuated when the backups were running.
What is the layout of your network?
What is 192.168.0.2? Is it connected to the router directly?
How are the other devices connected to your router: eth port on the router? switch? wireless AP?
The network has Mikrotik as central router (192.168.0.1) and the internet connection is provided through bridged ADSL modem. Mikrotik hosts the PPPoE client to authenticate through the ADSL modem.
Behind the router I have several devices that are connected either through cable or AP. I have also a NAS and a VoIP ATA. The former is locally used for backups and it is not exposed at all to the WAN side, whereas the latter is used to manage calls. For the ATA I have in place either NAT/firewall rules, as well as QoS through simple queues.
On top of this I had configured back in time few firewall rules to handle different security situations and filterings in general. So far, however, I always managed to work with LAN->WAN or WAN->LAN rules. Actually I never had the chance to try working over LAN->LAN configurations (something that I was able to handle with Sonicwall devices without particular problems btw).
As I said above, I would have liked to put in place some local (LAN-LAN) QoS mechanism to limit file trasner rates when backups are executed.
Normally packets from 192.168.0.0/x to 192.168.0.0/x are not actually routed, they are delivered directly between the devices at L2
This makes sense, and could be the reason why the Mikrotik does not even consider those packets. I tried to work at the switch level, but it seems that I cannot neither copy nor redirect packets to the CPU as my switch chip is not supported for these tasks
.
I will dump my config export in a while in a separate post
Thanks