Labels

Monday, September 23, 2024

State of the Network - September 2024

I haven't posted in a while so I thought I might get the blog up to speed.  I have been busily pushing things in the rack to an everyday state.  To do that I had an epihany about the connection between the living room manaaged switch (GS108Tv2) and the back bedroom managed switch (GS116Tv2).  It turns out that instead of using a Powerline adapter, I would be able to use a 35 foot flat Ethernet cable to accomplish the same thing.  So I obtained a flat Ethernet cable, ran it along the floorboard, through the balcony door, around the back of the balcony, through the bedroom door, and plugged into an extension Ethernet cable coming from the back bedroom managed switch.  In doing that, I managed to get the speedtest to triple on downlink (at times) and double the upload speed (at times) [201.9/237 Mbps].  I assume that this means I am approaching the 1Gbps speed between the two managed switches.  This also means that I am not susceptable to power fluctuations on the Ethernet line between the Powerline adapters.

I have also been busily rearranging the rack equipment to use the Netgear M4100-26 and Ubiquity Edgerouter-12.  The Netgear and Edgerouter have been changed to always power on when the rack has power.  This simplifies the overall structure of the rack and eliminates the need for using the two Edgerouter-X routers and another GS108Tv2 switch.  I can now power off those three components until I might need them again.  I left them plugged into the Ethernet patch panel on the bottom.  The only disadvantage is that the Netgear M4100-26 now runs hotter; but the fans at the top are putting out cold air which indicates that it is not as hot as I might assume in the rack; currently at 104 degrees F.

I am now trying to configure a monitor system that can gather statistics and send out commands to update, reboot, shutdown, etc. equipment in the rack.  I hope to continue to get closer to an automatic mode int he rack which will support experiments in the future.

Saturday, April 6, 2024

State of the Network - April 2024

Lately I have been working some electronics projects, genealogy, and really haven’t had time to really work on my HomeLab.  Sensing that I haven’t posted for some time I thought I might post about the HomeLabs current condition.  While I am working on the electronics projects most of the equipment is turned off.  In fact, I normally have only the Edgerouter-12 and the Netgear M4100-26g turned on since my laptop is pretty much permanently connected to the Server Admin vlan. So here are some bullit points  to explain where the HomeLab sits:
  • I now have a managed switch at the top of the rack to connect to the outside (powered on with the rack)
  • I have pushed the two Edgerouter-X routers and one managed switch into the back of the rack with their ports coming out to the front
  • I now have a 24 port patch panel that connects to some ports on the top 24 port patch panel, the two ER-Xs, the managed switch, and to the 5 input ports on the Proxmox server
  • I can now power the xPod, Monitor Network, Proxmox server, some specific rack RPis, and the ER-12/M4100-26g separately
  • The external managed switch behind the rack has been wired differently to accomodate the changes and additional experiments on the HomeLab table
  • I now have two LED strips on the front of the rack to illuminate the patch wiring
  • I also have two LED strips under my laptop holder on the HomeLab table to illuminate electronic circuits on the table
  • I have incorporated an UAP-AC-AD to output four specific vlan connections; one of which goes to my development vlan
These are items that I have changed but I still have items that I haven’t implemented yet. My thoughts about what I want keep changing as I come up with other ideas.  So here are some future items that I want to implement:
  • I recently obtained an Edgerouter-12P which will provide POE capability in the rack and beyond; I need to determine how I will use it
  • I also obtained a couple of UAP-AP-LR WAPs which I hope to use to form a wi-fi link to the back bedroom (I am unable to get an Ethernet cable pulled from the living room to my back bedroom) because the Power adapters only give me 130 Mbps throughput.
  • I hope to spin up two RPi Zero Ws at opposite ends of the Ethernet over power link to monitor failures
  • I hope to spin up a RPi 4B in the living room as a PiHole to be the definition of connections within my network
  • I hope to be able to use my SLATE router, connected to a 2.4 GHz wi-fi connection as a fall over from the FLINT router
  • I also hope to figure out how to integrate Midi into my HomeLab including a new Zynthian Synthisizer on an RPi 3B+

Friday, March 8, 2024

What is the makeup of my network and how would it fail?

 I can look at my network as being in three pieces: Front of Network (FON), Middle of Network (MON), and Back of Network (BON).  Really the breakup (and notes on failure) is as follows:

  • middle of network (MON): RPi1/SW118 -> AV2000 -> power wires -> AV2000 -> SW116/RPi2
    • power might go out; UPS would only last for a few minutes; how would this be logged?
    • power hicup might cause AV2000 to break connection and have to be reset - how would I know this?
  • front of network (FON): FLINT / SLATE / media equip.
    • FON might go down if FLINT / SLATE are not connected
    • possible that FLINT or SLATE might not be connected but other one is
    • moving some vlans for fall over to FLINT / SLATE might help
    • power might go out; UPS would only last for a few minutes
  • back of network (BON): Laptop / Rack / monitor / table experiments / printer
    • rack is on its own UPS; power failure should cause rack to turn itself off - how would this be logged?
    • Laptop is on same UPS as MON; but could remove and work independently, monitor would not be useful
