Is it possible to have two sets of clusters in the one IP subnet?
Indeed, it is
If yes what do I have to change so these clusters don't send messages to the wrong nodes.
Somebody might be able to help if you post your configuration files (ha.cf and haresources) for both clusters.