Fortinet white logo
Fortinet white logo

FortiGate-7000E Handbook

Setting the load balancing method

Setting the load balancing method

Sessions are load balanced or distributed based on the load balancing method set by the following command:

config load-balance setting

set dp-load-distribution-method {to-master | src-ip | dst-ip | src-dst-ip | src-ip-sport | dst-ip-dport | src-dst-ip-sport-dport}

end

The default load balancing method, src-dst-ip-sport-dport, distributes sessions across all FPMs according to their source and destination IP address, source port, and destination port. This load balancing method represents true session-aware load balancing. Session aware load balancing takes all session information into account when deciding where to send new sessions and where to send additional packets that are part of an already established session.

For information about the other load balancing methods, see config load-balance setting.

Setting the load balancing method

Setting the load balancing method

Sessions are load balanced or distributed based on the load balancing method set by the following command:

config load-balance setting

set dp-load-distribution-method {to-master | src-ip | dst-ip | src-dst-ip | src-ip-sport | dst-ip-dport | src-dst-ip-sport-dport}

end

The default load balancing method, src-dst-ip-sport-dport, distributes sessions across all FPMs according to their source and destination IP address, source port, and destination port. This load balancing method represents true session-aware load balancing. Session aware load balancing takes all session information into account when deciding where to send new sessions and where to send additional packets that are part of an already established session.

For information about the other load balancing methods, see config load-balance setting.