Can access mikrotik with winbox, but cannot ping it.

Hi everyone. Today i faced a really strange problem

I have a mikrotik pc with routeros and everything was working fine.
I have WAN IP (192.168.1.100) and the LOCAL IP that connects to a switch (192.168.0.100)
The problem im facing is that actually i cannot ping at all the LOCAL IP (0.100) but i can access it from winbox by mac address. All the firewall rules, mangle, and routes are correctly set up (this kind of configuration has been working for a long time). If i set the gateway to the local pc-s to 192.168.0.100 i dont have internet at all, cannot ping 192.168.0.100 but can access it from winbox.
I’m waiting for an answer

That sounds like your address/subnet assignments may be incorrect on either the RouterOS pc or the client. Check both.

Are you assigning localnet addresses to clients with dhcp? If so, check that also. Insure your dhcp server is not issuing 192.168.0.100.

Normally, I use 192.168.x.1/24 for localnet gateway interfaces and issue 192.168.x.2-254 to clients with dhcp.

Thnx for your answer.

The clients have the standard subnet (255.255.255.0), and dhcp is not enabled in mikrotik. Addresses are manually assigned in the range 192.168.0.x with gateway 192.168.0.100. I have also double checked if there were any pc with ip 192.168.0.100 but nothing.

If i try to ping an external address from mikrotik, (example google) it works ok. If i try to ping mikrotik itself from a client pc, it wont ping at all.