Tiernan's Comms Closet

Geek, Programmer, Photographer, network egineer…

Day 42 of #100daysofhomelab

Day 42 of and I spent way too many hours last night messing with MAAS. It all started with a Techno Tim Video I posted back on Day 25. I started messing with it last night around 11 pm or so, and then I realized it was 4 AM this morning… So, link drop for today:

Day 41 of #100daysofhomelab

Going to be a very quick update here. Things are a little more stable at the moment. I figured out why my FTTH connection was acting up… the VM I moved it too had the default free 1Mb/s license for RouterOS… After moving my unlimited CHR license over, things have gotten better. screenshots over on my mastodon instance:

So, today, not doing much other than monitoring… I am taking a day of rest and will be back tomorrow…

Day 40 of #100daysofhomelab

Day 40 of #100daysofhomelab and the internet is a little more stable… Still not 100%, but “stable”.  Speed test results have dropped, as you can see in the graph below, but weirdly, ping times are a little better…

UntitledImage

Download speeds. The swap over happened around the 8th Feb, 9th was pretty much a wash, 10th things got a bit better…

UntitledImage

Upload Speeds. less spikey upload speeds, but also less upload speed…

UntitledImage

ping times went from around 38-40ms to around 28-30ms… 

I currently have Observium watching the traffic on the routers, and all logs are being written to an ELK stack. Not correctly (links below on how it *should* work, but I don’t have it fully working… yet) but they are being logged nonetheless.

 

Day 38 and 39 of #100daysofhomelab

this post is for day 38 and 39 of #100daysofhomelab… and i have finally moved over to my #RB5009… and, well, it has not gone so well… It has rebooted a few times due to memory issues (too many BGP tables being held, so I shut a few down to start with… some cleanup needed there), then the internet connections are a little unstable, and, well, in the last 48 hours, I have spent more time on LTE than on proper internet… It does seem to be working (ish…) now, but not as fast as it was. I am just using the #Zerotier link, so the #Wireguard links are currently off… Anyway, below are some links… I hope to make things work better tomorrow… And i also hope to have a better write up soon too…

UntitledImage

Day 36 of #100daysofhomelab

Day 36 of #100daysofhomelab and after yesterday’s post about RAID 10 on my external array, I found ZFS on OSX, and well, now I have a ZFS RAIDZ pool setup. It is showing as around 28.8Tb usable space, and so far, so good. 

UntitledImage

Other than that, I have been looking into Ubuntu Landscape to monitor my Ubuntu fleet of machines. If you host it in-house, you get 10 machines for free, so hopefully, that’s enough for me to start with… I am working on getting it running on 22.04, using these beta install steps. RB5009 install is still pending… keep hitting stupid blocks stopping me from doing it, but hopefully this week… 

Day 35 of #100daysofhomelab

Day 35 of and I have been trying to clean up some stuff for my Mac Book Pro. I have an external enclosure from Yottamaster that has 5 3.5” bays and connects via USB C (USB 3.1). I got 5 8TB Seagate IronWolf drives in there. Currently, I have it set up as RAID 10 with 16Tb usable, which is named Archive, with 1 extra drive non-protected 8Tb drive. The details on setting up RAID 10 on MacOS is in the links section. I was looking at using RAID 5 for the archive pool, but the only option that seems to be available is SoftRAID but it’s USD250 for a license unless you have an OWC enclosure… Given the enclosure cost me that much in the first place, I think I will keep with RAID 10 for the while… RAID 5 would, potentially, give me 32Tb usable on my Archive, but 250 is a bit steep… for now…

IMG 1794

I also have a Sabrent USB 3.0 4 Bay 2.5” enclosure with 4 500Gb Samsung SSDs, named SCRATCH. This is in RAID 0 (I know, I know, if one drive goes MIA, all data is lost… That’s why this is a TEMP folder! It’s backed up to the Archive and also to BackBlaze). This is mostly stuff that is downloaded, and Video work that, when completed, is moved to the Archive Folder. Anyway, files are currently moving, so I will leave that as is.

On an update for the RB5009, It was originally planned for today, but the daddy found a TV show on Netflix, so it will have to be done either this evening or tomorrow morning… We will see… Anyway, some links:

Day 34 of #100daysofhomelab

Day 34 of #100daysofhomelab and I have realized I missed yesterday and also duplicated day 16… (facepalm). So, it’s day 34, I think…

