Dynamic tunnel setup

The most obvious thing to update is the selection of the gateway to which a tunnel is set up. One can imagine a solution where a node waits for a predefined amount of time before setting up a tunnel. Within this time interval all HNA gateways should have been registered. The node can then decide what gateway to use based on a constraint like hop-count.

The tunneling solution should also apply for any given subnet. Even though the obvious example is Internet gateways, several gateways could also exist for subnets.

The tunneling could be made dynamic. This would include dynamically check for the existence of TCP connections. If at a given time no such connections exist to nodes routed through the tunnel, a check for more suitable gateways(due to mobility) could be done. If a closer gateway is found the current tunnel is updated to have the closer gateway as the endpoint.

Andreas 2004-07-29