This article provides information about the support extended by SRX for ECMP flow-based forwarding. SRX, beginning with 12.1, supports it.
Support extended by SRX for ECMP flow-based forwarding
Setup:
1.1.1.122 PC1 ---+ +--------+ | | | +-----SRX Router----Server | | | 192.168.200.1 PC2----+ +--------+ 1.1.1.123
routing-options { forwarding-table { export lb; } } ... policy-options { policy-statement lb { then { load-balance per-packet; } } }
[email protected]> show route 192.168.200/24 inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 192.168.200.0/24 *[OSPF/10] 00:25:09, metric 2 > to 10.1.90.1 via ge-0/0/5.0 to 10.1.89.1 via ge-0/0/7.0
[email protected]# run show security flow session protocol tcp Session ID: 872, Policy name: t2ut/4, Timeout: 1754, Valid In: 1.1.1.122/43805 --> 192.168.200.1/23;tcp, If: ge-0/0/2.0, Pkts: 77, Bytes: 3199 Out: 192.168.200.1/23 --> 1.1.1.122/43805;tcp, If: ge-0/0/5.0, Pkts: 76, Bytes: 3340 Session ID: 928, Policy name: t2ut/4, Timeout: 1798, Valid In: 1.1.1.123/49817 --> 192.168.200.1/23;tcp, If: ge-0/0/2.0, Pkts: 88, Bytes: 3648 Out: 192.168.200.1/23 --> 1.1.1.123/49817;tcp, If: ge-0/0/7.0, Pkts: 87, Bytes: 3752
[email protected]# run show security flow session protocol tcp Session ID: 872, Policy name: t2ut/4, Timeout: 1754, Valid In: 1.1.1.122/43805 --> 192.168.200.1/23;tcp, If: ge-0/0/2.0, Pkts: 77, Bytes: 3199 Out: 192.168.200.1/23 --> 1.1.1.122/43805;tcp, If: ge-0/0/5.0, Pkts: 76, Bytes: 3340 Session ID: 928, Policy name: t2ut/4, Timeout: 1798, Valid In: 1.1.1.123/49817 --> 192.168.200.1/23;tcp, If: ge-0/0/2.0, Pkts: 88, Bytes: 3648
Out: 192.168.200.1/23 --> 1.1.1.123/49817;tcp, If: ge-0/0/7.0, Pkts: 87, Bytes: 3752
2020-07-29: Added link to "ECMP Flow-Based Forwarding" document.