How to configure rules for protocolls?

Hi,

I have to configure rules for transmitting of protocols on a Mikrotik router switch.

I have one uplink and three bondings and it should work like this:
bonding 1 → uplink: all
bonding 2 ->uplink: ICMP
bonding 3 → uplink: HTTP/HTTPS
etc.

How shall I configure it?

Thank you.

Hi,

I think creating routing marks in the mangle section will solve your problem.

/ip firewall mangle add chain=prerouting protocol=icmp action=mar
k-routing new-routing-mark=ICMP



/ip route add gateway=bonding2 routing-mark=ICMP