vtysh, they are installed in the order specified. However, once the configuration is saved, the order of IP addresses in the configuration file is rearranged in ascending order. This reordering can be problematic in scenarios where a specific IP address order is necessary. For example, a loopback interface might have both public and private IP addresses, and it is desirable for the public IP to be the first in order to facilitate standard system operations such as updates.To address this issue, I propose adding a new command to the FRR CLI that allows users to set the order of IP addresses explicitly. This command, set_order position(int), would enable users to specify the desired position of each IP address on an interface.
New CLI Command:
set_order position(int): This command will allow users to specify the position of an IP address on an interface.interface lo ip address 192.0.2.1/32 ip address 198.51.100.1/32 set_order 198.51.100.1/32 1
In the example above, the IP address 198.51.100.1/32 is set to be the first IP address on the loopback interface lo.
Behavior:
set_order command is used, the specified IP address will be positioned accordingly in the running configuration.Benefits:
I believe this enhancement will significantly benefit users who need precise control over IP address order on interfaces, particularly for loopback interfaces with multiple IP addresses. I am willing to contribute to the development and testing of this feature and would appreciate the community's feedback and support.
Thank you for considering this proposal. I look forward to your feedback and am happy to discuss this further.
| ||||||||||||||
| ||||||||||||||
****** DISCLAIMER -
This email message, contents