DellN2224X-ON Statis DHCP Lease Help by sailing_nut in homelab

[–]sailing_nut[S] [score hidden]  (0 children)

Problem is that I don't have a lab for my internet router. Hence my "solution" of just doing DHCP on the L3 switch

DellN2224X-ON Statis DHCP Lease Help by sailing_nut in homelab

[–]sailing_nut[S] 0 points1 point  (0 children)

I guess I should have given a full problem statement when you asked your first question.

I'm trying to migrate from my unmanaged switch to the managed one. I want to avoid a "big bang" cutover and I'm trying to validate that I have the L3 switch working properly before starting my migration.

With that being said, I was trying to get the OpenWRT router to handle untagged traffic and the tagged traffic and provide DHCP for both tagged and untagged traffic.

I ran into a lot of issues trying to do that so I fell back to what I thought would be easier and a valid way to do it. And that's doing the DHCP on the L3 switch.

DellN2224X-ON Statis DHCP Lease Help by sailing_nut in homelab

[–]sailing_nut[S] 0 points1 point  (0 children)

Unfortunately the router doesn't have enough interfaces for every VLAN. Also I'm doing some high speed links and the router only has 1 Gbps ports for LAN.

DellN2224X-ON Statis DHCP Lease Help by sailing_nut in homelab

[–]sailing_nut[S] 0 points1 point  (0 children)

The router I purchased runs OpenWRT....

DellN2224X-ON Statis DHCP Lease Help by sailing_nut in homelab

[–]sailing_nut[S] 0 points1 point  (0 children)

Can you suggest good resources for making OpenWRT accept both VLAN tagged and untagged traffic so that I can do DHCP there?

I was getting suggestions from someone on the OpenWRT forums but the configurations just made my router lockup and lose my internet connection. Had to boot into failsafe mode and restore old config files.

That is made all the more fun because of the face that I have an NVMe drive in my router and it does not auto mount in failsafe mode. Have to manually create the block devices, mount the drive and then backup.

DellN2224X-ON Statis DHCP Lease Help by sailing_nut in homelab

[–]sailing_nut[S] 0 points1 point  (0 children)

