Cato Networks Knowledge Base

Active/Active Traffic Distribution

  • Updated

How is traffic distributed across the WAN links of a Socket in Active/Active mode?

Traffic will be distributed across the WAN links in proportion to the ratio of the configured bandwidths for each link. The distribution is flow-based rather than packet-based.

A flow is a conversation between a client and a server in which all the packets share the same 5-tuple:

  1. Source IP address
  2. Source port
  3. Protocol
  4. Destination IP address
  5. Destination port

Example Flow

A user with IP address 192.168.1.20 connects to a mail server with IP address 10.10.10.2 to send an email. A flow is created with the following 5-tuple:

  1. Source IP: 192.168.1.20
  2. Source port: 34579
  3. Protocol: TCP
  4. Destination IP: 10.10.10.2
  5. Destination port: 25

How Distribution Works

Consider the active/active configuration below. The WAN1 link is configured with a bandwidth of 100 Mbps down/up, and the WAN2 link is configured with 20 Mbps down/up.

 

Active-Active_Socket.png

In this configuration, the WAN1:WAN2 bandwidth ratio is 100:20 or 5:1 for both upstream and downstream traffic. Therefore, five flows will be sent to WAN1 for every one flow that is sent to WAN2.

The Socket and the PoP that it's connected to share the duties of flow distribution. The Socket itself only takes the upstream bandwidth into consideration because it only controls the traffic sent from the Socket to the PoP (upstream traffic). The PoP takes the downstream bandwidth of the Socket into consideration because it controls the traffic sent from the PoP to the Socket (downstream traffic).

Failover

If one of the WAN links goes down, packets belonging to flows that were assigned to that link will be sent to the WAN link that is still up. This ensures that any existing flows will not be discarded, although a slight, temporary disruption may be observed for connection-sensitive applications like video conferencing during the failover process.

Was this article helpful?

7 out of 8 found this helpful

Comments

0 comments

Please sign in to leave a comment.