SRX Services Gateway
Highlighted
SRX Services Gateway

How to adding secondary IP for reth

2 weeks ago

Hello

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

 

Thanks

3 REPLIES 3
Highlighted
SRX Services Gateway

Re: How to adding secondary IP for reth

2 weeks ago

Hello,

 

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 

 

 

 

HTH

Thx

Alex

 

 

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Highlighted
SRX Services Gateway

Re: How to adding secondary IP for reth

2 weeks ago

Hi mahmoud.marie@dpwor…

 

Good day!!

 

Please go through the below document and let me know if you need any help.

 

https://www.juniper.net/documentation/en_US/junos/topics/example/ip-monitor-high-end-srx-series-conf...

 

Please mark "Accepted Solution" if this helps.

Kudos are always appreciated


Thanks

Suraj

 

 

Highlighted
SRX Services Gateway

Re: How to adding secondary IP for reth

Monday

Hi Mahmoud,

 

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.

 

Good Day!!!



Thanks,
π00bm@$t€®.
Please, Mark My Solution Accepted if it Helped, Kudos are Appreciated too!!!