Community discussions

MikroTik App
 
fabieng
just joined
Topic Author
Posts: 11
Joined: Tue May 14, 2019 10:29 am

Problem with setting a priority bit on outgoing traffic

Tue Mar 29, 2022 6:47 pm

Hello, I have an issue at work with a RB5009 and our ISP ,
the ISP is requesting that identify with pppoe over the vlan 2900
/interface vlan add interface=ether1-WAN name=vlan2900-WAN vlan-id=2900
/interface pppoe-client add add-default-route=yes dial-on-demand=yes disabled=no interface=vlan2900-WAN name=fibre-pppoe password=password user=login
But they also request that we add the priority bit "2" to all outgoing traffic
on the RB3011 that was used until the purchase of the RB5009 we did a
/interface ethernet switch rule add new-vlan-priority=2 ports=switch1-cpu src-mac-address=C4:AD:34:AB:CD:EF/FF:FF:FF:FF:FF:FF switch=switch1
But on the RB5009 the same command (with the mac address changed) give me a
failure: new-vlan-priority not supported for this switch
Please , i need your help to find an alternate way to send that pbit down ether1.
without it , i get about 10% of the speed i pay for.
 
User avatar
jprietove
Trainer
Trainer
Posts: 212
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Problem with setting a priority bit on outgoing traffic

Tue Mar 29, 2022 8:13 pm

Try this:
/interface list add name=wan-p2
/interface list member add list=wan-p2 member=vlan2900-WAN
/interface list member add list=wan-p2 member=fibre-pppoe
/ip firewall mangle add chain=output out-interface-list=wan-p2 action=set-priority new-priority=2
/ip firewall mangle add chain=forward out-interface-list=wan-p2 action=set-priority new-priority=2
 
fabieng
just joined
Topic Author
Posts: 11
Joined: Tue May 14, 2019 10:29 am

Re: Problem with setting a priority bit on outgoing traffic

Wed Mar 30, 2022 11:47 am

thanks Javier ,
i will try this now
 
fabieng
just joined
Topic Author
Posts: 11
Joined: Tue May 14, 2019 10:29 am

Re: Problem with setting a priority bit on outgoing traffic

Wed Mar 30, 2022 1:22 pm

hello ,
i'm not sure this is working , i have the same speed before and after ,

i had to do some modifications on your commands (in bold)
/interface list member add list=wan-p2 interface=vlan2900-WAN
/interface list member add list=wan-p2 interface=fibre-pppoe
/interface list member add list=wan-p2 interface=ether1
/ip firewall nat add action=masquerade chain=srcnat ipsec-policy=out,none out-interface-list=wan-p2
 
User avatar
jprietove
Trainer
Trainer
Posts: 212
Joined: Fri Jun 03, 2016 3:00 pm
Location: Cádiz, Spain
Contact:

Re: Problem with setting a priority bit on outgoing traffic

Wed Mar 30, 2022 3:14 pm

Well, the truth is that I wrote the commands with no router with me, so the syntax error.

About masquerade, I thought you had that rule previously created.

Does it work? Use tool sniffer to check if priority is being used

Who is online

Users browsing this forum: astons2, biramarjunior and 54 guests