One. Use a switch for networking.
And VLAN to segment the network (separate the CCTV stuff that I guess will be reachable from Internet and...I don't know what else OP may have)
Remember a homelab can be anything from multiple rack mounts humming along in your basement to just SBC running some clever Podman containers. Everyone's wants, needs, and interests are different.
Sounds like most of what you want to do could be done with one or two machines, a decent switch, and some kind of Wi-Fi access point. There is no wrong or right way to do it.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Fewer Letters | More Letters |
---|---|
DNS | Domain Name Service/System |
PoE | Power over Ethernet |
SBC | Single-Board Computer |
SSD | Solid State Drive mass storage |
4 acronyms in this thread; the most compressed thread commented on today has 7 acronyms.
[Thread #114 for this sub, first seen 6th Sep 2023, 23:15] [FAQ] [Full list] [Contact] [Source code]
i didnt have a problem with network ports (I use a switch) what I shouldve considered during purchasing was the number of drives (sata ports), pcie features (bifurcation, version, number of nvme slots)
I need to do high IOPs for my research now and I am stuck with raid0 commodity SSDs in 3 ports.
The cameras are on the same network, or worse, on the same WiFi?
If everything is on the same WiFi, then you need a single gigabit Ethernet port as you will never be able to saturate it
I would prefer to keep the cameras off of the WiFi. I don't want them accessing the internet. I have never used containers before which Frigate will be on so hopefully there is a way to disable internet access to a container. Otherwise though the SBC comes with two 2.5Gbit ports and I believe my router is at least 1Gbit though regardless I plan to upgrade it.
that's not about them accessing the internet or not (if you don't have a dedicated VLAN just keep empty the gateway in their network config), it's that at 2-6 mbits each, they saturate the bandwidth fast if everything is on the same network, especially wifi
Well I've certainly got a lot more learning to do and these projects give me something to apply my knowledge to. I'll be looking more into Vlans and also how to beef up my throughput (if that's the right term to use here).
I have 6 ports on my main server and I used to use them all just because I could, but I only really use 3 these days.
1x 10gbe for file server access, plex, downloaders, nextcloud etc.
1x 1gbe for DNS (Adguard Home), home automation stuff, web hosting, etc etc.
1x 1gbe for VMs
I could do them all with one 10gbe and split out subnets with Vlans in software, but I like dedicated connections where possible as it is easier to manage and monitor.
If you are looking to run a plex or jellyfin server it is usually best to use a dedicated player for those (nvidia shield, apple Tv, chromecast GTV etc..) as they always tend to have better support for things like multiple HDR formats and things like Atmos or DTSX compared to running a DIY HTPC box.
Thanks! It gives me context and better understanding with your example. Good to know about the extra features dedicated movie boxes might have. I'll keep that in mind when looking for or designing one.
Unless you're planning on virtualizing your router on the server (think OPNsense VM or something) then really only one ethernet port is required. Otherwise the sky is the limit. For example, mine has a 1 Gbps port, a 2.5gbps port, and two 10 Gbps ports.
Depends on what you want/need and whether you want to future proof I guess.
So really just one port to connect the server to the router for everyone to have access is what I'm understanding? So then that leaves me with one extra to use with an ePOE hub to then add all my cameras to.
Yah if all you want is for your server to get internet and have it accessible on your LAN, one port is all you need.
Perfect, thank you.
For what it's worth, I have a server with two rj45s (and a third for BMC), but I only plugged one of them into my switch. I run anywhere from 2-8 containers/vms on that server and never felt the need to hook up the other jack. I guess there's probably some contention of running multiple hosts all through that one connection, but typically I don't really need anything faster than the ~2-400mbps I get with WiFi anyway. So to answer you question, it depends, but I would generally say maybe start with the one and don't worry about it unless you're really moving massive amounts of data regularly and saturating your line. You'd also need to consider you'll need a switch and other network hardware capable of handling that throughout as well if you're really going to potentially saturate those ports.
Thank you. This gives a lot of context and makes sense. I think I'll use the second port for an ePOE hub for the cameras and the pcie slot for the Coral. Right now I use a half decent all-in-one router with OpenWRT but have been wanting to upgrade to get AX WiFi. I'll look into makinging sure I get competent hardware.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!