, ,

#4 Building the Network

The network really started with the computers themselves. I purchased the first eight machines as e-waste, and while they had reached the end of their usefulness to whoever owned them before me, I knew there was still plenty of life left in them. They were inexpensive, capable machines that could be repurposed into something much more useful, but getting them there was going to take some work.

Before I could even think about building a cluster, I had to get all eight machines ready. They were wiped and cleaned up, the memory was upgraded to 32 GB, BIOS settings had to be configured, and fresh operating systems needed to be installed. I was starting with used machines that had no idea they were about to become part of something much larger, and the first real challenge was getting them to the point where all eight could reliably communicate with one another.

Eight Computers, Eight Ports

Once the machines were ready, I needed a network to connect them, and at the time my first decision made perfect sense. I had eight computers, so I bought an eight-port 2.5GbE switch. Eight computers and eight ports seemed like a perfect match, although I would eventually learn that designing a network with exactly enough ports for the computers sitting in front of me did not leave much room for what might come next.

For the cabling, I decided to use braided Cat 8 Ethernet cables throughout the network. I certainly did not need Cat 8, because Cat 6 would have easily handled everything I was doing, but strangely enough the Cat 8 cables were less expensive at the time. They also gave me considerably more capacity than I needed, and I liked the look of the braided cables. With eight computers, power cables, network cables, and everything else sitting together, I wanted the finished setup to look intentional rather than like a pile of computers and wires thrown into a corner.

The switch itself supported 2.5GbE across all eight Ethernet ports and also provided two 10Gb SFP+ ports, which gave me a good foundation to start building the network. There was, however, one fairly obvious limitation that I had not solved yet: although the switch was capable of 2.5Gb networking, the built-in Ethernet ports on the computers were only capable of 1Gb.

Moving the Nodes From 1Gb to 2.5Gb

Replacing perfectly usable computers simply because their network interfaces were limited to 1Gb made absolutely no sense, especially since the entire purpose behind this project was to take hardware that still had something to offer and find a new use for it. Instead, I started looking for a way to upgrade the network connections and eventually settled on USB 3.0-to-2.5GbE Ethernet adapters.

I did not immediately buy enough adapters for every machine because I wanted to make sure they would actually work before spending the money to upgrade the entire cluster. I ordered the first three adapters as a test, with the plan being that if I could get those three machines communicating reliably at 2.5Gb, I would have a proven path forward for the other nodes. Once those first three were installed and working correctly, I knew the idea was going to work and ordered another six.

Finding the adapters was not as easy as I expected, and the additional units ultimately had to come from China. I expected that to mean a fairly long wait before I could continue the upgrade, but they ended up arriving much earlier than expected. What had originally been a gradual plan to move the cluster from 1Gb to 2.5Gb suddenly became something I could start completing across the rest of the machines.

The physical part of changing the adapters was relatively simple, but the networking side turned out to require considerably more thought. Each Ethernet interface has its own MAC address, which meant that when I moved a computer from the built-in 1Gb NIC to the new USB 2.5Gb adapter, my router saw it as a completely different network interface. The router reservations I had created were associated with the original adapters, and I wanted the nodes to keep the same IP addresses instead of suddenly moving somewhere else on the network.

That meant the upgrade needed to be handled carefully, one machine at a time. I could move a node to the new adapter, change the corresponding reservation on the router, confirm that the machine returned at the address where everything expected to find it, and then move on to the next machine. It took a little longer than simply plugging in eight adapters and moving some cables, but by this point these were no longer eight independent computers sitting on the same network; they were becoming parts of a larger system, and changing something on one machine could affect considerably more than just that machine.

This was also one of the moments when I realized that what I was building had started to change. In the beginning, I was buying used computers, adding memory, installing operating systems, and connecting everything together. Somewhere along the way, I had stopped simply working on a collection of computers and started building actual infrastructure.

From 1Gb Internet to 8Gb

While I was upgrading the internal network, I was also making a major change to the Internet connection feeding it. I moved from AT&T’s 1Gb fiber service to Ezee Fiber’s 8Gb fiber service, which was a substantial increase in the amount of bandwidth available to both my home network and the cluster.

The new service also became part of the larger home network I was building around the eero equipment, including access to 10Gb and 2.5Gb connections. Considering that I had started with machines communicating through their built-in 1Gb Ethernet interfaces, there was suddenly an enormous amount of network capacity available around them, and upgrading the individual nodes to 2.5Gb became even more worthwhile.

