this post was submitted on 27 Mar 2025
25 points (87.9% liked)

Selfhosted

45271 readers
1184 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I'm looking at quad port 2.5Gbe Intel PCIe cards. These cards seem to be mostly x4 physically (usually PCIe gen 3) whilst I have a PCIe Gen4 X1 slot, which is more the theoretical bandwidth that the card can support. The card needs at the most PCIE Gen 3 X2 == PCIE Gen 4 X1 in terms of bandwidth.

How do I fit the card into a PCIe x1 slot? Won't it lose performance if all the pins are not connected to the physical PCIe connector? Is there a PCIe x1 riser that the community likes that is somewhat affordable?

Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] marauding_gibberish142@lemmy.dbzer0.com 1 points 3 days ago (1 children)

I'm trying to create a router + switch combo. I know bonding over CPU is considered a bad idea but I don't want to run a proprietary OS on my switch to get VLANs. I'd rather run an OpenBSD VM and do everything in it.

This might delve into some networking, but if you can bear with me:

Whilst I like the idea of VLANs, I don't like running proprietary firmware on my devices. Which means a regular L2+/L3 switch is not going to cut it. But I'm starting to wonder if I can just use Veths and subnetting to segregate traffic between different machines on my network?

Using your example, can I do:

PC (router) -> 10Gbe port (3 Veths) -> switch -> three different machines on different subnets?

Can I prevent the three machines from talking to each other directly through the switch if I put them in different subnets? Sorry for my lousy networking knowledge, it's been a while.

[–] Cort@lemmy.world 1 points 3 days ago

Yeah a cheap switch probably wouldn't cut it. You'd need a more expensive managed switch to do segregated vlans, which would balloon the budget.

Not sure on veth segregation, but you could probably try with equipment you already have (onboard nic w/ veths > unmanaged gbit switch)

I've been looking at the open banana pi router since it has openwrt (debian/Ubuntu too). I think I'm going to wait and hope they put more multi-gig ports on next one tho.