A network node for a wireless network comprises a processor, a memory and an antenna. The network node is operable to generate a random or pseudo-random number and to assign said number as an address for identifying said node to other nodes in said network.