CharlieTLe / qurinet

Data sets and scripts related to Qurinet, a wireless mesh network testbed located at the Quail Ridge Natural Reserve.
2 stars 3 forks source link

Route Through Ethernet Over Wifi #14

Open DineshUCD opened 8 years ago

DineshUCD commented 8 years ago

Feature: Since there are locations where multiple routers are connected via Ethernet, the dynamic protocol should take this into account by routing via the interface providing most connectivity.

More Information: The are two locations where there are multiple routers that are connected via ethernet (1 and 248 at site 1 and 2 and 252 at site 2). Somehow this should be taken into account by the dynamic routing protocol. At some point the ethernet port was assigned the address 10.0.X.1 but this was removed for some reason. I also see in the olsr.conf file that the bridge is used by OLSR but as you've mentioned that doesn't seem correct. I believe the bridge was used to allow the DHCP server to hand out addresses on the two wireless APs and the ethernet connect.

I don't think a have a preference on how this is all accomplished (changing IPs and interfaces) but the following should work.

  1. DHCP can hand out IPs (and dns and gateway info) as requested on the 2 APs (one on each radio) and the ethernet connection
  2. OLSR (or other scheme) should determine routes to the various nodes using the 2 Ad-hoc interfaces (one on each radio) and the ethernet port.
  3. If there are more than 1 router connected to a wired network (i.e. a switch), only one router handles DHCP on that wired network. I would be fine if there is a flag in a config file that turns off DHCP on the ethernet port if such a situation occurs that needs to be set manually.