OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • connection and lan speed
« previous next »
  • Print
Pages: [1]

Author Topic: connection and lan speed  (Read 15582 times)

antonvdh

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
connection and lan speed
« on: February 05, 2018, 04:16:45 pm »
Looking for a package which can show me connections and there maximum cable speed.
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: connection and lan speed
« Reply #1 on: February 05, 2018, 08:00:16 pm »
From the command line, run: ifconfig | less

The wire speed is listed on the 'media' line for each physical interface.

Bart...
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: connection and lan speed
« Reply #2 on: February 06, 2018, 12:32:39 am »
Or, if you want to measure (like a speed test of sorts) your actual link speed, you can use the built-in iperf from here:
Interfaces: Diagnostics: Iperf
Logged
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

dcol

  • Hero Member
  • *****
  • Posts: 635
  • Karma: 51
    • View Profile
Re: connection and lan speed
« Reply #3 on: February 07, 2018, 11:31:34 pm »
iperf is a plugin, not built-in. Then you need to connect to a public iperf server. https://iperf.fr/iperf-servers.php.
Or you can just use speedtest.net from a local workstation.
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: connection and lan speed
« Reply #4 on: February 08, 2018, 12:24:32 am »
Quote from: dcol on February 07, 2018, 11:31:34 pm
iperf is a plugin, not built-in. Then you need to connect to a public iperf server. https://iperf.fr/iperf-servers.php.
Or you can just use speedtest.net from a local workstation.

It is a plugin integrated in the OPNsense GUI (not sure if it's installed by default) and called in server mode, I'm not aware how you can connect from the GUI in client mode with the public iperf servers.
« Last Edit: February 08, 2018, 12:26:03 am by elektroinside »
Logged
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

dcol

  • Hero Member
  • *****
  • Posts: 635
  • Karma: 51
    • View Profile
Re: connection and lan speed
« Reply #5 on: February 08, 2018, 12:56:03 am »
Yeah, not pre-installed. Have to install the plugin.
Not sure how useful iperf would be if you can't run it as a client. I imagine you would need to install a client somewhere else to talk to. I have not used iperf with OPNsense.
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: connection and lan speed
« Reply #6 on: February 08, 2018, 07:15:09 am »
It's pretty useful as it is, at least for me, although a client mode is also welcomed at a point. iperf was the reason I changed my hardware and discovered (i mean not just read about it) OPNsense.

1. First and most important reason to use iperf in server mode is you can test your (or others) WIFI coverage/bandwidth, for real, and plan your setup according to the iperf results. You don't measure this otherwise, unless you want to map the location.
2. You get to saturate your LAN (cable) connections and thus you can find your bottlenecks or faulty/misconfigured nodes/devices/clients in your LAN. Speedtest.net usually comes after (if you want accuracy).
3. You can accurately verify your ISP if you have access to a proper client (perhaps a friend somewhere with a better link). Of course, you need to know both links (at least theoretical) specifications.
4. With iperf, you can test both directions simultaneously.
5. Multiple threads...

Iperf is in many ways 1000x more powerful and useful for accurate tests and debugging than speedtest.net and i cannot be more grateful that the awesome guys at OPNsense implemented it.
The only thing its missing is a good ping/jitter test, but there are other specialized tools for this.
« Last Edit: February 08, 2018, 07:42:31 am by elektroinside »
Logged
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

dcol

  • Hero Member
  • *****
  • Posts: 635
  • Karma: 51
    • View Profile
Re: connection and lan speed
« Reply #7 on: February 08, 2018, 03:28:14 pm »
Uses I never though of, thanks. But for me in a pure Windows environment, no WiFi, and no clients to use, iperf won't be of much use until a client version is available.
Logged

elektroinside

  • Hero Member
  • *****
  • Posts: 574
  • Karma: 51
    • View Profile
Re: connection and lan speed
« Reply #8 on: February 08, 2018, 04:00:06 pm »
Well, maybe this will help you a little as well:

1. If you have a gigabit lan, test the lan speed
2. If you don't get around ~940Mbit/s bandwidth with iperf, it might be a sign something is wrong:
- these speeds require raw cpu power, but if you have a powerful cpu, not something to worry about (both client and server)
- next, and most common issue with windows systems is the default tcp window size; you can tweak tcp settings with this awesome tool: https://www.speedguide.net/downloads.php; just load the optimal settings, save & reboot
- if still performance is low, you might consider upgrading your bios and drivers
- if still having issues, you can test your system for dpc latency causing drivers/services and try to tweak them (http://www.resplendence.com/latencymon), as they influence your iperf perfomance
3. If you have issues with your lan tests, speedtest.net performance will always be subpar, and iperf, even in your case, is an excellent tool to stress your network and system for errors

Try it out if you have the mood and time :)
Logged
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

dcol

  • Hero Member
  • *****
  • Posts: 635
  • Karma: 51
    • View Profile
Re: connection and lan speed
« Reply #9 on: February 08, 2018, 06:27:17 pm »
I guess I can pop a few iperf for Windows clients around and see what happens. One of my workstations uses a TorGuard VPN Client so that will allow me to test from other sites around the world.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • connection and lan speed
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2