21
In order to route packets between mesh routers, a networking protocol had to be chosen. In the
network created, the DSDV protocol was used. The benefits of this protocol are described in
section 5.2.1. The implementation of this protocol within Click is described in section 5.2.2.
The DSDV routing protocol was chosen because it was designed to work with a wireless network
of routers that know nothing about the other routers in the network. It takes advantage of the
wireless medium by using broadcast packets for route advertisement packets, but does not flood
the network with these packets. [4]
The DSDV routing protocol has been well tested in the past, allowing results from our network to
be applied to other networks. Because of the configuration of the mesh network created, a
proactive protocol, such as DSDV, was better suited to it. This is shown in two studies. In one
study comparing DSDV to AODV, a reactive protocol, it was found that DSDV preformed better
with higher traffic loads [7]. Another study also indicated that DSDV performs well when nodes
are not very mobile, dropping very few packets with a constant overhead of routing packets as the
number of routers increased. [8]
The DSDV elements are part of the grid package of the Click Modular Router. They were
created to implement the DSDV Protocol as described in [4]. The following four elements were
used in the routing configuration files used in the mesh network.
This element had two purposes. It defined if a router was a gateway, and addressed packets to the
closest gateway. If a router was acting as an Internet gateway, the element was declared with the
gateway flag set to true. If not, the flag was set to false. The element would change the
destination IP address annotation of an incoming packet to be that of the closest gateway, chosen
from the DSDVRouteTable element discussed below. If a router was a gateway, packets were
not sent through the GridGatewayInfo element, since they were to be forwarded out of the mesh
network by this router.
Comentarios a estos manuales