Differences between revisions 2 and 22 (spanning 20 versions)
Revision 2 as of 2013-01-05 22:33:48
Size: 1316
Editor: fungi
Comment:
Revision 22 as of 2013-01-05 23:54:50
Size: 4279
Editor: fungi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Notes on the core switch build and configuration... This documents details of how the core switching infrastructure is built, in case it needs to be redone in the future.
Line 3: Line 3:
 * Cisco/Linksys E4200 v1 <<TableOfContents>>

= Highlights =

Some random notes on the core switch build and configuration...

 * [[http://www.dd-wrt.com/wiki/index.php/Linksys_E4200|Cisco/Linksys E4200 v1]]
Line 6: Line 12:
 * DD-WRT standard
Line 9: Line 14:
 * [[http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486|DD-WRT standard]]
 * [[http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86919&postdays=0&postorder=asc&start=60|custom switch driver to allow 802.1q VLAN tag remapping]]
 * with modern Iceweasel/Firefox use ''Web Developer -> Get More Tools'' and install the ''Web Developer Extension'', then after restarting use ''Web Developer Extension -> Miscellaneous -> Clear Private Data -> Clear HTTP Authentication'' to clear HTTP Basic Auth credentials after changing DD-WRT management passwords (otherwise any attempts to Save/Apply changes just go to a failure error or blank page)
Line 10: Line 18:
 #. perform 30/30/30 reset
 #. connect as 192.168.1.2/30 to [[http://192.168.1.1/|its WebUI]] through any LAN port
 #. initial login is root/admin
 #. upgrade flash with [[http://dd-wrt.com/dd-wrtv2/downloads/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_mini-e4200.bin|dd-wrt.v24-18777_NEWD-2_K2.6_mini-e4200.bin]]
 #. wait an additional five minutes for good measure
 #. perform 30/30/30 reset
 #. confirm [[http://192.168.1.1/|password reset page]] is displayed
 #. upgrade flash with [[http://dd-wrt.com/dd-wrtv2/downloads/others/eko/BrainSlayer-V24-preSP2/2013/01-01-2013-r20453/broadcom_K26/dd-wrt.v24-20453_NEWD-2_K2.6_std_usb_nas-nv60k.bin|dd-wrt.v24-20453_NEWD-2_K2.6_std_usb_nas-nv60k.bin]]
 #. wait an additional five minutes for good measure
 #. perform 30/30/30 reset
 #. wait an additional five minutes for good measure
 #. confirm [[http://192.168.1.1/|password reset page]] is displayed and correct firmware load shows in the top-right corner
 #. set password
 #. disable both radios
= Firmware Installation =

First perform these steps on each device to get the hardware up on the current DD-WRT firmware with desired features...

 1. perform a [[http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30|30/30/30 hard reset]] to make sure it's at factory defaults (note this is using the recessed red ''reset'' button, not the protruding blue one for WDS)
 1. set your machine's wired network interface to a static address of 192.168.1.2/255.255.255.252
 1. connect to the [[http://192.168.1.1/|management WebUI]] through any LAN port (initial login is a username of ''root'' with the password ''admin'')
 1. upgrade the flash with a trailed E4200 mini build like [[http://dd-wrt.com/dd-wrtv2/downloads/others/eko/BrainSlayer-V24-preSP2/2012/03-19-12-r18777/broadcom_K26/dd-wrt.v24-18777_NEWD-2_K2.6_mini-e4200.bin|dd-wrt.v24-18777_NEWD-2_K2.6_mini-e4200.bin]] (the Cisco/Linksys firmware updater looks for special headers, so this is the first in a two-stage load)
 1. wait five minutes to make sure everything's booted and written to NVRAM (now is a good time to grab a beer)
 1. perform another [[http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30|30/30/30]] to make sure any configuration artifacts are reset to the defaults for this build
 1. confirm the [[http://192.168.1.1/|DD-WRT password reset page]] is displayed
 1. set root/admin as the new login (yes, I know that's the same as the old login)
 1. [[http://192.168.1.1/backup/cfe.bin|backup the CFE]] as ''routername_cfe.bin'' (it embeds the original interface MAC so you want one archived for each device) and stash it somewhere for long term safekeeping, see [[http://www.dd-wrt.com/wiki/index.php/CFE_backup|here]] for details)
 1. upgrade flash with a more featureful NV60K build like [[http://dd-wrt.com/dd-wrtv2/downloads/others/eko/BrainSlayer-V24-preSP2/2013/01-01-2013-r20453/broadcom_K26/dd-wrt.v24-20453_NEWD-2_K2.6_std_usb_nas-nv60k.bin|dd-wrt.v24-20453_NEWD-2_K2.6_std_usb_nas-nv60k.bin]] (this adds IPv6 and SNMP support, which we'll want)
 1. wait an additional five minutes (and grab another beer if you like)
 1. perform yet another [[http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30|30/30/30]]
 1. wait five more minutes (another beer... why not?)
 1. confirm [[http://192.168.1.1/|password reset page]] is displayed and ''Firmware: DD-WRT v24-sp2 (12/31/12) std-usb-nas'' shows in the top-right corner
 1. set root/admin as the new login (we'll change it to something safe last thing)
 1. celebrate with beer

= Initial Configuration =

After sobering up, set these basic configuration options which deviate from the factory default configuration settings, as organized in the DD-WRT !WebUI!...

 * '''Setup'''
  * '''Basic Setup'''
   * '''WAN Setup'''
    * '''WAN Connection Type'''
     * '''Connection Type:''' Disabled
    * '''Optional Settings'''
     * '''Router Name:''' ''(enter the short hostname)''
     * '''Hostname:''' ''(reenter the short hostname)''
     * '''Domain Name:''' ''yuggoth.org''
     * '''STP:''' Enable
   * '''Network Setup'''
    * '''WAN Port'''
     * '''Assign WAN Port to Switch:''' Yes

This documents details of how the core switching infrastructure is built, in case it needs to be redone in the future.

Highlights

Some random notes on the core switch build and configuration...

  • Cisco/Linksys E4200 v1

  • two for redundant operation
  • a third as a cold spare
  • higher-capacity power supplies
  • heatsinks and thermal adhesive for switch chips
  • DD-WRT standard

  • custom switch driver to allow 802.1q VLAN tag remapping

  • with modern Iceweasel/Firefox use Web Developer -> Get More Tools and install the Web Developer Extension, then after restarting use Web Developer Extension -> Miscellaneous -> Clear Private Data -> Clear HTTP Authentication to clear HTTP Basic Auth credentials after changing DD-WRT management passwords (otherwise any attempts to Save/Apply changes just go to a failure error or blank page)

Firmware Installation

First perform these steps on each device to get the hardware up on the current DD-WRT firmware with desired features...

  1. perform a 30/30/30 hard reset to make sure it's at factory defaults (note this is using the recessed red reset button, not the protruding blue one for WDS)

  2. set your machine's wired network interface to a static address of 192.168.1.2/255.255.255.252
  3. connect to the management WebUI through any LAN port (initial login is a username of root with the password admin)

  4. upgrade the flash with a trailed E4200 mini build like dd-wrt.v24-18777_NEWD-2_K2.6_mini-e4200.bin (the Cisco/Linksys firmware updater looks for special headers, so this is the first in a two-stage load)

  5. wait five minutes to make sure everything's booted and written to NVRAM (now is a good time to grab a beer)
  6. perform another 30/30/30 to make sure any configuration artifacts are reset to the defaults for this build

  7. confirm the DD-WRT password reset page is displayed

  8. set root/admin as the new login (yes, I know that's the same as the old login)
  9. backup the CFE as routername_cfe.bin (it embeds the original interface MAC so you want one archived for each device) and stash it somewhere for long term safekeeping, see here for details)

  10. upgrade flash with a more featureful NV60K build like dd-wrt.v24-20453_NEWD-2_K2.6_std_usb_nas-nv60k.bin (this adds IPv6 and SNMP support, which we'll want)

  11. wait an additional five minutes (and grab another beer if you like)
  12. perform yet another 30/30/30

  13. wait five more minutes (another beer... why not?)
  14. confirm password reset page is displayed and Firmware: DD-WRT v24-sp2 (12/31/12) std-usb-nas shows in the top-right corner

  15. set root/admin as the new login (we'll change it to something safe last thing)
  16. celebrate with beer

Initial Configuration

After sobering up, set these basic configuration options which deviate from the factory default configuration settings, as organized in the DD-WRT !WebUI!...

  • Setup

    • Basic Setup

      • WAN Setup

        • WAN Connection Type

          • Connection Type: Disabled

        • Optional Settings

          • Router Name: (enter the short hostname)

          • Hostname: (reenter the short hostname)

          • Domain Name: yuggoth.org

          • STP: Enable

      • Network Setup

        • WAN Port

          • Assign WAN Port to Switch: Yes

CCL: Configuration/CoreSwitching (last edited 2014-08-31 23:32:39 by fungi)

CC0 To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to it.