Reserving ip address on DHCP Server

Issues related to configuring your network
Post Reply
Posts: 2
Joined: 2020/10/04 06:57:32

Reserving ip address on DHCP Server

Post by benn » 2020/10/12 22:49:53

Hi All,
I have dhcp server based on CentOs 8 and i have a ansible server also based on CentOs 8.
When the dhcp server recognize new client he send notify to Ansible server.
Then the ansible server starting playbook for new client.
One of the tasks is to configure currently date and time.
But after the set new date and time, the dhcp server set new ip address to client.
Just happening because the "max-lease-time" is over.

There is anyway to reserving ip address without enter the mac address?

Because the all point for this configuration is to do it automatically.

Many thanks,

User avatar
Posts: 3101
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Reserving ip address on DHCP Server

Post by jlehtone » 2020/10/13 06:35:50

How does "dhcp server recognize new client"? If it can act on that, that action could include registering the client.

DHCP servers tend to by default offer the same lease, unless there are so many clients that it runs out of addresses.
Lets assume that you have automated system and many new clients. What if you run out of addresses?

Post Reply

Return to “CentOS 8 - Networking Support”