SRX Services Gateway
Highlighted
SRX Services Gateway

Why is SRX not respecting static ip allocations?

‎01-20-2018 06:27 PM

I have noticed that when i set static ips on the virtual machines i have juniper DHCP still assigns those ips to new virtual machines that are created

 

Why is srx not respecting the static ip assignments?

 

1 ACCEPTED SOLUTION

Accepted Solutions
SRX Services Gateway
Solution
Accepted by topic author junipersrx240
‎01-21-2018 05:10 PM

Re: Why is SRX not respecting static ip allocations?

‎01-21-2018 04:11 AM

The SRX DHCP server only knows what pool you gave it to use for addresses.  It does not have the probe before issuing option.  So you have two options when you want to assign a static address inside the range you already configured for the SRX DHCP server.

 

Recofigure the range to exclude the static address

 

Assign the address to the devices mac address via static reservation.  Here the DHCP server will only give that address to the assigned mac address so it will no longer be used.

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/security-dhcp-static-add...

 

 

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
2 REPLIES 2
SRX Services Gateway
Solution
Accepted by topic author junipersrx240
‎01-21-2018 05:10 PM

Re: Why is SRX not respecting static ip allocations?

‎01-21-2018 04:11 AM

The SRX DHCP server only knows what pool you gave it to use for addresses.  It does not have the probe before issuing option.  So you have two options when you want to assign a static address inside the range you already configured for the SRX DHCP server.

 

Recofigure the range to exclude the static address

 

Assign the address to the devices mac address via static reservation.  Here the DHCP server will only give that address to the assigned mac address so it will no longer be used.

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/security-dhcp-static-add...

 

 

 

Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
http://puluka.com/home
SRX Services Gateway

Re: Why is SRX not respecting static ip allocations?

‎01-21-2018 05:10 PM

yeah i remembered i opened a question on this case before as well

forgot juniper has no way to respect static ip allocations

 

so yeah i remember i had to add the list of ips to remove from pool