Perform per-packet load balancing for all routes:
- [edit]
- policy-options {
-
- policy-statement load-balancing-policy {
-
- then {
- load-balance per-packet;
- }
- }
- }
- routing-options {
-
- forwarding-table {
- export load-balancing-policy;
- }
- }
Perform per-packet load balancing only for a limited set of routes:
- [edit]
- policy-options {
-
- policy-statement load-balancing-policy {
-
- from {
- route-filter 192.168.10/24 orlonger;
- route-filter 10.114/16 orlonger;
- }
-
- then {
- load-balance per-packet;
- }
- }
- }
- routing-options {
-
- forwarding-table {
- export load-balancing-policy;
- }
- }