DEFINING ROUTING POLICIES IN PEER-TO-PEER OVERLAY NETWORKS