1. A method for routing packets in a mobile ad-hoc network, comprising: sending, by a local wireless node located in a first mobile ad-hoc network to a centralized controller node that manages a weighted network graph for a plurality of wireless nodes, a route-request message, which includes an interest to a content item; receiving, by the local wireless node, a path from the local wireless node to a destination node located in a second mobile ad-hoc network via a gateway node located in the first mobile ad-hoc network and configured to communicate with the second mobile ad-hoc network, the destination node providing the content item, wherein the path is computed by the centralized controller node based on the weighted network graph; receiving, by the local wireless node, an updated path to the destination node providing the content via the gateway node and computed by the centralized controller node based on update messages received from the plurality of wireless nodes, wherein the update messages include updates to neighborhood metrics associated with the wireless nodes and updates to content items stored on the wireless nodes, wherein the content items stored on the local wireless node include the content item of the interest; and routing, via the gateway node, the interest to the destination node based on the received updated path.