The MA5200G supports VPDN load balancing when it serves as a LAC. How is the traffic distribution calculated on the MA5200G?
The principle of the calculation of traffic distribution on the MA5200G is as follows:
Assume that there are 1000 on-line users. If two tunnels are created for load balancing, the tunnel that the packets of subsequent users will enter is determined by the comparison of the product of the tunnel weight and the number of sessions on the corresponding tunnel. For example, the weight of tunnel 1 is 5, and the number of sessions in tunnel is 10; the weight of tunnel 2 is 3, and the number of sessions in tunnel 2 is 10. The following results are obtained:
weight1 x session1 = 5 x 10 = 50
weight2 x session2 = 3 x 10 = 30
Based on the result, tunnel 2 is selected for the packets of subsequent users because the product of the tunnel weight and the number of sessions in tunnel 1 is smaller.
Note: After a user dials up, a session is created. If the LNS fails, another dial-up attempt is required to use the tunnel between the LAC and another LNS. In this case, VPDN load balancing does not provide hot backup service for a single user.