Symmetry breaking in distributed networks