First of all, ipsec is not a routing protocol, it is a policy.
If you can ping all the addresses in your network you're ready to implement ipsec. So you have to solve that first.
Then https://wiki.mikrotik.com/wiki/Manual:I ... n_Examples
Menu ip -> ipsec
Configure peer
Configure identities
Check active peers
Configure proposals
Configure policies
Check policies if there active and check with ping / traceroute with source and destination ip to activate the policy