wiki:switches

Version 19 (modified by Daniel Kahn gillmor, 21 years ago) ( diff )

--

CAL Switches

CAL has 6 switches, located across the 10th, 12th, 13th, and 14th floors. They are:

  • halley
  • tempel1
  • hale-bopp
  • hyakutake
  • wild2
  • shoemaker-levy9

They are all ​netgear GS724Tv2 24-port switches. (See note on 'v2' below.) halley's Serial number is 16B2584H00B18.

The switches' administrative interfaces should only be accessed from squeak, wombat, canada, phobos, or neptune.

We used to have three ​netgear GS748T 48-port switches. Their serial numbers were: 14145B3R0000B (14th floor), 14145931001E3 (13th floor), 14145936001E8 (10th floor).

both of these models of switch are IP-addressable, and have a web interface to view/configure them.

however, the 48-port switches seem to be a bit buggy. They're all running firmware V1.3.0_0606, which netgear claims to be the latest version of their firmware. Problems include:

  • the switch becomes unresponsive on its IP interface after some period of time running. in a recent test, fernando and dkg reset all the switches at around 18:10 on 2006-01-24, and around 20:30, they all stopped responding to pings.
  • their web interface does not speak valid HTTP, even version 1.0. there are no server response codes at all, the configuration page is just dumped directly into the bytestream. If you have netcat (nc) installed, and $SWITCH is the IP address of one of these switches, try the following to emulate an extremely simple http connection:
     echo "GET /" | nc $SWITCH 80
    

Note, of course, that if the switch has already failed, you'll get no output at all.

compare the above command when connecting to a known-good web server (or even to a GS724T) if you want to see valid HTTP response. Here's what i see:

[dkg@squeak ~]$  echo -e "GET /" | nc $GS724T 80
HTTP/1.0 200 OK
Content-type: text/html

<HTML>
<HEAD>
<TITLE>NETGEAR Web Smart Switch</TITLE>
</HEAD>
<FRAMESET frameBorder=no frameSpacing=0 rows=109,*>
    <FRAME name=top scrolling=no src=/top.html>
    <FRAMESET cols=210,* frameBorder=no frameSpacing=0>
        <FRAME name=left src=/left.html>
        <FRAME name=main src=/cgi/device>
    </FRAMESET>
</FRAMESET>
</HTML>
[dkg@squeak ~]$  echo -e "GET /" | nc $GS748T 80
<html>
<title>NETGEAR Web Smart Switch</title>
<frameset rows='109,*' framespacing=0 frameborder=no>
 <frame name=top src=top.htm scrolling=no>
 <frameset cols='210,*' framespacing=0 frameborder=no>
  <frame name=left src=left.htm noresize>
  <frame name=main src=cgi_login noresize>
 </frameset>
</frameset>
</html>[dkg@squeak ~]$

The former response is a valid http response. the latter is not. however, when analyzing the behavior of many HTTP servers, the latter style of response is actually very common (especially to the extremely crude, unversioned example HTTP request). i'm no longer sure that this http mis-speech is a major bug, but it certainly seems sloppy.

if you are not comfortable with netcat, you can use telnet to perform similar testing (though you'll have to do it interactively instead of piping in echo, since telnet will close the session on termination of stdin).

During the times when the switch is no longer responding to its IP address, it also stops responding to whatever queries are used by the "smartwizard" autodiscovery agent shipped for windows (their tech suggested that they might be using NetBIOS discovery, but i haven't bothered to sniff that traffic yet).

fortunately, the switch continues to pass regular traffic in this situation. However, plugging a computer into a previously-unused port on the switch once it is in this moribund state leaves the new machine unable to acquire a DHCP address. Haven't tried using a statically-configured IP address on such a dead port yet. perhaps the switch's internal arp cache is no longer being updated?

Note on 'v2': the 24-port switch is a GS724Tv2 - you can only find out about the v2 if you look at the label at the bottom of the switch - it's not printed on the front plate! The version of firmware it seems to be running is V1.0.0_0429. This is not even mentioned in the page for ​updates on this switch - rather, they have V1.01. And yet, it seems to be working... (though since all the 48-port switches go through it, could this be a pyrrhic victory of sorts?).

As for the 48-port switch, the ​updates are here. And we appear to have the latest firmware, V1.3.0_0606. Here the question is whether a downgrade might be of use?

network diagram

here's a rough ASCII-art diagram of the current network topology (subject to change):

     CUITa upstream   CUITb upstream
            |          |
            |          |
            |          |
(100Mbit) PHYS9       CUIT11 (Gbit)
            |          |<--- new line
            X         CAL10
 old line-> |          |
  (gone)    ----------CAL12
                       /\
                      /  \
                  CAL13  CAL14

At the moment, the "old line" is not present, but the "new line" is. i think it's also possible that the CUITa upstream and the CUITb upstream connections are both actually the same place.

fernando reset the switches at 2006-01-25 11:30, and the 10th and 14th floor switches just died within a minute of each other around 22:10 the same day.

Note: See TracWiki for help on using the wiki.