Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:load_balancer:start [2024/03/29 15:53] – [Table] elena.krasnobryzh | en:dpi:load_balancer:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{indexmenu_n> | ||
| - | ======Load balancer====== | ||
| - | =====Description and cases===== | ||
| - | The SSG can act as a traffic balancer based on IP addresses belonging to an AS defined as '' | ||
| - | In this case, the SSG-LB acts as an L2-bridge in the network, hence the name L2 traffic balancer. | ||
| - | < | ||
| - | ====Case: Balancer on a traffic mirror==== | ||
| - | Suppose a 400Gbps traffic mirror needs to be evenly distributed among four VAS platforms (Value-Added Services) performing traffic analysis and various detection.\\ | ||
| - | In this case, SSG-LB will evenly distribute traffic with equal port utilization on the pullers and maintain traffic symmetry (traffic from one session will be directed to only one puller). | ||
| - | |||
| - | {{ : | ||
| - | **Example configuration / | ||
| - | * Traffic mirroring is fed into 4x100G interfaces. | ||
| - | * Traffic is balanced between four pullers, each puller is connected by 4x25G links. | ||
| - | <code bash> | ||
| - | in_dev=05-00.0: | ||
| - | out_dev=01-00.0: | ||
| - | |||
| - | #FastDPI Control | ||
| - | ctrl_port=29000 | ||
| - | ctrl_dev=lo | ||
| - | |||
| - | #Turn on Load Balancing | ||
| - | enable_l2_lb=1 | ||
| - | |||
| - | #Balance algorithm | ||
| - | maglev=2 | ||
| - | |||
| - | #Hash table | ||
| - | lb_hash_out_dev_type=1 | ||
| - | |||
| - | </ | ||
| - | =====Setting===== | ||
| - | ====Setting up subnets for balancing==== | ||
| - | Balancing applies only to IP addresses belonging to the AS defined as '' | ||
| - | - Define an autonomous system with IP addresses that are used by subscribers:< | ||
| - | 10.0.0.0/8 64511 | ||
| - | 172.16.0.0/ | ||
| - | 192.168.0.0/ | ||
| - | cat aslocal.txt | as2bin / | ||
| - | - [[en: | ||
| - | - [[en: | ||
| - | - Mark a given autonomous system as local:< | ||
| - | 64511 local | ||
| - | 10415 local | ||
| - | cat my_as_dscp.txt | as2dscp / | ||
| - | - A reload must be performed to apply the parameters:< | ||
| - | ====Setting / | ||
| - | - Define the input and output interfaces in the configuration file.\\ The input interfaces to which the traffic mirror is fed are specified in the '' | ||
| - | out_dev=08-00.0: | ||
| - | out_dev=out_dev=08-00.0: | ||
| - | - Enable balancing mode in the '' | ||
| - | * '' | ||
| - | * '' | ||
| - | - Determine by what value to initialize the hash table in the '' | ||
| - | * '' | ||
| - | * '' | ||
| - | - Select an engine to handle thread dispatchers in the '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | - Select a balancing algorithm. The '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | =====SSG-LB equipment requirements===== | ||
| - | ^ Max IN traffic\\ Gbps \\ (Mirror on SSG-LB) | ||
| - | | up to 100 | up to 100 | **SSG-100-LB** | ||
| - | | up to 200 | up to 200 | **SSG-200-LB** | ||
| - | | up to 300 | up to 300 | **SSG-300-LB** | ||
| - | | up to 400 | up to 400 | **SSG-400-LB** | ||
| - | |||
| - | |||