icmp protocol

Hello Guys,

I need script to block icmp protocol on my network, I want Clients not to have ability to ping on the network

set up firewall rule to block ICMP, you don’t need any scripts for that.

to block pinging outside network:

/ip firewall filter add chain=forward action=drop protocol=icmp icmp-options=8:0-255

to block pinging router itself:

/ip firewall filter add chain=input action=drop protocol=icmp icmp-options=8:0-255

Thanks for the replies, it works…

How can I block the access to scan my network through some network scanner to get mac addresses list on my network?

mac address is on Layer2 and everyone on the same subnet can discover it.
except on Wireless that could be isolated.
you can prevent to discovering your network IP addresses by using MikroTik firewall.