Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick Traffic Shaping: Difference between revisions

 
==Traffic Shaping configuration==
 
First we need some shapers - these define the speed lanes/tunnels/pipes:
<syntaxhighlight>
<shaper name="Customer A" egress="500000" ingress="500000"/>
<shaper name="Customer B" egress="3000000" ingress="3000000"/>
<syntaxhighlight>
 
Here we have defined 2 shapers, one with 500Kb/s up/down, and one with 3Mb/s up/down.
 
These shapers can then be used in rules, eg:
 
<route-override>
<rule name="Customer A" source-ip="192.0.2.2" set-graph="Customer A"/>
<rule name="Customer B" source-ip="192.0.2.3" set-graph="Customer B"/>
</route-override>
 
Here we have set specific IP addresses to go through specific shapers, so 192.0.2.2 will get 500K/bs and 192.0.2.3 will get 3Mb/s.
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,288

edits