On Debian 10 (buster), I configured the DHCP with the MAC address but it does not work.
When i use "ifup" command, the result is wrong.
I need to configure this IP: 192.168.251.11
but DHCP attributes this IP : 192.168.251.143
Example with ifup
# ifup eno1
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eno1/b8:cb:29:dd:b2:1e
Sending on LPF/eno1/b8:cb:29:dd:b2:1e
Sending on Socket/fallback
DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eno1 to 255.255.255.255 port 67 interval 12
DHCPOFFER of 192.168.251.143 from 192.168.251.2
DHCPREQUEST for 192.168.251.143 on eno1 to 255.255.255.255 port 67
DHCPACK of 192.168.251.143 from 192.168.251.2
bound to 192.168.251.143 -- renewal in 1512 seconds.
Example with dhclient
IP is correct.
# dhclient -v eno1
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eno1/b8:cb:29:dd:b2:1e
Sending on LPF/eno1/b8:cb:29:dd:b2:1e
Sending on Socket/fallback
DHCPREQUEST for 192.168.251.11 on eno1 to 255.255.255.255 port 67
DHCPREQUEST for 192.168.251.11 on eno1 to 255.255.255.255 port 67
DHCPACK of 192.168.251.11 from 192.168.251.2
bound to 192.168.251.11 -- renewal in 8182 seconds.
I would like to understand the difference and resolve the problem.
When the server reboot, the wrong IP is attributed.
Thank for your help and explanation.