Patent ID: 8363663

Claim:
A method for routing data from a first node to a second node via a gateway, the method comprising: receiving, by the gateway, data from the first node that is addressed to the global network address associated with the second node: determining if the received data is associated with an active session; detecting at the gateway the second node and a local identifier of the second node, wherein the second node is local to and communicatively attached to the gateway; associating, by the gateway, a name and a global network address with the second node; configuring, by the gateway, a routing configuration associating the global network address with the local identifier of the second node; publishing the name and the global network address of the second node to a name service from which the first node acquires the global network address based on the name if the received data is not associated with the active session; transmitting, by the gateway, the data to the second node using the local identifier that is associated with the global network address in the routing configuration; and in response to detecting an absence of communicative attachment to the second node by the gateway, disassociating by the gateway the global network address from the second node and removing by the gateway the name and the global network address from the name service.