> Instead of requesting a specific address, have you tried to supersede
> the given one with your address in /etc/dhclient.conf?
Yes, I have tried, but it doesn't work as expected. 
$ cat /etc/dhclient.conf
supersede dhcp-requested-address 192.168.1.104;

$ dhclient -v vr0
vr0: DHCPREQUEST to 255.255.255.255
vr0: DHCPACK from 192.168.1.1 (b0:48:7a:a5:86:15)
vr0: 192.168.1.103 lease accepted from 192.168.1.1 (b0:48:7a:a5:86:15)

Even if "supersede option" changes the gives IP address to the my_address I'm 
afraid it's not what I need because the given IP address is in 
/var/db/dhcpd.leases (instead of the my_addrees) and DHCPD can give my_address 
to other client. Am I rigth?


On Wed, 20 Jan 2021 09:38:13 +0100
Marco Scholz <t...@disroot.org> wrote:

> On Tue, Jan 19, 2021 at 08:56:39PM +0100, Radek wrote:
> > I can't manage to request a specific IP address from DHCP server.
> [...]
> 
> Instead of requesting a specific address, have you tried to supersede
> the given one with your address in /etc/dhclient.conf?
> 
> man dhclient.conf
> 
> 
> Marco.
> 


-- 
Radek

Reply via email to