| Legends |
| BN: Border Node, GN: Gateway Node, A: Source Node, B: Destination Node |
| (1) Start Communication—find a path from A to B |
| (2) If A is first hop neighbor of the BN |
| (3) Find B |
| (4) If B is first hop neighbor of the BN |
| (5) Establish a path from A to B using BN |
| (6) Else reach the default gateway |
| (7) Establish a path from A to B using A’s and B’s default GNs |
| (8) Else |
| (9) Find B |
| (10) Establish a path using default GN |