[CUWiN-Dev] multiple gateways?

Bill Comisky bcomisky at pobox.com
Tue Dec 13 12:00:22 CST 2005


On Mon, 12 Dec 2005, David Young wrote:

> On Mon, Dec 12, 2005 at 05:57:14PM -0600, Bill Comisky wrote:
>>
>> In lawndale we put up a second gateway (stower) in the old Sears Tower on
>> the south side of the building facing south; our existing gateway (wtower)
>> there is on the west side facing NW.  These gateways are plugged into the
>> same LAN served by the same dhcp server, and as of now have the same SSID
>> and channel.

  [..snip..]

> The directly-connected route will always take precedence, it will have
> a better path metric.  Maybe you have a mixture of versions, such that
> the default metric for "stub" routes is lower on some nodes than others?
> Ah, yes, that is it:
>
> svn diff -r3658:3715 hsls_metrics.c
> Index: hsls_metrics.c
> ===================================================================
> --- hsls_metrics.c      (revision 3658)
> +++ hsls_metrics.c      (revision 3715)
> @@ -145,7 +145,6 @@ hsls_metric_default_val(enum hsls_metric
>        case HSLS_METRIC_RADIUS:
>                return 1;
>        case HSLS_METRIC_ETX:
> -               return ETX_UNIT;
>        default:
>                return HSLS_DOWN_METRIC;
>        }

Upgrading the 2nd gateway did indeed fix the problem of the weird default 
route.  We're still seeing a lot of hslsd core dumps though (running CUWiN 
r3715 and the 8-Dec netbsd snapshot).  From the timestamps (and adjusting 
for the watchdog timeout), they happen anywhere from immediately after 
hslsd is restarted to 90 minutes later, with the mean at about 22 minutes.

I put the latest core files with the output from 'mkstaboot -S -S' here, 
if they can tell you anything:
http://flatiron.cntwireless.org/cuwin/12-Dec-2005/

Bill

--
Bill Comisky
bcomisky at pobox.com


More information about the CU-Wireless-Dev mailing list