In this paper, we propose a network locality positioning system (NLPS) to provide precise locality information of nodes in networks instead of designing new P2P systems. It can not only be used to solve the consistent problem whatever the P2P systems are