Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
[SOLVED] What NICs are good for 1Gbps symetric PPPoE on a virtualized OPNSense
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] What NICs are good for 1Gbps symetric PPPoE on a virtualized OPNSense (Read 1177 times)
reiikz
Newbie
Posts: 2
Karma: 0
[SOLVED] What NICs are good for 1Gbps symetric PPPoE on a virtualized OPNSense
«
on:
July 04, 2024, 07:54:05 pm »
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
)
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!
«
Last Edit: July 23, 2024, 01:24:25 am by reiikz
»
Logged
vpx
Jr. Member
Posts: 81
Karma: 5
Re: What NICs are recommended for 1Gbps symetric PPPoE on a virtualized OPNSense
«
Reply #1 on:
July 09, 2024, 03:58:14 pm »
Just look at this table from the I210 datasheet and the ranks are:
I350
I210
I211
82574
Logged
paldo
Newbie
Posts: 1
Karma: 0
Re: What NICs are recommended for 1Gbps symetric PPPoE on a virtualized OPNSense
«
Reply #2 on:
July 13, 2024, 03:19:22 am »
Did you ever get problems resolved? For a 400mbps connection. Tried router on a stick. And if you use the onboard Realtek nic. Then use opnsense driver instead of the driver that come with the install.
Logged
Greg_E
Full Member
Posts: 247
Karma: 13
Re: What NICs are recommended for 1Gbps symetric PPPoE on a virtualized OPNSense
«
Reply #3 on:
July 16, 2024, 09:21:39 pm »
Quote from: vpx on July 09, 2024, 03:58:14 pm
Just look at this table from the I210 datasheet and the ranks are:
I350
I210
I211
82574
Where does i225 and i226 fit in that chart, prices between i350 and i225/226 are not that different, especially used. Yes I know i225/226 are 2.5gbps, but they handle gigabit just fine too.
Logged
Seimus
Hero Member
Posts: 502
Karma: 50
Re: What NICs are recommended for 1Gbps symetric PPPoE on a virtualized OPNSense
«
Reply #4 on:
July 16, 2024, 09:43:17 pm »
Those should be closer to I210 I think. They have same number of queues.
Just keep in mind that against I210, those NICs depending on the CHIP to CHIP may have weird behaviour
Regards,
S.
Logged
Networking is love. You may hate it, but in the end, you always come back to it.
OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G -
VM HA(SOON)
N100 - i226-V | Corsair 16G 4800 DDR5 | S 980 500G -
PROD
reiikz
Newbie
Posts: 2
Karma: 0
Re: [SOLVED] What NICs are good for 1Gbps symetric PPPoE on a virtualized OPNSense
«
Reply #5 on:
July 23, 2024, 01:24:44 am »
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
[SOLVED] What NICs are good for 1Gbps symetric PPPoE on a virtualized OPNSense