Local routing in multihop networks