Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

How to get next available ip in DHCP Range

[ Edited ]
Member
Posts: 2
1898     0

Hello,

 

Greetings,

 

Am new to Infoblox and working on DHCP and DNS automation.

 

Question

 

I have subnet 167.93.24.0/25 in this subnet, i created ipv4 DHCP Range (167,93,24.89-168.94.24.123). how to get ip from DHCP Range. Is that possible with the below module? Let me know which ansible module will i need to use.

 

And i want to reserve the IP for future use.

 

#- name: Add host record over DHCP next available ip
# nios_host_record:
# name: 'abc.com'
# view: Test
# ipv4:
# - address: {nios_next_ip: 167.93.24.0/25}
# dhcp: true
# mac: 00:22:33:44:55:rf
# state: present
# provider: '{{provider}}'
# connection: local

 

Please direct me in correct direction if am wrong.

Re: How to get next available ip in DHCP Range

Member
Posts: 2
1899     0

Is that possible through API?

Showing results for 
Search instead for 
Did you mean: 

Recommended for You