
PakBus Networking Guide
60
7.5 Router
A router is a PakBus device which can accept a packet and forward it toward its
network destination. Network routing is fundamentally driven by a router
learning who its neighbors are and then sharing that information with other
routers in the network. Send Neighbor List and Get Neighbor List packets are
used to accomplish the sharing.
A router device which has experienced some change to its neighbor list (either
a neighbor added or a neighbor deleted) will exchange neighbor lists with other
routers so that all the routers in the network have the neighbor lists of all the
other routers. For example, after a router participates in a hello exchange it
sends all other routers in the network its updated neighbor list.
A router will only route a received packet if the device has the packet’s
destination PakBus Address in its routing table, however, if the device has a
default router address configured in the *D15 4
th
window, and is unable to find
a route to the destination in its routing table, then it will send the packet out via
the default router. A functioning network device will eventually be known to
every router in the network.
The CR10X, CR510, CR23X (with PakBus OS), the NL100, and LoggerNet
can function as routers. Typically, network routers consist of one of the above
dataloggers with an RF400 Series radio attached. A router’s RF400 can
communicate both directions (i.e., toward LoggerNet or toward the destination
datalogger). The future RF400 Series radio will include the ability to function
as a stand-alone router (without a datalogger).
If you have two in-range routers using neighbor filters, in order for them to
discover one another you must list each of them as a potential neighbor in the
other’s neighbor filter.
Routers determine the ‘best complete route’ to a destination by traversing
through all the neighbor lists they maintain from all the routers. These neighbor
lists give all routers knowledge of every link in the network. To limit size,
routers do not maintain in their routing tables ‘best complete routes’ to every
node in the network, although they have enough information to calculate such
routes. Routers need only maintain a list of PakBus Addresses in the network
and the corresponding neighbor device through which to send a packet toward
each PakBus Address.
7.5.1 Routing Table
The Routing Table lists the shortest (fastest) possible route to each node in the
network. All routers use the same ‘shortest path routing algorithm’ to construct
their routing tables. Every device that is configured as a router maintains a
routing table in memory with a list of active network links. In order to become
a router, a datalogger’s routing table is configured in *D15 or using Edlog’s
Options \ PakBus Settings.
The routing tables of a non-CRBasic datalogger (CR10XPB, CR23XPB, and
CR510PB) can be viewed by pressing *D17. The NL100’s Routing Table can
be viewed by using telnet, or a terminal emulator on the RS-232 port to access
Comentários a estes Manuais