In the traditional TCP/IP stack, the IP address represents both the identifier and locator roles of a node. This dual nature makes it difficult to support mobility, security, routing scalability and other functions well. The new idea of separating the identifier and locator roles of the IP address becomes a hot research top in next generation Internet. In order to achieve the separation of identifier and locator, the universal network introduces access identifier, switch route identifier, and access switch router to divide the network into the access layer using access identifier and the backbone layer using switch route identifier. This paper mainly designs and implements the separation and mapping scheme of identifier and locator in the universal network based on Linux platform, including the packet forwarding process and the data structure of mapping relationship tables.