- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
How to get next available ip in DHCP Range
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 01:53 PM - edited 01-09-2020 02:09 PM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2020 08:45 AM
Is that possible through API?
Re: How to get next available ip in DHCP Range
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thursday
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