 Two-phase randomized routing is a method for preventing network contention and it works by routing packets to a randomly chosen intermediate node, before routing it to the destination.The effect is to reduce all traffic to an average worst case with predictable latency and bandwidth.Two-phase randomized routing is implemented by the STC104 by setting up links where traffic enters the network to prepend a header with a random destination.