<div dir="ltr">Feature <a href="https://github.com/FRRouting/frr/issues/15464">URL</a><div><br></div><div><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Hi everyone,<br style="box-sizing:border-box">We'd like to propose the addition of a new keyword, "setorder", to the IP address configuration command. This keyword would allow users to specify the order in which IP addresses are applied to an interface, ensuring consistent behavior regardless of the order they are entered.</p><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><strong style="box-sizing:border-box">Motivation</strong><br style="box-sizing:border-box">Currently, the order in which IP addresses are configured on an interface can potentially impact functionality in some scenarios. With setorder, users can define a clear and predictable order for IP usage, eliminating this potential source of inconsistency.</p><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><strong style="box-sizing:border-box">Proposed Solution</strong><br style="box-sizing:border-box">The setorder keyword would be added as an optional parameter to the IP address configuration command. It would accept an integer value representing the desired order for that specific IP address. Lower values indicate a higher priority.</p><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><strong style="box-sizing:border-box">Example Configuration</strong><br style="box-sizing:border-box">R1# interface eth3<br style="box-sizing:border-box">R1# ip address 89.A.B.2/32 setorder 5<br style="box-sizing:border-box">R1# ip address <a href="http://10.100.2.1/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">10.100.2.1/32</a> setorder 6<br style="box-sizing:border-box">R1# ip address <a href="http://16.16.2.1/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">16.16.2.1/32</a> setorder 3<br style="box-sizing:border-box">R1# ip address <a href="http://83.83.2.6/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">83.83.2.6/32</a><br style="box-sizing:border-box">R1# ip address <a href="http://63.63.2.6/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">63.63.2.6/32</a></p><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">In this example, the IP addresses would be applied in the following order (ascending setorder value):<br style="box-sizing:border-box"><a href="http://16.16.2.1/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">16.16.2.1/32</a> (setorder 3)<br style="box-sizing:border-box">89.A.B.2/32 (setorder 5)<br style="box-sizing:border-box"><a href="http://10.100.2.1/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">10.100.2.1/32</a> (setorder 6)<br style="box-sizing:border-box">The remaining two IP addresses (without setorder) would retain their current behavior.</p><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><strong style="box-sizing:border-box">Expected Output (After FRR Reload)</strong><br style="box-sizing:border-box">interface eth3<br style="box-sizing:border-box">ip address <a href="http://16.16.2.1/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">16.16.2.1/32</a> setorder 3<br style="box-sizing:border-box">ip address 89.A.B.2/32 setorder 5<br style="box-sizing:border-box">ip address <a href="http://10.100.2.1/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">10.100.2.1/32</a> setorder 6<br style="box-sizing:border-box">ip address <a href="http://83.83.2.6/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">83.83.2.6/32</a><br style="box-sizing:border-box">ip address <a href="http://63.63.2.6/32" rel="nofollow" style="box-sizing:border-box;background-color:transparent">63.63.2.6/32</a></p><p dir="auto" style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Is the proposed setorder solution acceptable for achieving predictable IP address order on interfaces? If not, please provide details on any concerns or alternative approaches you may have.</p><p dir="auto" style="box-sizing:border-box;margin-top:0px;color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px">Thanks<br style="box-sizing:border-box">Denny Agussy</p></div></div>

<br>
<p align="center" style="text-align:center"><span style="font-family:Calibri">****** DISCLAIMER - <wbr>MSysTechnologies LLC ******</span><span style="font-family:Calibri"></span></p><p><span style="font-family:Calibri"> </span></p><p><span style="font-family:Calibri">This email message, contents <wbr>and its attachments may <wbr>contain confidential, <wbr>proprietary or legally <wbr>privileged information and is <wbr>intended solely for the use <wbr>of the individual or entity <wbr>to whom it is actually <wbr>intended. If you have <wbr>erroneously received this <wbr>message, please permanently <wbr>delete it immediately and <wbr>notify the sender. If you are <wbr>not the intended recipient of <wbr>the email message,you are <wbr>notified strictly not to <wbr>disseminate,distribute or <wbr>copy this e-mail.E-mail <wbr>transmission cannot be <wbr>guaranteed to be secure or <wbr>error-free as Information <wbr>could be intercepted, <wbr>corrupted, lost, destroyed, <wbr>incomplete or contain viruses <wbr>and MSysTechnologies LLC <wbr>accepts no liability for the <wbr>contents and integrity of <wbr>this mail or for any damage <wbr>caused by the limitations of <wbr>the e-mail transmission.</span><span style="font-family:Calibri"></span></p>