THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

How to get next available ip in DHCP Range

[ Edited ]
New Member
Posts: 2
3716     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

New Member
Posts: 2
3717     0

Is that possible through API?

Re: How to get next available ip in DHCP Range

New Member
Posts: 1
3717     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