Figure 1 : play-pen rack
The play-pen rack came about from the recent building reorganisation i.e. the Maths department moving in. This forced the department to have a hard look at space, or the lack of it, soooo as a result we had a clear out. In the process of tidying i found an old 19-inch server rack and a collection of old switches. These are really old, 100Mbit old :). However, in many respects age and speed does not matter if you are a student trying to learn how to build and configure a network. What you need is time and equipment you can have a play with e.g. layer-3 switches, routers and PCs. This gives students the chance to develop that CV with this knowledge etc, hence the play-pen.
In SYS2 (NET) students use a dumb layer-2 switch. A layer-3 switch is a switch with a little bit of router mixed into its DNA. Like any switch their primary function is to connect hosts together i.e. to create your Local Area Network (LAN). However, in larger networks its useful if some of our switches can do a bit of routing, that can support more advanced functionality VLANs etc. Larger networks can be considered to be made up of three layers as shown in figure 2. These networks will typical contain:

Figure 2 : network hierarchy
Sooo, i managed to find seven HP switches: 1 x ProCurve 2610-24, 4 x ProCurve 2524, 1 x ProCurve 4104gl and 1 x ProCurve 4108gl. Then someone donated some Cisco switches and routers: 1 x Cisco 1721 router, 1 x Catalyst 2950 switch and 2 x Catalyst 2960 switches. Note, there are also other donated routers and switches (available in side cupboards), but these were the only ones i could fit into the rack, as shown in figure 3.

Figure 3 : network switches + router
In addition to these switches there are also two PCs to act hosts on this network: playpen-1 and playpen-2. Alternatively, this rack can be connected to the SYS2 network and accessed from the lab's PCs, but be careful multiple admins, updating this equipment at the same time is perhaps not the best idea. However, if the worst does happen and things stop working, don't worry you are only a power cycle or a factory reset away from a fix :). The name of each switch and PC is shown in figure 4. Confess, do need to find the manual to figure out what the buttons do on the KVM i.e. what buttons select between PC playpen-1 (Q3 buttons) and PC playpen-2 (Q2 buttons), at the moment i'm randomly pressing buttons until it works :). The keyboard is an old PS2 keyboard with integrated roller-ball as the "mouse", works ok, as typically you will only be using the PC to run terminals.


Figure 4 : PCs, KVM and keyboard
Each switch and router also has a name as shown in figure 5. Unlike the "dumb" layer-2 switches used in the Pi-systems, these switches are managed switches i.e. layer-3 switches, each having an IP address so that the network admin can remotely manage these devices, or monitor network traffic etc. The Cisco router has multiple IP addresses as it is used to route packets between VLANs, as we shall see in a later example. The PC also have multiple IP addresses as they have multiple NICs. Playpen-1 has one on-motherboard NIC and five USB-2-Ethernet adapters. Playpen-2 has two on-motherboard NICs.
Note, still messing around setup PC playpen machines.
PC-Playpen-1 : 192.168.200.1 eth0
10.0.10.2
10.0.20.2
10.0.30.2
10.0.40.2
10.0.50.2
PC-Playpen-1 : 192.168.200.2 eno1
10.0.0.1 enp3S0
HP-Switch-1 : 192.168.200.3
HP-Switch-2 : 192.168.200.4
HP-Switch-3 : 192.168.200.5
HP-Switch-4 : 192.168.200.6
HP-Switch-5 : 192.168.200.7
HP-Switch-6 : 192.168.200.8
HP-Switch-7 : 192.168.200.9
Cisco-Router-1 : 10.0.10.1 10.0.20.1 10.0.30.1 10.0.40.1 10.0.50.1
Cisco-Switch-1 : 10.0.0.4
Cisco-Switch-2 : 10.0.0.5
Cisco-Switch-3 : 10.0.0.6

Figure 5 : Switches and router
To save some energy/money, to be a little more Green and save some turtles, these switches are turned off when not in use. When you want to have a play with these PCs/routers/switches you will mostly likely need to switch them on. This is done using the big red switches at the back of the rack, as shown in figure 6. When finished just turn off the router and switches, no need to shut them down, but prob best to shutdown the PCs before you turn these off, as they have old mechanical HDD.
Figure 6 : Power switches
For more information on these switches and router see below:
Unlike the networks we have seen in the lab, a real-world network needs to consider reliability, availability and bandwidth issues. Therefore, in these types of network you will typically see redundant network devices and connections. Now, if any network device, or cable should fail, the network can still connect to a network resource via a redundant path. In addition to this a real-world network may need to duplicated network connections to meet bandwidth requirements. Link aggregation protocols can be used to split network traffic across multiple connections e.g. ten 1Gbps links can be combined to form a virtual 10Gbps link. Note, this type of functionality is not supported on our simple layer-2 switch used in your Pi base system, we need a layer-3 switch :).
To remotely mange one of these switches you can use the PC in the play-pen, shown in figure 4. Username: student, as always in SYS2 there are only two passwords :). Alternatively, connect your Pi base system to the lab network using the GREEN network cable open a terminal and run the command below:
telnet 192.168.200.3 username: admin password: you_know_the_password
This will connect you to HP-Switch-1 i.e. a HP ProCurve_2610. You will first see a welcome screen telling you what type of switch you are trying to access. Press and key, you will then be prompted for a password. When logged in you will see an operator prompt: "HP_Switch-1 >", this will vary depending on the switch accessed, but the key point to note is the ">" symbol this indicates you are running an operator terminal i.e. you can can not modify the switches configuration in this mode. Press the "?" key, this will list the commands you can run, as shown in figure 7. Remember is that this is not a terminal, you can not run Linux type commands, rather:
? Lists command you can run.
<command> ? Lists the parameters you can enter for the selected command.
<TAB> Pressing TAB does the same i.e. lists options / auto-complete.
/ Return to the root i.e. top, directory.
/<directory> Change directory i.e. each directory contains different commands / files
show <file> Display contents of file in a directory e.g. show mac-address.
Note, on some routers/switches use print
WORK IN PROGRESS : NEED TO FINISH
You can access all the switches functionality via this command line interface, however, I do confess I always forget the syntax, therefore, I tend to cheat and use the menu option. At the command prompt enter: menu, you will now be able to access the menu screen as shown in figure 7.
Figure 7 : CLI commands (top) or menu (bottom)
To get you started on your journey to becoming a network engineer a couple of tasks for you to do:
Task : select option 1 from this menu i.e. "Status and Counters", from this menu can you identify what ports use copper or fibre cables i.e. can you identify the Ethernet standard used by each port? Some useful links:
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Contact email: mike@simplecpudesign.com