A computer-implemented method for use in a first node for establishing a connection with a backbone in a network comprising a plurality of nodes, wherein each node is given a two part topological reference representing ranking information, the method comprising: determining default values for the two part topological reference of the first node, the two part topological reference comprising: a first reference part reflecting a topological relation of the first node relative to the backbone; and a second reference part reflecting a topological relation of the first node relative to one or more nodes in a first subnetwork of the network, the first subnetwork comprising the first node; receiving a peer two part topological reference from a peer node, the peer two part topological reference including: a first peer reference part reflecting a topological relation of the peer node relative to the backbone; and a second peer reference part reflecting a topological relation of the peer node to one or more nodes in a second subnetwork of the network, the second subnetwork comprising the peer node; determining, based on the received peer two part topological reference, that the first node is to connect, via Line-of-Sight, LOS, communication, with the peer node;and associating the first node with the peer node by: assigning a first value to the first node's first reference part, the first value being the same value as the first peer reference part; and assigning a second value to the first node's second reference part, the second value generated from an arithmetic operation applied to the second peer reference part, such that the second value indicates an ordering of the first node within the second subnetwork. a first reference part reflecting a topological relation of the first node relative to the backbone; and a second reference part reflecting a topological relation of the first node relative to one or more nodes in a first subnetwork of the network, the first subnetwork comprising the first node; receiving a peer two part topological reference from a peer node, the peer two part topological reference including: a first peer reference part reflecting a topological relation of the peer node relative to the backbone; and a second peer reference part reflecting a topological relation of the peer node to one or more nodes in a second subnetwork of the network, the second subnetwork comprising the peer node; determining, based on the received peer two part topological reference, that the first node is to connect, via Line-of-Sight, LOS, communication, with the peer node;and associating the first node with the peer node by: assigning a first value to the first node's first reference part, the first value being the same value as the first peer reference part; and assigning a second value to the first node's second reference part, the second value generated from an arithmetic operation applied to the second peer reference part, such that the second value indicates an ordering of the first node within the second subnetwork. a first peer reference part reflecting a topological relation of the peer node relative to the backbone; and a second peer reference part reflecting a topological relation of the peer node to one or more nodes in a second subnetwork of the network, the second subnetwork comprising the peer node; determining, based on the received peer two part topological reference, that the first node is to connect, via Line-of-Sight, LOS, communication, with the peer node;and associating the first node with the peer node by: assigning a first value to the first node's first reference part, the first value being the same value as the first peer reference part; and assigning a second value to the first node's second reference part, the second value generated from an arithmetic operation applied to the second peer reference part, such that the second value indicates an ordering of the first node within the second subnetwork. assigning a first value to the first node's first reference part, the first value being the same value as the first peer reference part; and assigning a second value to the first node's second reference part, the second value generated from an arithmetic operation applied to the second peer reference part, such that the second value indicates an ordering of the first node within the second subnetwork.