A node of a wireless mesh network , the node comprising: one or more transceivers for communicating with other devices of the wireless mesh network ; and a processor operative to perform operations including: receiving, through the one or more transceivers , a plurality of routing packets from at least one upstream node of the wireless mesh network, wherein reception of the plurality of routing packets is facilitated by a first Internet protocol, IP, version (IPvA); selecting an upstream routing path to an upstream gateway based on a routing path quality as determined based at least in part on the received plurality of routing packets; determining from the plurality routing packets whether the first upstream node directly upstream from the node of the upstream routing path supports the second IP version (IPvB); establishing an IP tunnel with the upstream gateway or a second upstream node of the upstream routing path that supports the second IP version (IPvB) when the first upstream node does not support the second IP version (IPvB), wherein the selecting operation comprises that the received plurality of routing packet include an indication of whether a first upstream node directly upstream from the node of the upstream routing path supports a second IP version (IPvB), wherein the second IP version is different than the first IP version (IPvA), and characterized in that the processor is operative to perform operations further including: adding to each routing packet received from the at least one upstream node, information that indicates one or more IP versions that the node supports; and transmitting each routing packet with the added information downstream. one or more transceivers for communicating with other devices of the wireless mesh network ; and a processor operative to perform operations including: receiving, through the one or more transceivers , a plurality of routing packets from at least one upstream node of the wireless mesh network, wherein reception of the plurality of routing packets is facilitated by a first Internet protocol, IP, version (IPvA); selecting an upstream routing path to an upstream gateway based on a routing path quality as determined based at least in part on the received plurality of routing packets; determining from the plurality routing packets whether the first upstream node directly upstream from the node of the upstream routing path supports the second IP version (IPvB); establishing an IP tunnel with the upstream gateway or a second upstream node of the upstream routing path that supports the second IP version (IPvB) when the first upstream node does not support the second IP version (IPvB), wherein the selecting operation comprises that the received plurality of routing packet include an indication of whether a first upstream node directly upstream from the node of the upstream routing path supports a second IP version (IPvB), wherein the second IP version is different than the first IP version (IPvA), and characterized in that the processor is operative to perform operations further including: adding to each routing packet received from the at least one upstream node, information that indicates one or more IP versions that the node supports; and transmitting each routing packet with the added information downstream. adding to each routing packet received from the at least one upstream node, information that indicates one or more IP versions that the node supports; and transmitting each routing packet with the added information downstream. <EOS>