I was also thinking that I might add a couple of RPis to the mix to complete some of the monitoring / logging / sensing functions:
  • RPi1: could be used to monitor FON and part of MON
    • would be in charge of logging and notification
    • could monitor network condition in living room
  • RPi2: could be used to monitor part of MON and BON
    • would be in charge of logging and notification
    • could monitor network condition in back bedroom

This seems like a reasonable approach to being able to increase my redundancy / monitoring as a necessary component of the network.

Project #32 - Setup Redundancy/Fallover in the Network

 I got to thinking about how my network is connected and realized that I don't have a way of reducing the outages or recording what has happened.  I have a project that was supposed to tell me the condition of the WiFi connections at any one time, but I don't use that information in any sense.  I also don't have a way for the front of the network to know what the back of the network is doing and vice versa. I don't have a graceful way to shut things down if the network fails from some external problem (mainly power outages which happen from time to time here).  WiFi outages also happen from time to time but they are less important since the backend of my network is mainly for hobby purposes.

Fallover is not apparent in the current setup of my network.  Is that important to me?  It depends on what I am doing at the moment.  If I am wood carving, not at all.  If I am working on an electronic circuit, also not important.  But if I am online how do I keep online without a problem.  I could switch from one network type to another, but is that efficient?  So a number of questions come to mind:

  • first of all, what is missing from my network?
  • how would the front fail as opposed to the middle and back?
  • if the front goes down, how would I know?
  • if the middle goes down how would I know?
  • does it matter if the back is completely off?
  • how can I keep my laptop in the back always available?
  • is there a fall over that I can count on?
  • can I log what is happening with the network? where?
  • how does WiFi from other apartments into bedroom play into this?
  • how do I detect how good of a connection I have?
  • can I separate out living room from back bedroom?
  • would it be profitable to switch AV2000s with a WiFi mesh connnection?
  • could the AP-HD be used in a WiFi mesh configuration?


Saturday, January 6, 2024

An Alternative Setup for the WWD RPi

I have found an alternative item to use as the basis for the Web Weather Display (WWD).  I found some code for a Weatherflow PiConsole that uses information from my Tempest to display current conditions.  Chief URLs are as follows:

I am proposing to use this code as a starting place for the WWD and then work out the mechanism for a web display later.  In this way I can get something up quickly without a lot of fuss.  I will probably use one of the RPis in my rack as the unit.

Tuesday, November 28, 2023

I have now moved the Experiment Pod to my HomeLab rack

 I decided to drop my participation in the community sub-committee and focus on other things.  In so doing, I have moved the Experiment Pod to the HomeLab rack.  I decided to change out the rack and put the entire Experiment Pod panel into the rack as well as an Edgerouter-X to give the ExPod vlan a dhcp source and isolate it from the rest of the network.  The unmanaged 8 port switch is there as well to connect to each of the ExPod RPis.

In addition, I have added a managed switch (GS108Tv3) to offload the number of connections to the key managed switch outside of the HomeLab rack.

Monday, November 27, 2023

I have re-arranged the HomeLab rack to allow for four different systems

 I decided to change out the HomeLab rack and concentrate on four sub-systems: (1) Experiment Pod; (2) Proxmox; (3) Edgerouter-12/M4100-26g; and (4) Monitor sub-system.  Each one of these sub-systems can now be independently booted up and used.

I added a GS108Tv3 managed switch to the top of the rack so that I could change out the cables going from the HomeLab rack to only need one connection to the external GS108Tv2 switch behind the rack.  This frees up some of the ports on that switch to be used for experiments on the table.  The ExPod is now behind an Edgerouter-X connected to that top switch, with all components able to be turned off at the same time from a single switch on the power switch panel.  The Proxmox server is also connected to that top switch for all of its external ports and is powered through a single switch on the power switch panel.  The Edgerouter-12/M4100-26g combination is powered down from a single switch on the same power switch panel; external connections go through the top switch.  The monitor sub-system is also turned on and off through a single switch on the power switch panel and is behind an Edgerouter-X connected to the top switch.

I also added an RGB led lighting on the sides of the HomeLab rack.

Issue: the vlans for server admin and servers still require the Edgerouter-12 to be running since the DHCP servers are on that device.  This will need to be dealt with int the future.