Regarding blocks

Let’s suppose 2 machine cluster and replication factor is 5 hows block replication factor will work as name node never create replica on same machine??
Thanks for answers in advance