Community discussions

MikroTik App
 
fic119
just joined
Topic Author
Posts: 6
Joined: Mon Jun 01, 2020 3:58 pm

Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Mon Jun 01, 2020 4:26 pm

Hello,

I have a problem with gigabit speed. i made the fastforward settings and MTU and MRU settings but the problem is same.
Most time i have aroug 550/600 Mb, from time to time i reach 720-730Mb.
Connection is PPPOE.
[admin@MikroTik] > export hide-sensitive
# jun/01/2020 16:15:35 by RouterOS 6.46.6
# software id = TB4Q-DW7H
#
# model = RouterBOARD 962UiGS-5HacT2HnT
# serial number = 8A7708DD6599
/interface bridge
add admin-mac=CC:2D:E0:E6:F9:B8 auto-mac=no comment=defconf name=bridge protocol-mode=none
/interface ethernet
set [ find default-name=sfp1 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1 max-mru=1472 max-mtu=1472 name=pppoe-out1 use-peer-dns=yes user=bv18543961
/interface wireless
set [ find default-name=wlan1 ] antenna-gain=0 band=2ghz-b/g/n channel-width=20/40mhz-XX country=no_country_set disabled=no distance=indoors frequency=auto frequency-mode=manual-txpower installation=indoor mode=ap-bridge ssid=MikroTik-E6F9BE-2g \
    wireless-protocol=802.11
set [ find default-name=wlan2 ] antenna-gain=0 band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX country=no_country_set disabled=no distance=indoors frequency=auto frequency-mode=manual-txpower installation=indoor mode=ap-bridge ssid=\
    MikroTik-E6F9BD-5G wireless-protocol=802.11
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.0.100-192.168.0.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge name=defconf
/user group
set full policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitive,api,romon,dude,tikapp
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=sfp1
add bridge=bridge comment=defconf interface=wlan1
add bridge=bridge comment=defconf interface=wlan2
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
add interface=pppoe-out1 list=WAN
/ip address
add address=192.168.0.1/24 comment=defconf interface=ether2 network=192.168.0.0
/ip arp
add address=192.168.0.254 comment=Ionut interface=bridge mac-address=1C:1B:0D:94:9D:C9
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server network
add address=192.168.0.0/24 comment=defconf gateway=192.168.0.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.0.1 comment=defconf name=router.lan
/ip firewall filter
add action=fasttrack-connection chain=forward connection-state=established,related
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward connection-state=established,related
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall mangle
add action=mark-connection chain=prerouting new-connection-mark=icmp-conn passthrough=yes protocol=icmp
add action=mark-packet chain=prerouting connection-mark=icmp-conn new-packet-mark=icmp-pkt passthrough=no protocol=icmp
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip upnp
set enabled=yes
/system clock
set time-zone-name=Europe/Bucharest
/system package update
set channel=long-term
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
Image
Last edited by fic119 on Wed Jun 03, 2020 8:37 pm, edited 1 time in total.
 
zod1ac
just joined
Posts: 1
Joined: Sat May 30, 2020 2:52 pm

Re: Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Mon Jun 01, 2020 5:33 pm

*just for interesting*

How much do you have when trying via PC network card directly?
 
User avatar
ingdaka
Trainer
Trainer
Posts: 457
Joined: Thu Aug 30, 2012 3:06 pm
Location: Albania
Contact:

Re: Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Mon Jun 01, 2020 7:19 pm

Can you check CPU usage at time that you are making that traffic?
 
sutrus
Frequent Visitor
Frequent Visitor
Posts: 59
Joined: Fri Jun 30, 2017 11:27 pm

Re: Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Mon Jun 01, 2020 8:02 pm

/ip address add address=192.168.0.1/24 comment=defconf interface=ether2 network=192.168.0.0
/ip dns set allow-remote-requests=yes

correct to
[code]/ip address add address=192.168.0.1/24 comment=defconf interface=bridge network=192.168.0.0
/ip dns set allow-remote-requests=no

double firewall rules
/ip firewall filter
add action=fasttrack-connection chain=forward connection-state=established,related
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
Last edited by sutrus on Mon Jun 01, 2020 8:36 pm, edited 1 time in total.
 
fic119
just joined
Topic Author
Posts: 6
Joined: Mon Jun 01, 2020 3:58 pm

Re: Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Mon Jun 01, 2020 8:15 pm

Can you check CPU usage at time that you are making that traffic?
It is at 50-65% with a maximum of 85
 
fic119
just joined
Topic Author
Posts: 6
Joined: Mon Jun 01, 2020 3:58 pm

Re: Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Mon Jun 01, 2020 9:03 pm

/ip address add address=192.168.0.1/24 comment=defconf interface=ether2 network=192.168.0.0
/ip dns set allow-remote-requests=yes

correct to
[code]/ip address add address=192.168.0.1/24 comment=defconf interface=bridge network=192.168.0.0
/ip dns set allow-remote-requests=no

double firewall rules
/ip firewall filter
add action=fasttrack-connection chain=forward connection-state=established,related
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
i corrected the bridge and removed 1 double firewall rule.
i reache now 720 same as cpu mhz speed of router :(
can it be the hardware limitation? maximum cpu load was 89% in tests
 
fic119
just joined
Topic Author
Posts: 6
Joined: Mon Jun 01, 2020 3:58 pm

Re: Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Tue Jun 02, 2020 6:44 pm

*just for interesting*

How much do you have when trying via PC network card directly?
Sorry i missed your message. directly i have 930-940.
Also if i use other router TP... i have same speed as directly
 
fic119
just joined
Topic Author
Posts: 6
Joined: Mon Jun 01, 2020 3:58 pm

Re: Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Wed Jun 03, 2020 8:38 pm

Solved
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 23277
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Problem with ethernet speed Gigabit - 962UiGS-5HacT2HnT

Wed Jun 03, 2020 9:27 pm

What was the issue?