OPNsense Forum

English Forums => Hardware and Performance => Topic started by: bowlsys on January 03, 2024, 02:01:07 PM

Title: Very slow speeds on Wan interface
Post by: bowlsys on January 03, 2024, 02:01:07 PM
Hi
I am a complete newbie to Opnsense.
I have 3 interfaces (Wan,Lan,Opt1) all are working, the Wan I/F is DHCP from my ISP.
The problem is the WAN is very very slow (I have gigabit form Virgin Media in the UK).
How do I set the interface speed on all interfaces and/or check their current settings ?


Regards
Title: Re: Very slow speeds on Wan interface
Post by: cookiemonster on January 03, 2024, 04:13:38 PM
Interfaces | Overview. Expand each one
Title: Re: Very slow speeds on Wan interface
Post by: bowlsys on January 03, 2024, 05:03:43 PM
I think the attached is what you want....Thanks for the help
Title: Re: Very slow speeds on Wan interface
Post by: bowlsys on January 03, 2024, 05:04:27 PM
Second screen shot
Title: Re: Very slow speeds on Wan interface
Post by: cookiemonster on January 03, 2024, 05:09:50 PM
LAN on 100 Mbps, maybe that's the chokepoint? I can't see what WAN is syncying at. You want to see the:
Media: XXX baseT <full-duplex> value. 1000 is Gigabit. Lan as you can see is being synced at Megabit setting.
Title: Re: Very slow speeds on Wan interface
Post by: bowlsys on January 03, 2024, 05:15:49 PM
Sorry to seem stupid but how do I make the changes?
Title: Re: Very slow speeds on Wan interface
Post by: cookiemonster on January 03, 2024, 05:22:42 PM
No no, you can't with changing settings. These are the detected values. If they are wrong, there's something at physical level or drivers potentially. So you first need to be sure the interfaces are indeed gigabit and the cables are Cat 5E or over (if I remember correctly).

Edit: correcting a spelling mistake.
Title: Re: Very slow speeds on Wan interface
Post by: Patrick M. Hausen on January 03, 2024, 05:32:51 PM
Most importantly considering the cables: they must have all 8 wires for Gigabit. There are still some historical ones around that only have 4 which is enough for up to 100 Mbit/s. So people tried to save some material back then.
Title: Re: Very slow speeds on Wan interface
Post by: cookiemonster on January 03, 2024, 05:54:34 PM
you know, I have a bunch of spare cables and over time I had not taken out the older ones and indeed were a head scratch for a syncing issue until I stopped to look at them. Doh! moment for sure.
Title: Re: Very slow speeds on Wan interface
Post by: bowlsys on January 03, 2024, 06:40:40 PM
Have just ordered 4 new Cat6 cables just in case, arriving Friday
Title: Re: Very slow speeds on Wan interface
Post by: cookiemonster on January 03, 2024, 11:16:07 PM
meantime in readiness, it would be useful to post #ifconfig Please use code quotes, not screenshots.
Title: Re: Very slow speeds on Wan interface
Post by: bowlsys on January 09, 2024, 11:40:45 AM
After further investigation it appears the problem is downloading files via browser. The download starts and then freezes giving me a network error, this particularly the case with large files (>2gb).
Title: Re: Very slow speeds on Wan interface
Post by: cookiemonster on January 09, 2024, 12:31:25 PM
There's no file browser in OP UI so I imagine you're refering to downloading large files from the internet on a client pc's browser in your LAN network. If so, probably nothing to do with OPN but server timeouts, browser memory limitations, etc. i.e. between server and client. Potentially nic driver on one of the interfaces. Realteks used to give the dreaded "watchdog timeout" message.
To verify, you could find a way to make a large transfer via other methods i.e. scp, rsync, etc. across the relevant interfaces.
Title: Re: Very slow speeds on Wan interface
Post by: bowlsys on January 09, 2024, 12:41:24 PM
Many thanks for the prompt reply. Sorry I did not make it clear, yes the problem occurs  when downloading from a Windows PC. I will try your suggestions.
Title: Re: Very slow speeds on Wan interface
Post by: bowlsys on January 09, 2024, 06:53:45 PM
Update:-

Bought a 4 port Intel NIC and installed this in a faster machine, restored the configuration from the original machine and reset the interfaces. The result is much faster, however the first load of a web site is still slow.