BWM feature rule to bypass interface Egress rate limit

PeterUK
PeterUK Posts: 4,132 image  Guru Member
250 Answers 2500 Comments Friend Collector Eighth Anniversary

How this would work and be useful if you don't have a L3 switch

On a FLEX 200 (non H) you limit on the interface LAN1 egress to 204800kbps but you have LAN2 and you want LAN1 to receive at full speed from LAN2 thats where this rule comes in to bypass the interface Egress rate limit by a rule LAN2 to LAN1.

Now you might think why not just not set a interface Egress rate limit and use BWM rules? Does not work the more rules you have like

rule 1 from LAN1 to WAN max inbound to 204800kbps

That on its own would work but if you did

rule 1 from LAN1 to WAN TCP_any Guaranteed inbound 102400kbps max inbound to 204800kbps
rule 2 from LAN1 to WAN UDP_any Guaranteed inbound 102400kbps max inbound to 204800kbps

Now you have a problem you want max speed at any given time but the max of 200Mb but with the above its 400Mb if both protocols are used where as with interface Egress rate limit at 204800kbps the two protocols stay under 200Mb and BWM does what it can to deliver so if TCP is only used 200Mb if UDP is only use 200Mb if both 200Mb

2 votes

Active · Last Updated

Comments

  • Zyxel_Melen
    Zyxel_Melen Posts: 3,954 image  Guru Member
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @PeterUK

    So, you need:

    1. From LAN 1 to any egress to 204800kbps (inbound 204800kbps).
    2. From LAN 1 to LAN 2 without the limit above.

    For this purpose, if you use:

    1. rule 1 from LAN1 to WAN max inbound to 204800kbps.
    2. rule 1 from LAN1 to WAN TCP_any Guaranteed inbound 102400kbps max inbound to 204800kbps
    3. rule 2 from LAN1 to WAN UDP_any Guaranteed inbound 102400kbps max inbound to 204800kbps

    With these three rules (what's the priority of these rule?), the maximum speed will not reach 400M but share with in 200M?

    Zyxel Melen


  • PeterUK
    PeterUK Posts: 4,132 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    edited September 25

    So Melen

    Its more from LAN2 to LAN1 where LAN1 is receiving

    That not how BWM rules(but I with test to be sure) works priority is 7 (on all rules as the way priority works is unforgiven unless used correctly with the current way it works) if the rules follow in order the 1st rule will only happen for all protocols rule 2 and 3 will not happen?

    Edit after testing here yes rule 1 is used the other rules are not used

    Then the other problem is what if you have traffic from WAN to LAN1 which will push over the 200Mb if both sides LAN1 to WAN and WAN to LAN1 happen at the same time.

  • Zyxel_Melen
    Zyxel_Melen Posts: 3,954 image  Guru Member
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @PeterUK

    Thank you update the test result. However, I still can't get the picture of the first request. Could you have a configuration screenshot with us, so we can better understand the current issue?

    Zyxel Melen


  • PeterUK
    PeterUK Posts: 4,132 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary

    I really don't get why this is hard to understand?

    You have clients on two different subnet LAN's you want that to be fast but you want a total egress when clients download from internet with rules per given services you simplify can't do that currently. You WANT to set the LAN interface to a fixed speed and we can do any number here but then LAN to LAN is slow due to that interface limit SO you need a way to bypass the interface rate egress limit. Should be just a case if sending packets out of the interface rate egress limit.

    In a simple test I limit to 80Mb with rule 1 all services rule two UDP with a Guaranteed of 70Mb and rule 3 TCP at 80Mb

    rule 2 and 3 don't get used how do I know this I run a YouTube 4K Video by UDP (QUIC) then with a download Manager to a big file by 8 threads the Video will buffer using rule 1 but if the remove the 1st rule put a Egress rate of 80Mb on the interface then Video and download run fine but LAN to LAN is slow.

    Screenshot 2025-10-03 041613.png Screenshot 2025-10-03 041701.png Screenshot 2025-10-03 041727.png Screenshot 2025-10-03 041749.png