Link sensing

To keep up-to-date information on what links exist between a node and its neighbors, the link set is maintained. In HELLO messages a node emits all information about the links to neighbors from the interface on which the HELLO is transmitted. When declaring links, the IP addresses of the actual interfaces making up the link is used. When declaring the neighbor state of neighbors not reachable on the interface on which the HELLO is transmitted, the main address of the neighbor node is used.

Figure: Nodes A and B runs OLSR on multiple interfaces. B uses the address of b1 as its main address. Nodes D and C runs on single interfaces(d1 and c1).
\includegraphics[width=4in]{gfx/hello_example1.eps}

In a scenario like the one depicted in figure 3.12, A would send the following information in its HELLO message on interface a1:

When building a HELLO to be transmitted on a2, node A will include the following information:

Upon receiving a HELLO from a neighbor, a node checks to see if the HELLO message contains the IP address of the interface the message was received. The link set is then updated as follows:

Andreas 2004-07-29