How to use different IPs with mqtt

I can't look at your flow, as I am on my phone. Are you running one MQTT broker or two?

For future reference you should paste flows inline see this post for more details - How to share code or flow json