I have two IPs in the same reth in SRX650 and need to know how to let one of them as secondary IP becasue its now default ip for the two network.
Appreciate your help
In JUNOS, by default, the numerically lowest IP is primary.
If You want to override that, mark Your desired IP as "primary" and everything else will be secondary.
Example with 3 IP on the same interface:
set interfaces reth0.0 family inet address 203.0.113.1/25 primary
set interfaces reth0.0 family inet address 198.51.100.1/26
set interfaces reth0.0 family inet address 10.10.9.8/24
Please go through the below document and let me know if you need any help.
Please mark "Accepted Solution" if this helps.
Kudos are always appreciated
Please familiarize yourself with "primary" and "preferred" option that can be configured to an interface.
If you have multiple IP addresses of the different subnet, use "primary" option as suggested by Alex in the earlier post.
If you have multiple IP addresses of the same subnet, use "preferred" option.