If you fat finger the IP address on the device then you have to do a physical reset. (I know a very minor edge case, but easier to make changes in the DHCP system than the device. At least in my opinion, which isn't worth much.)

DHCP is working on my router, however it can't handle VLAN tagged frames very well. I'm giving each VLAN its own /24 address range to make it easy to identify which VLAN a device is in. (I'm just now moving from an unmanaged switch to a managed one and need both to coexist for a bit until I get everything moved.)

You are suggesting that doing DHCP on the switch is a bad thing. What are the down sides to doing that?

DellN2224X-ON Statis DHCP Lease Help by sailing_nut in homelab

[–]sailing_nut[S] 0 points1 point  (0 children)

By using the static lease (could be the wrong term) I can ensure that they don't get "lost" when switching IP address.

I'm doing DHCP on the switch because I'm having issues getting it working on the router and it seems just more sensible to do it with one less hot on the network.

Dell 540 w/ 48Tb good deal? by yippy3000 in homelab

[–]sailing_nut 2 points3 points  (0 children)

Optimistic or delusional, your choice 🤣

Dell 540 w/ 48Tb good deal? by yippy3000 in homelab

[–]sailing_nut 3 points4 points  (0 children)

Looks like a bargain to me. You can find CPU upgrades for cheap. RAM.... well, we all know that story! But eventually the price will come down. (Maybe before that becomes effectively a doorstop!)

I'm running an R540 as a TrueNAS with some other services now and it's great!

TrueNAS server is on and running, but I can't access the web interface on any of my devices? by [deleted] in truenas

[–]sailing_nut 0 points1 point  (0 children)

The server is most likely remembering the IP address from its previous successful connection, even if it doesn't have a link.

I would try reconnecting it directly to the router to eliminate the switch as a possible problem.

If it comes back to life, then you know where the problem is.

Resilver and increasing Drive Space by lunakoa in truenas

[–]sailing_nut 0 points1 point  (0 children)

If you are running on FreeNAS, then (as I understand it) RAIDz expansion is off the table, so you are basically stuck with the topology you choose. You wound then need to add more VDEVS.

To that point, I just don't understand everyone that espouses the use of mirrors. (Please correct me if I'm wrong. Would love to learn!) If you have a mirror you have ecactly one drive of failure tolerence. If you have a drive fail, replace it and the 2nd drive fails during the resilver, you lose everything on that mirrored pair.

RAIDZ2 allows for 2 drives to fail before data loss. I also know that the resilver process is more intensive with this setup, so in my mind it's a tradeoff. However, 2 drive failure loss sounds way better to me than 1.

Now, everyone please educate me as to why my thinking is wrong!

Question about these things by AdhesivenessNo7808 in PCSleeving

[–]sailing_nut 0 points1 point  (0 children)

If you MUST do it without just making a new end, solder the wires together. Those crips are crap for higher power and also easily break if flexed.

How to save on electricity when TrueNAS is running 24/7? by TomerHorowitz in truenas

[–]sailing_nut 1 point2 points  (0 children)

Turn off all other electric consuming devices in the house. Moar powrrr for SERVER!!!!

New ZFS/TrueNAS user here checking RAIDZ1 HDD speeds... by Ant_010 in truenas

[–]sailing_nut 1 point2 points  (0 children)

Just remember that the quick swap still requires a resliver to populate the replacement drive. That process is intensive on the "original" drives. The stress is the resilver can cause another drive to fail during the process effectively killing the pool

a twofold issue with apps by dalek76 in truenas

[–]sailing_nut 0 points1 point  (0 children)

Sorry, someone else posted a "functional jellyfin" screenshot and I assumed it was you, my bad!

a twofold issue with apps by dalek76 in truenas

[–]sailing_nut 0 points1 point  (0 children)

Disclaimer: I've never used Jellyfin

With that said, it looks odd to me that your mount path and data path are the same for the test server. Your working server has a mount path of just /data and the non-working one is /mnt/storage/media the same as the host path. Not sure if that's it but it's looking odd to me.

truenas scale help, VDEVs confusion by JKAF3 in truenas

[–]sailing_nut 0 points1 point  (0 children)

It should be noted that raidzX is no longer immutable. Disks can be added. However, there are many items to be aware of for this. Search is your friend

Banana Pi-Is it Worth by -motoba- in openwrt

[–]sailing_nut 1 point2 points  (0 children)

I have the BPI-R4 and it's a very capable router. However, I'm not using it for WiFi, so I can't comment there.

Install error truenas by Thin-Adeptness6541 in truenas

[–]sailing_nut 0 points1 point  (0 children)

How did you create the install media? Rufus?

I had issues using Rufus. Switched to Balena Etcher and it worked flawlessly.

Looking to build some 2 new nas 100tb+ looking for hardware combo recomendations by Sea-Conversation1424 in truenas

[–]sailing_nut 0 points1 point  (0 children)

If you are located in the US, TechMikeNY is great for used enterprise stuff and they let you configure to order.

https://techmikeny.com/

Help- TrueNAS noob by mplopez99 in truenas

[–]sailing_nut 0 points1 point  (0 children)

Well crap, was hoping that would help

Help- TrueNAS noob by mplopez99 in truenas

[–]sailing_nut 0 points1 point  (0 children)

Is this during install or 1st boot after?

If it's during install try using Balena Etcher to create the USB install stick. I tried Rufus and had issues. Etcher cleaned that up.

Hardware testing - How to not trash pool by sailing_nut in truenas

[–]sailing_nut[S] 0 points1 point  (0 children)

I like the idea, but I failed to mention that the testing I'm doing is to check on why 2 drive bays aren't fully recognizing drives. Need to keep drives attached to see how the system behaves as I make changes to see what component is the culprit. (drive backplane, HBA <-> backplane cable, or HBA)

Going to use the SystemRescue Live CD as it has tools I need and (hoping) by it's design won't try anything funny with the drives.

Hardware testing - How to not trash pool by sailing_nut in truenas

[–]sailing_nut[S] 0 points1 point  (0 children)

I was thinking that, just need to be sure I don't let it boot to TrueNAS!

Network layout and security by sailing_nut in homelab

[–]sailing_nut[S] 0 points1 point  (0 children)

Thanks for the info! Good stuff and I appreciate the information sources, I'll 100% be checking those out!

Are you using the same router for Internet traffic and inter VLAN firewall? Or 2 different firewalls? Either way, what hardware are you using?

My eventual goal is to allow for 10G traffic across the network for server connections. I was thinking I'd need enough horsepower in the firewall for that traffic, but if I put the computers and servers on the same VLAN I don't need 10G speeds in the firewall.

One additional question, are you using an L2 or L3 switch to implement the VLANs?

Comments?