If I'm to set up two boxes to replicate to each other, is it simply a case of configuring each as the respective master and slave?

I don't want to end up with a loop of replication changes being replicated back.

a