Community discussions

MikroTik App
 
pklein
just joined
Topic Author
Posts: 2
Joined: Fri Aug 13, 2021 8:02 pm

Hardware Offloading Issue CRS305-1G-4S+

Fri Aug 13, 2021 8:41 pm

I have a CRS305-1G-4S+ running 6.48.3. I can't seem to get anything more than 1gig despite having it auto-negotiated to a 10gig interface. The CPU skyrockets to 100% usage whenever utilizing a full gigabit, so it appears hardware offloading is not working despite being enabled. I tried messing around with Queues to get a higher-packet count queue size in case that could be an issue but that doesn't seem to change anything either.

What are some troubleshooting steps I can take to figure out what may be overriding the hardware offloading setup?
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: Hardware Offloading Issue CRS305-1G-4S+

Mon Aug 16, 2021 2:31 pm

Good Morning,


I dont think the RouterOS Queues can't be HW-Offloaded on the CRS305-1G-4S+ , it always run on the CPU
There is an "Traffic Shaping" option available-->> https://help.mikrotik.com/docs/display/ ... s+switches
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: Hardware Offloading Issue CRS305-1G-4S+

Mon Aug 16, 2021 2:52 pm

Do a /export hide-sensitive and post here.
If you plan to use it as a switch, not a router, this should not be a problem.
 
pklein
just joined
Topic Author
Posts: 2
Joined: Fri Aug 13, 2021 8:02 pm

Re: Hardware Offloading Issue CRS305-1G-4S+

Thu Aug 19, 2021 3:22 pm

Thank you both for your responses. See below for the export of the config:
/export hide-sensitive 
# aug/19/2021 08:13:58 by RouterOS 6.48.3
# software id = DMHU-84BY
#
# model = CRS305-1G-4S+
# serial number = xxxxxxxxxxx
/interface ethernet
set [ find default-name=ether1 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full,2500M-full,5000M-full,10000M-full
set [ find default-name=sfp-sfpplus2 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full,2500M-full,5000M-full,10000M-full rx-flow-control=auto \
    tx-flow-control=auto
set [ find default-name=sfp-sfpplus3 ] disabled=yes
set [ find default-name=sfp-sfpplus4 ] disabled=yes
/interface bridge
add name=INET protocol-mode=none
/interface vlan
add interface=sfp-sfpplus1 name=vlan1 vlan-id=1
add interface=sfp-sfpplus1 name=vlan2 vlan-id=2
/interface ethernet switch port
set 1 limit-broadcasts=no
set 2 limit-broadcasts=no
/interface list
add name=discovery
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.250
/queue type
set 1 pfifo-limit=2500
add kind=pfifo name=10g-ethernet pfifo-limit=2500
/queue interface
set ether1 queue=ethernet-default
set sfp-sfpplus1 queue=10g-ethernet
set sfp-sfpplus2 queue=10g-ethernet
/snmp community
add addresses=::/0 name="xxxxxxxxxxxxxxxxxx"
/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=INET interface=vlan2 multicast-router=disabled
add bridge=INET interface=sfp-sfpplus2 multicast-router=disabled
/ip firewall connection tracking
set enabled=no
/ip neighbor discovery-settings
set discover-interface-list=discovery
/interface list member
add interface=vlan1 list=discovery
add interface=ether1 list=discovery
/ip address
add address=192.168.88.1/24 comment=OOM interface=ether1 network=192.168.88.0
/ip dhcp-client
add disabled=no interface=vlan1
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=1.1.1.1 gateway=192.168.88.1 netmask=24
/ip service
set telnet disabled=yes
set ftp disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/snmp
set contact=xxxxxxxxxxxxxxxxx enabled=yes location=33342 trap-community="xxxxxxxxxxxxxxxxx"
/system clock
set time-zone-name=America/New_York
/system identity
set name=xxxxxxxxxxx
/system ntp client
set enabled=yes server-dns-names=pool.ntp.org
/system routerboard settings
set boot-os=router-os
/tool bandwidth-server
set authenticate=no enabled=no
/tr069-client
 
mikeeg02
Member Candidate
Member Candidate
Posts: 162
Joined: Fri Mar 30, 2018 2:28 am
Location: Pennsylvania

Re: Hardware Offloading Issue CRS305-1G-4S+

Thu Aug 19, 2021 3:51 pm

You need to re-configure for vlan filtering so that the switch will do hardware offloading.

Move the vlan interfaces to the bridge, and set appropriate pvid on untagged and set tagged vlan interfaces and set the bridge to vlan filtering. Then you can still run your dhcp client on vlan1

After this under /interface bridge port print you should get a H symbol to the left of the interface to indicate hardware offloading.

Your bridge export should look more like this.
/interface bridge
add name=INET protocol-mode=none vlan-filtering=yes frame-types=admit-only-vlan-tagged ingress-filtering=yes 

/interface bridge port
add bridge=INET interface=sfp-sfpplus1 multicast-router=disabled hw=yes
add bridge=INET interface=sfp-sfpplus2 multicast-router=disabled pvid=2 hw=yes

/interface bridge vlan
add bridge=INET vlan-ids=1 tagged=sfp-sfpplus1,INET
add bridge=INET vlan-ids=2 tagged=sfp-sfpplus1,INET

/interface vlan
add interface=INET name=vlan1 vlan-id=1
add interface=INET name=vlan2 vlan-id=2
 
Kindis
Member
Member
Posts: 434
Joined: Tue Nov 01, 2011 6:54 pm
Location: Sweden

Re: Hardware Offloading Issue CRS305-1G-4S+

Thu Aug 19, 2021 11:44 pm

What you can read above but here is a link to the wiki for this.
https://wiki.mikrotik.com/wiki/Manual:C ... s_switches

Who is online

Users browsing this forum: benw, dwnldr and 127 guests