Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - reiikz

#1
Some further updates for anyone who might find it useful!

I found a better configuration that seems to work just fine!
I don't know why I didn't think of this earlier I am an idiot.
Anyway the deets:

I've finally bought a network card though it's not any of the ones you guys mentioned.
I will be looking into those in the future it's just I'm from South America and having a homelab is an expensive hobby and my broke ass can't afford these things yet.

Anyway the card in question is a TP-Link tx201 (the chipset is an RTL8125) which OPNsense doesn't seem to support.
Bad decision on my part buying a card without research for an OS that seems to be so picky about drivers.
Anyway I ended up passing some virtio network interfaces to the OPNsense vm and it picked them up rightaway.
Connected those to linux bridges, one bridging with the sever's on board which is an RTL8111 (which alsoe doesn't seem to be supported by OPNsense) that goes to the ISP over PPPoE.
The tx201 is on a diffrent bridge and that provides my physical lan with a switch and AP separately.
Its been set up like this since 17/09/2024 and there hasn't been any more hardware issues since.
So this seems to be a totally valid configuration!

Thank ya'll for your advice <3
It's very very nice being recieved with friendly advice when you're a novice :3
Cheers!
#2
My usb dongle now works just fine connected to the ISP's router.
It turns out that if you do USB passthrogh to a VM there's some kind of issue that causes packet loss when it comes to ethernet dongles (or at the very least my TP-LINK UE330).
A few days later after making this post I thought "Why not just pass through the entire PCI-E USB controller" and so I did and all the issues disappeared, I've been monitoring the stability of the connection and it's rock solid! Even better than it's ever been!
All it took to resolve the issue is doing PCI-E passthrough to the OPNSense VM instead of just the specific USB port.
Of course this solution only good for me because I don't have a need to plug anything into the USBs of the server's motherboard.
Because of this I will still be looking into a good ethernet adapter.
Thank you all for the info and replies it's very useful!
Sorry I took a while to answer I've been busy plus I wanted to make sure at least a week had gone by before I confirmed this solution to ya'll so if anyone else tries it they know how I solved it and are not lead astray!
Angain thank ya'll!
#3
I'm having stability issues with my setup and the itnernet keeps getting disconnected without recovery and the only option is to restart the open sense vm.

The setup:

I've got a proxmox server running virtualized OPNSENSE.

VM specs:

CPU: host mode <core I5-4670> x1
RAM: 4GB <phys ; 1866 MHz DDR3 CL 11>
My LAN interface is a linux bridge (VIRT IO) and OPNSense provides internet access through the proxmox linux bridge to the physical lan and different vms.
My WAN interface is a USB 3.0 gigabit tp-link dongle (which IK it's a bad idea just bear with me, there's more to the story).

So. Currently I've set up a cronjob in OPNSense to reset the interfaces every 4 hours and that seemed to do the trick for about a week but I know this is no permanent solution.
Today I just got another failure that required a restart of the VM.

I get the full speed of my contract which is 400Mbps down/30Mbps up no problem.
I know if I get much more speed I will require a CPU upgrade in the future since I read this is a single threaded load but that's not the issue here.

The issue is the packet loss and the failures that don't recover themselves.

A little bit of info about the ISP and my previous setup which was a little unstable but nothing concerning like this:

I had the ISP's router in bridge mode, it's one of those fiber in a box type of deal and it connects to their GPON network directly.
My router was TP-LINK Archer C1200 which would get hanged and I found this to be an issue due to the hihgh traffic to its own public IP caused by my nextcloud instance.

Packet loss was ok dropping about 1% or less when pinging google.
Now it's up to 8% in the same time frame (30 mins) + the total failure that ends up happening randomly.

I am no expert in networking and I wouldn't know how to diagnose this.
But given the problem is unstability and I've experienced this before with this exact ethernet dongle, and I've expressed my suspicion of it before I blame it on shoddy hardware.
Now my questions are the following:


  • What NICs do you recommend for connecting to a PPPoE network at symetric gigabit speeds? (try not to make me break the bank please  :P)
  • Does the brand of the NIC matter at all? or should I just focus on getting one with a specific ethernet chip?
  • Do you have an any other suggestions as to what can be causing this unstability? (but please do answer my hardware question)

If you could rank me a few ethernet cards it's much appreciated <3.

Thank you all in advace! <3

EDIT:

My usb dongle now works just fine connected to the ISP's router.
It turns out that if you do USB passthrogh to a VM there's some kind of issue that causes packet loss when it comes to ethernet dongles (or at the very least my TP-LINK UE330).
A few days later after making this post I thought "Why not just pass through the entire PCI-E USB controller" and so I did and all the issues disappeared, I've been monitoring the stability of the connection and it's rock solid! Even better than it's ever been!
All it took to resolve the issue is doing PCI-E passthrough to the OPNSense VM instead of just the specific USB port.
Of course this solution only good for me because I don't have a need to plug anything into the USBs of the server's motherboard.
Because of this I will still be looking into a good ethernet adapter.
Thank you all for the info and replies it's very useful!
Sorry I took a while to answer I've been busy plus I wanted to make sure at least a week had gone by before I confirmed this solution to ya'll so if anyone else tries it they know how I solved it and are not lead astray!
Angain thank ya'll!

EDIT 2:

TL;DR
Don't use network dongles, dongles bad.
OPNsense donesn't seem to support the chipsets RTL8111 and RTL8125.
If you have this hardware and your OPNsense is on a vm you can use virtio interfaces and connect them to the physical network over linux birdges.
This works with PPPoE and it's been my working setup without any issues since 17/09/2024 (currently 31/10/2024)