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
2249     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
2250     0

Is that possible through API?

Re: How to get next available ip in DHCP Range

Member
Posts: 1
2250     0

Hi guys,

 

Im trying to get an next available IP from DHCP but no luck yet let me know this playbook worked. IF can this is rally means to me.

 

Channa

Showing results for 
Search instead for 
Did you mean: 

Recommended for You