How to check if network communication is working properly between containers?

I’m trying to simulate two docker containers communicating over a network and not with each other through linking or a docker network. If I can exec into one container, what can I do to test that it can access the other container through the host network? I’ll admit, I am a bit of a noob with Docker too. So go easy on me. :smile:

Scott