
23
Click Modular Router Configuration Files
There were three different Click Modular Router configuration files used in this project,
corresponding to the three different hardware configurations presented in Chapter 3. The
configurations defined the actions of a packet forwarding router, a client gateway router, and an
Internet gateway router. The actions described in the packet forwarding router configuration are
also implemented in the other two configurations. The configurations have been broken down
into logical blocks. These blocks will be described in detail in section 5.3.4. The Click Modular
Router code is governed by a license, available in Appendix B. Complete diagrams showing how
all the elements are connected in the three configurations, along with the configuration files
themselves can also be found in Appendix B.
Packet Forwarding Router Configuration
This configuration file was very similar to the simple-dsdv.click sample configuration file
available with the Click Modular Router software package
1
. It was modified to suite the
application presented in this project. It expected the machine to have one wireless device.
Packets would be received on the D-Link DWL-AG530 device, and either kept if they were
addressed to the current router or forwarded to the appropriate router. If a packet was destined for
an outside network, it would be forwarded to the gateway router. The configuration can be broken
down into four main packet processing sections, as can be seen in Figure 5-2.
Figure 5-2: Block Diagram of Packet Forwarding Router Configuration
Client Gateway Router Configuration
This configuration expected the machine to have two devices, one of which should be the D-Link
DWL-AG530 card wireless device used to participate in the mesh network. The client device
1
Click Modular Router available at http://pdos.csail.mit.edu/click/
Comentarios a estos manuales