Difference between revisions of "Network layer"
From Zenitel Wiki
Line 1: | Line 1: | ||
− | The network layer is responsible for message transport from a source device to a destination device, possibly via one or more transit | + | The network layer is responsible for message transport from a source [[device]] to a destination device, possibly via one or more transit [[node]]s. It will also monitor broadcasts and discard messages that have been forwarded too many times (possibly going in loop). |
The network layer’s message header must always be included independent of which data link layer is used. | The network layer’s message header must always be included independent of which data link layer is used. | ||
Note that the header contains an <options> field, which need not be processed but your data receiver must advance the correct number of bytes. | Note that the header contains an <options> field, which need not be processed but your data receiver must advance the correct number of bytes. |
Revision as of 22:51, 19 June 2007
The network layer is responsible for message transport from a source device to a destination device, possibly via one or more transit nodes. It will also monitor broadcasts and discard messages that have been forwarded too many times (possibly going in loop). The network layer’s message header must always be included independent of which data link layer is used. Note that the header contains an <options> field, which need not be processed but your data receiver must advance the correct number of bytes.
Contents
Message Format
The network layer message has the following format:
<source> <destination> <hopcountbyte> <options>
Handling of Broadcast messages
Sequence numbers
When the AlphaCom message router receives a message addressed to a broadcast address, and the message does not have a sequence number, the router adds a nonzero sequence number to the message. Then the sequence number and the source address are stored in a message reference ring buffer with 20 elements, and the message is forwarded to all neighbour nodes. When the AlphaCom message router receives a message addressed to a broadcast address, and the message does have a sequence number, the router searches the ring buffer in order find if the message is already forwarded. If the message reference is found, the message is discarded. Otherwise, the sequence number and the source address are stored in the ring buffer, and the message is forwarded to all neighbor nodes.
Alternative Routing Effect
The AlphaCom does not support alternative routing of signalling in cases where the configured routes are broken. Note that Broadcast messages are delivered through all possible links in a network, so a message will be delivered via an alternative route if the network has several connections throughout. The DP messages will then be received and processed by all transit nodes, but only the node that recognizes the A subscriber will act on it. This effect should be used with some caution, though. If the audio link is broken at the same time, the human operator must set up alternative audio paths manually by using area codes. But as a backup procedure where the alternative is no communication at all, the customer may accept it!