A modified ad-hoc on-demand distance-vector routing protocol for a packed- switched network, wherein the network comprises a plurality of nodes connected via links, and wherein the routing protocol includes identifying a path from a source node to a destination node in the network based on a metric in turn based on link states.