Still working on the RB5009 upgrade. I am “technically” on holiday for the long weekend here in Ireland, so I have been out of the homelab more than I have been in. I need to move stuff around before I can swap in the RB5009, including changes to my VoIP setup (or at least wait till e everyone is asleep and won’t notice it being down) and some rewiring tasks… See below. I did also have to order new cables to try and keep some consistency in length… How well that will work is unknown… Hopefully, I will be back in the homelab a bit more on Tuesday… We see what I can break then.

IMG 1785

Day 31 of #100daysofhomelab

Day 31 of and I am going through the config from my CHR to bring over to my RB5009, and, well, I have no idea what I was doing when I built the original config… Now to try and figure out what the config did, since I want to document it here so I know what I was thinking, but to also possibly help someone else… Mind you, at this stage, it won’t be much help… I also need to figure out how to add my Zerotier Bridge into the mix.

So, as trying to get a high level overview of how this works, lets start with this:

  • The cable modem comes in at 1Gb/s down, 50Mb/s up. It hands off at 1Gb ethernet and plugs into a switch on VLAN 900. Anything on VLAN 900 can get a public IP from that modem (statically assigned, I have 5 usages, the first being the modem to act as a gateway).
  • FTTH comes in and goes to my small quad 2.5Gb box, which then, using CHR (we call this DUB1-BK01), hands off a /29 to VLAN 905. Again, any devices on VLAN 905 can get a public IP from there, and use BK01 as a gateway.
  • For the current CHR (DUB1-BGP01) it being a VM has currently got 3 connections: eth1 is connected to VLAN900, eth2 is connected to VLAN905 and eth3 is connected to VLAN901. VLAN901 has a /27 from my block of /24 addresses, and anything on that VLAN can use an IP from that pool and the IP from DUB1-BGP01 as its gateway.
  • DUB1-BGP01 does some BGP routing to my upstream servers. lon1, which is based in Vultr London, and fra3, which is based in M&M Networks in Frankfurt Germany. lon1 has transit from Vultr and fra3 gets transit from M&M Networks, but also connects to multiple Internet Exchanges: DE-CIX Frankfurt, DE-CIX Dusseldorf, DE-CIX Hamburg, DE-CIX Munich, KleyReX, LocIX and LocIX Dusseldorf. More details of the network and peers, etc, are available on as204994.net.
  • DUB1-BGP01 connects to both lon1 and fra3 over WireGuard connections. All traffic to lon1 is sent over the Cable Modem link. All traffic to fra3 is sent over the FTTH link. Currently, there is no automatic failover if one link dies… This is where (hopefully) Zerotier comes into play.
  • I have a VM running on my i7 2.5Gb box that has connections to both VLAN900 and VLAN905, along with VLAN911. I have a bridge on that box that connects VLAN911 to a Zerotier network which is used only for internal peering. It has a /28 Public IP Range and anything on that bridge can use an IP from that network and talk to other machines. Currently that bridge is directly connected to my UDM Pro, and it gets a public IP and uses fra3 as a gateway. Sometimes traffic goes though fra3 but comes back over lon1 (due to asymmetric routing). But because of the way the network is working, all traffic can flow without issues.
  • The plan is to use that VLAN along with the 2 WireGuard links and give me 2 connections to lon1 and fra3. In theory, if one connection goes down, the traffic should be able to flow the other way…

So, at least that is the theory… How well this will work is anyone’s guess… But more messing with configs is required.

Day 30 of #100daysofhomelab

Day 30 of and I tried to look into getting my RB5009 setup, and well… it has the wrong power supply! EU, not UK/Ireland… More messing is required! [Update] Found the right supply, but fell asleep watching TV… more messing tomorrow…

 

Day 29 of #100daysofhomelab

Day 29 of #100daysofhomelab and my RB5009 finally arrived! The bad news is I am up to my eyes with some out-of-hours updates for my $DayJob… So, it will probably be tomorrow or Friday before I get to it… It’s been that kind of a day. I am OOF from Friday to next Wednesday, so I should have plenty of time to play with. I also started playing around with Tailscale Funnel. I got my hands on an invite, and it looks like I can invite other people to it… If you are interested, leave a comment. I have not actually done much with it, mostly reading the docs and testing it before i make it public… But should be interesting. Anyway, now for some links.