Trouble with WAN not being able to get correct speed
-
@stephenw10 said in Trouble with WAN not being able to get correct speed:
sysctl -d dev.ix.0.advertise_speed
Ok so I tried 10 and 20 and none worked unfortunately. I did see something curious though when the cable gets connected to my switch i see this :
The LAN from the WAN nic card is connected at 10G to my switch and my computer is only at 2.5G which should be 10G but that might just be a cable issue. Sorry for digressing.
Back to the WAN its weird i tried
0x1 - advertise 100M (works)
0x2 - advertise 1G (works)
0x4 - advertise 10G(not working)
0x8 - advertise 10M(invalid arguement)x10(invalid arguement)
x20(invalid arguement) -
That NIC likely doesn't support 2.5G or 5G so you can't set those advertise speeds.
I assume that switch is on the LAN side?
The WAN is connected to the ISP/ONT directly?
-
@stephenw10 Correct on both questions .
-
@stephenw10 I do have another 10G card that i can physically put in the machine but then that only leaves me with a 2.5G nic however I want my speeds lol i have another 2.5G card installed in the server but that is an rtl and pfsense does not like rtl cards as i tried implementing it into pfsense to no avail
-
Does the ISP/ONT device support 2.5G?
A Realtek 2.5G NIC in pfSense requires the realtek-kmod driver package.
-
@stephenw10
the ISP/ONT supports it as their router gets those speeds. I tested their speed test and im getting exactly what I pay for but only in Wifi not Ethernet cuz of the port which makes no sense to me but that is how it is.I see il try to install that package and try to use that nic as my WAN ..But I think i will bite the bullet and buy another 2.5G card that is compatible with pfsense
-
Ah, their router links to the ONT at 2.5G?
Are you sure the ONT actually supports 10G links then? That would explain why the 10G NIC only links at 1G.
-
I am pretty sure but I cannot be 100% as all I have is their router. So their router is messed up because their ports only do 1G but in WiFi i get 2G so I am guessing the 2.5G. I just installed the rltk package and try that nic as the WAN but seperating that nic from UnRaid is a pain and installing trying to make it work with pfsense was imposssible. I will try that. I have another option which is taking my 10G card that i have in my PC and installing it into the pfSense since i know this nic can pull 2.5G, which I have done before.
-
By the way is there a way i can check if the ONT can handle 2.5G connections?
-
What is their router, what model? I imagine the hardware will be documented somewhere.
You will need to add the loader values to load the Realtek module at boot if you have not already:
echo 'if_re_load="YES"' >> /boot/loader.conf.local echo 'if_re_name="/boot/modules/if_re.ko"' >> /boot/loader.conf.local
-
Ya i dont that actually .. do i have to put echo ? I just added the lines to the config file like so:
kern.cam.boot_delay=10000
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
kern.ipc.nmbclusters="1000000"
kern.ipc.nmbjumbo9="524288"
kern.ipc.nmbjumbop="524288"
opensolaris_load="YES"
zfs_load="YES"
opensolaris_load="YES"
zfs_load="YES"
kern.cam.boot_delay=10000
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
kern.ipc.nmbclusters="1000000"
kern.ipc.nmbjumbo9="524288"
kern.ipc.nmbjumbop="524288"
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
boot_serial="NO"
autoboot_delay="3"
hw.hn.vf_transparent="0"
hw.hn.use_if_start="1"
net.link.ifqmaxlen="128"
machdep.hwpstate_pkg_ctrl="1"
net.pf.states_hashsize="524288" -
-
Aha, so it's 2.5G and specifically not 10G. I think there's a good chance the ONT is 2.5G and that's why you can't link to it at 10G but it negotiates back to 1G.
AFAIK only the Intel X550 based NICs can link at 2.5G and 5G as well as 10G.
You should put those loader values in /boot/loader.conf.local otherwise they will be overwritten. Create that file.
The echo command there is just for running at the CLI to append those lines into the file. You don't need them if you manually edit it.Steve
-
Hey Steve I want to thank you a million mate that was amazing help i got from you.
Do you know if this would work Aquantia Corp. AQC107 NBase-T/IEEE ? I need to install the drivers but technically it can link up 2.5 and 5G
Best Regards
Art -
I believe it can but I don't have one to test. I have tested a Realtek 8125 NIC and a separate Intel i225-V NIC and they worked fine. At least in my limited testing.
I would try to at least that Realtek NIC you already have if you can.
-
Ya i cant seem to make that one work at all through the passthrough from unraid.. im trying to find the bsd pckg file for the aqua to download it and test it but cant find a repo. you dont happen to know where i can get it so i can test it
-
Hmm, that may not be easy because we don't build that pkg and the closest available FreeBSD build isn't a match:
[2.7.2-RELEASE][admin@t70.stevew.lan]/root: pkg add https://pkg.freebsd.org/FreeBSD:14:amd64/release_0/All/aquantia-atlantic-kmod-0.0.5_2.pkg Fetching aquantia-atlantic-kmod-0.0.5_2.pkg: 100% 24 KiB 24.8kB/s 00:01 Installing aquantia-atlantic-kmod-0.0.5_2... Newer FreeBSD version for package aquantia-atlantic-kmod: To ignore this error set IGNORE_OSVERSION=yes - package: 1400097 - running kernel: 1400094 Ignore the mismatch and continue? [y/N]: y
-
unfortunately it did not work. I did not see it pop up. I even went a step further to check if the ko would load up and did these steps
ee /boot/loader.conf.local
if_atlantic_load="YES"
rebooted and then to check i did the
kldstat .... I did not see it pop up
and ifconfig and nothing hmmm i am just going to get a nic that works with pfsense -
@kilasin You don't happen to have a switch that will do both 2.5 and 10G? If so, you can use it as a "media converter" between pfsense WAN and EE's router.
-
@Gblenn I do but i dont understand what you mean ... MY switch is this NETGEAR 10-Port Gigabit/10G Ethernet Plus Switch (GS110EMX) which i use the last 2 ports for 10G networkin between my server and my computer but it can do 5G/2.5G as shown above in the picture i posted.. Please explain what you mean