
37
command brings the device up, making it active. The last command sets kernel routing
information that designates the address 192.168.1.5 as the gateway. This gateway is where all
Internet traffic is sent to, and is the address of the Client Gateway Router. This address must be
known in advance. To allow for DNS lookup, the address of a name server must be know in
advance and added to the /etc/resolv.conf file.
Table 7-1:Commands to Required to Allow Client Connection to Mesh Network
iwconfig eth1 mode ad-hoc channel 11 essid clientnet
ifconfig eth1 inet 192.168.1.13 netmask 255.255.255.0
ifconfig eth1 up
route add default gw 192.168.1.5 eth1
Wired Interface Configuration
The setup for a wired client is mostly identical to the wireless client configuration, without the
need for the first command that is specific to wireless devices. For the mesh network created, the
address for the wired Client Gateway router was 192.168.1.1. The proper name of the wired
Ethernet device was substituted for eth1.
To fulfill the goals of the project, a client must be able to connect to a client gateway router, and
through the mesh network access the Internet. This would provide the client the ability to access
web sites, send email, and transfer files. With the mesh network setup and configured as
described in Section 6.1, and having a client configured as described in Section 6.2, this was
achieved. The ability to connect to the Internet, through the mesh network utilizing all the mesh
routers available in this project was successful. The machines were setup along the hallways in
the Engineering III building, with the distances between machines great enough to force the
maximum number of hops. If the distance between two machines was too small, then there was a
possibility of an intermediate system being skipped. This situation was avoided by checking the
routing table on each mesh router. See [Appendix B] for an example of the routing tables
observed. A group member’s laptop was configured as a client, and was able to send email,
browse websites, and transfer files from the Internet. There was a noticeable difference in
performance when accessing the Internet over four hops as opposed to one hop, which was
achieved in the laboratory. A figure representing the complete system can be seen in Figure 7-1,
note that to simplify the figure two of the packet forwarding routers are not shown.
Comentarios a estos manuales