Mississippi Network Diagram and Configuration

Buick serves DHCP, and does round-robin load-balancing between 2 DSL lines.

All of the metrix boxes run ["STP"]. (We should probably pick a root bridge, and configure it. The SW NAYA metrix looks good. The commons metrix got elected by default.)

The whole network is bridged, and in the 10.11.104.0/22 network.

NEWS

November 11, 2005: I think I've figured out the "received packet with own address as source address" messages. They are only appearing on metrix-west and metrix-naya-sw. I think they are a consequence of having bridges on nodes in managed-mode. The master-mode node rebroadcasts frames sent via it, and bridging puts the interfaces in promiscuous mode, so the sender is hearing the rebroadcast. The messages are therefore, presumably, innocuous. --RussellSenior

November 10, 2005: RussellSenior rebooted metrix-commons and metrix-naya-sw to the new kernel, and magically, traffic started to flow between metrix-west and metrix-naya-sw for the first time. However, oddly, connectivity from buick (10.11.104.1) to metrix-west was still severely lossy. Log messages "received packet with own address as source address" are appearing on metrix-naya-sw's /var/log/messages. Some progress, but some bugs still need straightening out.

November 9, 2005: RussellSenior got into the basement and was able to recover metrix-west via ethernet. The problem had to do with modules not loading. Patched that problem in a somewhat kludgy way by adding "pre-up modprobe ath-pci" to the athN stanzas in /etc/network/interfaces. The ath-pci module should have loaded from /etc/modules, but wasn't for some reason. Applied the same fix to metrix-commons and metrix-naya-sw, but haven't rebooted them. Can ping metrix-commons from metrix-west, but not all the way to metrix-naya-sw. Hoping a reboot to the new kernel will correct that.

November 8, 2005: RussellSenior has copied a new kernel, modules and utilities for use with the madwifi-ng drivers over to metrix-west, metrix-commons, and metrix-naya-sw. The /boot/grub/menu.lst file is modified but still pointing at the 2.6.12.3-metrix kernel. Except in the case of metrix-west, which because it was already not connected, we decided to use it as a test case. It rebooted to 2.6.14-metrix (with the madwifi-ng drivers) and is associated with metrix-commons with a nice strong signal on 802.11a, but for some reason its network is not functioning. Same thing with the 802.11b/g radio, association and a nice strong signal from the street, but no network. It isn't pingable from either radio. Going to try to get inside to test from the ethernet tomorrow.

November 7, 2005: RussellSenior is hacking on a metrix image with a new kernel and madwifi-ng drivers, using the metrix we pulled off of Cecily's as a testbed.

October 28, 2005: CalebPhillips, RussellSenior, and MichaelWeinberg replaced the metrix on Cecily's rooftop and re-attached the equipment with real chimney mounting hardware. This node seems to be working just fine now, with good connectivity to Commons. However, currently there seems to be a problem with the switch at Naya that is preventing the network from handing out DHCP or access to the intarweb. The todo list below has the current todo.

Russell and I came back to fix the switch issue and found Buick DOA. We also replaced the switch with one Russell had on hand. Everything seems to work now...except, Cecily's cannot connect to anything past commons in the direction of naya. Specifically, it seems like clients of the commons 802.11a radio (with the omni) cannot see each other (naya-sw and metrix-west are both clients to commons). We are working on an explanation. At this point the network is entirely functional everywhere except metrix-west. - CalebPhillips

October 27, 2005: CalebPhillips and RussellSenior managed to get Ed's roof online. Without access to a ladder we had only one option to make progress, and that was to see if the apparently non-functioning metrix on Ed's roof was actually powered on and accessible from the ethernet. Ed graciously let us in to check. This possibility was suggested by Russell's experience with metrix-naya-sw, where the radios did not initially come up after a reboot. Turns out, the metrix was on. Russell was able to connect via the ethernet, and got a weak signal radio signal on 11g, roughly 7 dB SNR. So the problem wasn't a bad POE connection and it was not a failure to load ath_pci either. Caleb suggested that we might have the antennas backwards. Twice, trying to "ifdown ath0" and the "ifdown ath1" froze the metrix. Russell tried swapping ath0 and ath1 in /etc/network/interfaces, rebooted and bingo, 11b/g started working! SNR in the attic jumped to about 30. However, the 11a backhaul was weak. Pinging to Commons worked, but with about a 40% packet loss. Maybe need to repoint the antenna (isn't there a distance tweak for 11a having to do with an ACK timeout or something, but I thought it was for further than we're talking about here). Caleb and Russell retreated to FreshPot to report success and think. Russell, looking out the window at the backfire already pointing at Ed's from NAYA NW, realized there was a chance that Ed's radio might be able to hit NAYA NW, even though it wasn't pointed directly at it, because it was only 600 or so feet away instead of 1500 feet to Commons. Russell changed the metrix-naya-nw ath0 radio to ESSID backhaul-nw and master mode on channel 161 and turned it on, then walked up the block near Ed's, logged in via 802.11g and reconfigured its ath1 (connected to the 11a antenna) to backhaul-nw and rebooted. Bingo! SNR of about 30 dB. Kind of a chewing gum and bailing wire solution, but it is up and passing traffic. - RussellSenior

