view the rest of the comments
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!
1 is required at minimum, there is no maximum
I'm so confused by your question.
What scenerio would require multiple Ethernet ports? Is two or even one sufficient for what I want to do?
Off the top of my head, here are a few scenarios where you would like multiple network ports, none of which you are likely to need to worry about.
You don't need two ports for a router. https://en.wikipedia.org/wiki/Router_on_a_stick
#1 seems like something I understand and could use but doubt I really need that. The other things you mention I don't fully understand what they are and since you say I probably don't need to worry about them then I won't.
I believe I'll need to use a second port to add an ePOE hub for a few cameras though.
Thank you!
I would segregate the CCTV stuff on a separate VLAN since most likely it will be available from Internet. Since you are planning to use frigate and not connect directly to each single camera, place a firewall rule that block Internet access to them (or at least don't add the gateway).
Thank you, I will do one of those things!
You mean a POE network switch? You can run POE powered devices on the same network as everything else, so you don't need an extra port for that.
Specifically POE security cameras. So those can be connected to my all-in-one router and thus to my server running Frigate? That's good to understand. Thank you
They can only be connected to your router if the router has POE support. If it doesn't, you will need a separate switch that has POE ports. Many POE cameras etc are sold with power injectors. You plug the Ethernet from the router into the injector, plug the injector into a wall outlet, then run Ethernet from the injector to the device. If you don't want to get a whole new switch with POE ports, you could get POE that way.
Great to know. Thank you!
Adding to thejevans' answer, if you were running a network analysis tool like Snort, it would be easier if you had multiple ports.
I'll keep that one in mind. Thank you
Backup internet, eg two ISPs supplying internet to your house.
Two (or more) seperate networks that need access to the same server. This is done so is network A is down, network B can still access the server.
I still don't fully understand your question. You NEED at least one rj45 to supply network access to the server. (I'm ignoring the fact that wifi exists)
I didn't know you could have to ISPs connected to one device. I won't be requiring that however. I was wondering if besides the one port to connect my server to the router there was anything else I was missing or is commonly used that I should be aware of to take up another port.
Well they would be going to the router and the router would be handling it, but you could still have seperate feeds from the router on lan/opt ports to the device.dont think they will both function at the same time though, system needs priorities
I've seen it done in data center environments where there are two connections to two different switches - so you can do maintenance on either switch without downtime.
Same reason for having dual power feeds to each machine.
I have two ports bonded on my server to get more speed, but I could get by with a single port just fine.
If you need to connect to multiple networks you can use VLANs and a single ethernet port if you want to.
What is port bonding exactly? Extra throughput by using two ports from the same ISP?
Bonding is using multiple ports for increased throughput or redundancy. I have my server set to balance-alb which will share the load over both ports when transferring data between two or more computers. It will not increase the throughput to a single computer though.
Thank you. I don't think I have a good need for this feature so that'll save me a port.
Are you confusing "ports" with "interfaces"? I can see that happening since we do colloquially refer to both as ports depending on context.
Each service will bind to it's own "port" which is tied up by that service. However each interface (the external physical connection) supports like 65,000 software ports.
So in practice, no, you don't usually need more than one physical network connection to run multiple services.
I didn't know that you could have two "interfaces" vs "ports". I was talking about the physical ports knowing this. This helps me understand what @fiivemacs means. I'm definitely not going to be using more than one provider. Thank you!