[Guide] Resolve Realtek NIC Stability Issues on FreeBSD - FreeNAS/TrueNAS, pfSense (2.4.4, 2.4.5, 2.5.0) + OPNSense, use 2.5Gb Realtek

are your nest devices in a separate VLAN?
Are you looking in your firewall logs for stuff being blocked in relation to your xbox games? I don’t have an xbox but could be certain ports need opening for certain aspects of games to work

@Riggi Thanks for these drivers, you’ve helped me immensely a few years ago. Could you make an updated driver for FreeBSD 13.1? I am currently trying to get my NAS running, but I’m very new to all of this and I know that your drivers work from past experiences.

Best Wishes,
Leekseeker

I must’ve missed this, but there are official packages for both FreeBSD 12 and FreeBSD 13 - available at these links:
https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/realtek-re-kmod-198.00_2.pkg
https://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/realtek-re-kmod-198.00_2.pkg

Its 2025 and i am here,
i am still using pfsense 2.5.2 for a reason.
but my realtek NIC is a problem, i have a 300mbps link, but receiving only 60 or 75 max on a good day.
kindly help me with updated drivers and instructions, none of the links on this post works
, many thanks

I’ll see if I can find their packages still hosted anywhere, but you can use the realtekdrivers.zip that was uploaded in the original post on 2.5.x - there are builds for FreeBSD 12, the version is 1.96.04 which does still fix the stability issues with the stock bundled driver. FreeBSD 12 is EOL so they won’t be available from their pkg repository any longer.

i applied that previously, and wasnt having error in and out, but bandwidth limitation have been my second problem and now it is number one, imagine, 300mbps link, i receive only 75 at max, last night i upgraded to 2.6, but still, no improvement on bandwidth

If you were already using these drivers, then your issue is distinct from the driver. Unless you have a NIC that was released much later, these are known-good, and gigabit is perfectly serviceable with 1.96.x.

could you please confirm for me, this is my card details
re0@pci0:1:0:0: class=0x020000 card=0x21ef103c chip=0x816810ec rev=0x0c hdr=0x00
vendor = ‘Realtek Semiconductor Co., Ltd.’
device = ‘RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller’
class = network
subclass = ethernet

Yep, 8168 - I’ve got the same one in one of my pfSense systems, which is also on 2.6 and using the 1.96.04 driver. You can confirm that your separate driver is properly loaded with dmesg | grep 're0: version'.

the version not showing, probably because of my desperate move this morning, i ran the following commands
pkg install realtek-re-kmod

Add to /boot/loader.conf.local:

if_re_load=“YES”
if_re_name=“/boot/modules/if_re.ko”
kldstat | grep if_re

but still no improvement,