Community discussions

MikroTik App
 
thiefa
just joined
Topic Author
Posts: 3
Joined: Tue Oct 15, 2024 1:05 pm

Checking the Portspeed with with an SFP+ has connected

Thu Jan 09, 2025 9:08 pm

Hello everyone,

can someone tell me how i can check the speed a device is talking to my SFP+?
Explanation:
I run an CAS-317-1G-16S+ as Homerouter for my internet, with a modem connectet, that has an 2,5gbit internet port (and i run an abo with 2,5gbit) but if i do
/Interface/Ethernet/monitor
and give the portnummber my modem is pluged in, ill get:
name: sfp-sfpplus16_WAN
status: link-ok
auto-negotiation: done
rate: 10Gbps



Yep, and im Pretty sure thats the speed between the Router and the SPF+, but not the one the SFP+ talks to the modem (Connect Box3)....
Since my speed dropped to about 300mbit, but the router is basically ideling (CPU 2-3%, ram: 950mb free, cpu temp at 45°...), i think its a modem issue, but i want to proof to the ISP that my side is fine...


so how can i see the rate between the SFP+ and the modem???
 
rplant
Long time Member
Long time Member
Posts: 557
Joined: Fri Sep 29, 2017 11:42 am

Re: Checking the Portspeed with with an SFP+ has connected

Fri Jan 10, 2025 8:59 am

I assume you are using one of the SFP+ to RJ45 adapters.

The following has some info on the Mikrotik one.

https://mikrotik.com/product/s_rj10

They have 2 versions, and the first version did not report the link speed correctly.
I would not be surprised if many other brands also have very limited link speed reporting usable by Mikrotik.

Unless the wiring is poor, I would expect it to be connected at 2.5G.

The following mainly applies to outbound traffic.

There are possibly issues with a 10G connection, but a 2.5G link.
You could do some trials with the HW QOS, restricting the traffic leaving via the SFP+ port to <2.5G and see if it helps.

You could also get a 2.5G SFP RJ45 adapter, that runs with a 2.5G clock setting and see if it helps, (and likely runs cooler)
 
thiefa
just joined
Topic Author
Posts: 3
Joined: Tue Oct 15, 2024 1:05 pm

Re: Checking the Portspeed with with an SFP+ has connected

Sat Jan 11, 2025 3:07 am

Hi rplant
yeah, got the old mikrotik modules without the reporting ability...
so no way to get that info.. dang

Good point for the lower clocked modules, gone go and have a look




As for my modem speed:
turns out it is actually an issue with my cs-router, just cant say what..
plugged the modem directly to my linux gateway --> BAMM, >2200Mbit at online testing...
Not what i was expecting from the router, esp. if he's running on little resource usage, so i think its not a conflicting setup that makes im go crazy calculating stuff in circle....

made an zero reset and redoing anything right now.
WELP, gives a mikrotik beginner some more expirience i guess

i saved the old config, so i can hand out that config if anyone want to check for the issue that i might had.....


sooooo,
i may ask for a little direction pointing here, to a (good) working setup guide, since im far from a pro mikrotik.

right now my setup is as following / is what i want to get again:
- 2 modems that i had in load balancing, on ports 13-16 (ports 14&15 only configured to be used with modems, because we can do so)
- Automatic failover
- Inbound traffic on specific ports for internal servers (ssh, mail, http, ftp, games, teamspeak and some more)
- ISP DHCP friendly, as i dont have fixed ip's from the ISP (i'm working with no-ip and ddclient to automaticly check for ip changes and update them)
- 1gbit port isolated to serve as remote port, pluged to my user switch, as between the cs router and the user switch sitting my linux gateway (that way i allways can connect easy to the cs router from the lan side)
- bonded 10gbit ports 1&2 with dac's to the linux gateway, to be sure to have the bandwith for modems in the future (overkill but a plaything to get in to configuring mikrotik)
- ports 3-12 in a bridge thogeter with the bonded ones as lan

i mainly used the mikrotik as a way i dont need to play to mutch on my linux gateway, killing inet for to long when i screw up configs...
that way i can only quikly swap the mikrotik in and out in between the modems and my linux gateway to test loadbalancing rather than the fixed modem order on the linux gateway (users first modem / server second modem)
My linux gateway does the lan dhcp things, manage different subnets for lan, wlan, servers and so on with according firewall rules for connection permissions towards inet and to the other subnets, online http/https/mail virus scanning and ad's snipping trough squid's ssl-bump and url rewrite feature's, ..... (a plaything too...)




Last time i used a youtube guide, as i do right know, but maybe someone knows a better solution, or can give me some hints what to check.....

Guide used last time:
https://www.youtube.com/watch?v=UHIMJrl4uDc

Guide currently using:
https://www.youtube.com/watch?v=nlb7XAv57tw


thanks for any help
 
rplant
Long time Member
Long time Member
Posts: 557
Joined: Fri Sep 29, 2017 11:42 am

Re: Checking the Portspeed with with an SFP+ has connected

Sat Jan 11, 2025 5:42 am

Hi,

The CPU on the CRS317 isn't super fast. (eg. a hap ac2 is faster)

See:
https://mikrotik.com/product/crs317_1g_ ... estresults
The commonly used value for routing performance comparison is 25 ip filter rules, 512 byte packets.

However it does do some fairly good L3 hardware offloading, but you need to enable it.

This document is worth reading.
https://help.mikrotik.com/docs/spaces/R ... iceSupport

The following statement in the above document sounds kind of useful.

To make all packets go through the CPU first, and offload only the Fasttrack connections, disable l3hw on all ports but keep it enabled on the switch chip itself:
(The CRS305 I have does not have the fasttrack offload feature)

Not sure how you would do the dual wan thing (in hardware). I am assuming load balancing is dual wan to 2 different ISP's,
so needs return traffic to leave via the same wan interface it comes in through.

I guess if you fast track the traffic via one wan interface (so hardware offloadable) and let the CPU process traffic for the wan other interface it might work.