Community discussions

MikroTik App
 
ibr771
just joined
Topic Author
Posts: 7
Joined: Fri Jun 12, 2015 10:33 pm

SMB bandwidth limit

Wed Feb 22, 2017 11:47 am

Hello


I have RouterBoard RB2011
I Use it for Merge lines and limit bandwidth for users and smb share drive

I want to open speed for SMB I do this in firewall to packet-mark SMB traffic but Its not work
/ip firewall mangle
add action=mark-packet chain=prerouting comment=SMB hotspot="" new-packet-mark=SMB passthrough=yes port=137 protocol=tcp
add action=mark-packet chain=prerouting comment=SMB hotspot="" new-packet-mark=SMB passthrough=yes port=137 protocol=udp
add action=mark-packet chain=prerouting comment=SMB hotspot="" new-packet-mark=SMB passthrough=yes port=139 protocol=udp
add action=mark-packet chain=prerouting comment=SMB hotspot="" new-packet-mark=SMB passthrough=yes port=138 protocol=tcp
/queue tree
add max-limit=100M name=queue2 packet-mark=SMB parent=global

please help
 
mpreissner
Member
Member
Posts: 357
Joined: Tue Mar 11, 2014 11:16 pm
Location: Columbia, MD

Re: SMB bandwidth limit

Wed Feb 22, 2017 4:29 pm

SMB uses TCP port 445 by default. The ports you've set up in your mangle rules are associated with NetBIOS.
 
ibr771
just joined
Topic Author
Posts: 7
Joined: Fri Jun 12, 2015 10:33 pm

Re: SMB bandwidth limit

Thu Feb 23, 2017 7:58 pm

SMB uses TCP port 445 by default. The ports you've set up in your mangle rules are associated with NetBIOS.
Thank u for replay

I do this port 445 but the queuses Tree not open speed
 
mpreissner
Member
Member
Posts: 357
Joined: Tue Mar 11, 2014 11:16 pm
Location: Columbia, MD

Re: SMB bandwidth limit

Fri Feb 24, 2017 3:18 pm

Probably an issue in the queue config. I'm definitely not an expert with how MikroTik does QoS...I have no need for it on my network, so I don't think I can help you any further with it.

Who is online

Users browsing this forum: No registered users and 24 guests