The Internet upgrade also came with a surprise that I had not anticipated. I expected the new fiber service to provide the type of public IP arrangement I was accustomed to, particularly since part of my plan involved eventually making services hosted inside the cluster available publicly. That turned out not to be the case, and the way the service handled addressing meant that getting traffic from the public Internet into Madikat was not going to work the way I had originally planned.

That particular problem eventually led me to Cloudflare Tunnel, which became another major piece of the Madikat infrastructure and deserves its own part of this story. At this stage, though, it taught me an important lesson about the difference between having a very fast Internet connection and actually being able to host public services from behind it. The 8Gb connection solved the bandwidth problem beautifully, but I still needed another solution for reaching the services I was building inside the cluster.

Then I Found Twelve More

At some point during all of this, I came across an even better deal on twelve more e-waste computers. I had originally started this project with eight machines because that was what I had found and what I could reasonably build around, but suddenly I owned twenty machines capable of eventually becoming part of the project.

The additional computers changed the way I had to think about the network because my original eight-port switch had done exactly what I purchased it to do: it connected eight computers. There was nothing wrong with the switch, and there was nothing wrong with the original decision based on what I knew at the time, but I had built a network with absolutely no room for expansion.

I could have added another small switch and continued building around that limitation, but by this point I had already learned enough from the first eight machines to know that I did not want to keep solving every expansion problem with another temporary solution. I was not ready to bring all twelve additional machines online at once, but I knew that the network needed enough capacity to allow the cluster to grow when I was ready.

A Christmas Upgrade From Katiebear

That is where my daughter, Katiebear, comes into this part of the story. For Christmas, she is giving me a 24-port 2.5GbE switch, and I want to specifically thank her because this is one of those upgrades that is going to move the entire project forward rather than simply replace a piece of equipment that stopped working.

Thank you, Katiebear. I love you very much, and while a 24-port network switch might not be what most fathers ask their daughters for at Christmas, you are giving me something that will become an important part of what I am building. Every time I look at that switch sitting in the network, I will know exactly where it came from and who helped me take this project into its next stage.

Once the new switch arrives, I will begin moving the existing eight-node network from the current eight-port switch onto the 24-port switch. I am not going to rush that process because the existing cluster needs to remain stable while I make the transition, but once those eight machines are successfully moved over, I can begin bringing another five computers online and grow the active cluster from eight nodes to thirteen.

More importantly, the new switch gives me something I did not give myself when I designed the original network: room to grow. Instead of building around exactly the number of machines I have connected today, I will finally have the physical network capacity to expand the cluster without immediately having to redesign the network again.

Building the Network I Actually Need

Looking back, there was never a finished blueprint sitting beside me when I started this project, and I think that is an important part of telling this story honestly. I bought eight e-waste computers because I saw capable hardware that still had plenty of life left in it, upgraded the memory to 32 GB, wiped the machines, configured them, and began turning them into something completely different from what they had been before.

I bought an eight-port switch because I had eight computers, started with 1Gb networking because that was what the machines natively supported, and then found a practical way to move them to 2.5Gb without replacing hardware that was otherwise doing exactly what I needed. I bought the first three USB adapters to prove the idea would work before committing to the rest, ordered six more from China once I knew it would, and learned along the way that something as simple as changing a network adapter could also mean dealing with MAC addresses, IP reservations, and all of the other systems that expected those machines to remain exactly where I had put them.

The Internet connection followed much the same path. I moved from 1Gb fiber to 8Gb fiber because the project was growing, only to discover that additional bandwidth did not automatically solve the problem of making Madikat publicly accessible. Solving that problem would eventually bring Cloudflare into the picture and lead to another stage of the network that I had never considered when I connected those first eight machines together.

Then I found twelve more computers at an even better price, and the eight-port network I had originally built suddenly looked considerably smaller than it had when this all started. With the first eight machines being moved to 2.5Gb networking, Katiebear’s 24-port switch coming for Christmas, and five more computers waiting to become the next additions to the cluster, the physical network is beginning to catch up with what this project has grown into.

There is something I particularly like about the fact that all of this started with machines that had been classified as e-waste. Someone else had already decided that their useful life was over, but I looked at them and saw computers that could still do something valuable. The first eight became the foundation of Madikat, twelve more are waiting for their opportunity to contribute, and the network connecting them is continuing to grow right along with the project.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *