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