Infoblox Exchange Cybersecurity Roadshow 2020 – Join us!
North America | Europe | Middle East/Africa | Asia-Pacific

API & Integration

Reply

How to get next available ip in DHCP Range

[ Edited ]
go2sekhar
Techie
Posts: 2
106     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

go2sekhar
Techie
Posts: 2
107     0

Is that possible through API?

Showing results for 
Search instead for 
Do you mean 

Recommended for You