TODO

Access points

Location

Part of roof

Hardware

Interface/IP address

Int/Channel

Antenna

NAYA

SW corner

Metrix

br0(eth0,ath0,ath1)/10.11.104.2

ath0/165/client

17 dBi to Commons

ath1/11

9 dbi 120deg pointing S

NW corner

Metrix

br0(eth0,ath0,ath1)/10.11.104.3

ath0/161/master

17 dBi to Ed's

ath1/1

9 dbi 120deg pointing NW

SE corner

Cisco

BVI1(Dot11Radio0,FastEth0)/10.11.104.4

Dot11Radio0/11

9 dbi 120deg pointing E

Commons

SE corner

Metrix

br0(eth0,ath0,ath1)/10.11.104.5

ath0/165/AP

8 dBi 802.11a omni

ath1/11

7 dBi omni (w/down-tilt)

Cisco

BVI1(Dot11Radio0,FastEth0)/10.11.104.6

Dot11Radio0/1

9 dBi 120deg pointing SE

Cecily's

Chimney

Metrix

br0(eth0,ath0,ath1)/10.11.104.8

ath0/165/client

17 dBi to Commons

ath1/1

9 dBi omni

Ed's

Chimney

Metrix

br0(eth0,ath0,ath1)/10.11.104.9

ath1/161/client

17 dBi to NAYA NW

ath0/11

9 dBi omni

See ChannelFrequencyChart for reasoning about channels, and channel choices.

MAC addresses

buick

Interface

MAC

10.11.104.1

eth1

08:00:20:c5:9a:5c

metrix-naya-sw

Interface

MAC

10.11.104.2

ath0

00:02:6F:21:EC:AA

ath1

00:02:6F:21:EC:A5

eth0(br0)

00:00:24:C3:A9:C0

metrix-naya-nw

Interface

MAC

10.11.104.3

ath0

00:02:6F:21:EC:A8

ath1

00:02:6F:21:EC:A6

eth0(br0)

00:00:24:C3:A9:B4

metrix-commons

Interface

MAC

10.11.104.5

ath0

00:02:6F:21:EC:A9

ath1

00:02:6F:21:E9:49

eth0(br0)

00:00:24:C3:A9:A0

metrix-west

Interface

MAC

10.11.104.8

ath0

00:02:6F:21:EF:ED

ath1

00:02:6F:21:EF:F2

eth0(br0)

00:00:24:C3:E4:30

metrix-ed

Interface

MAC

10.11.104.9

ath0

00:02:6F:21:EF:F0

ath1

00:02:6F:21:EF:F1

eth0(br0)

00:00:24:C3:E4:1C

Firmware Image

The image for the Metrix boxen is at http://cornerstone.personaltelco.net/~brj/metrix-missnet.img It is setup with all 3 interfaces bridged, and br0 set to 10.11.104.5/22.

To flash:

Note: as of 2005-10-11 this process isn't working for me. The Metrix stalls during the PXELINUX stuff. I think it's probably just an issue with my setup but I've got it working fine using the documentation from Metrix. (- KeeganQuinn)

The way the Metrix website says to do it is actually better. When I was working on the metrixes, though, that documentation didn't exist, to my memory. The debian netboot was simply the easiest way I could find to get a shell netbooted. (- BenjaminJencks)

Can KeeganQuinn or BenjaminJencks please point at or reiterate the referred-to Metrix documentation here? --RussellSenior


[CategoryDocumentation]