Fw: Re: How to request a specific IP address from DHCP server

2021-01-22 Thread Radek
Forward. Begin forwarded message: Date: Thu, 21 Jan 2021 16:32:55 +0100 From: Radek To: Allan Streib Subject: Re: How to request a specific IP address from DHCP server > Can you configure a permanent IP address in the client configuration > (hostname.if file) that is outside the

Re: How to request a specific IP address from DHCP server

2021-01-22 Thread Radek
> 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

Re: How to request a specific IP address from DHCP server

2021-01-20 Thread Marco Scholz
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.

Re: How to request a specific IP address from DHCP server

2021-01-19 Thread Allan Streib
Radek writes: > I don't have an access to the DHCP server side. That's the problem and > I'm trying to find a way to have the same IP address at any time. The > client is permanently connected to the network. Can you configure a permanent IP address in the client configuration (hostname.if

Re: How to request a specific IP address from DHCP server

2021-01-19 Thread Radek
> You're using the wrong tool for the job, use an address reservation > bound to the client MAC on the DHCP server instead. I don't have an access to the DHCP server side. That's the problem and I'm trying to find a way to have the same IP address at any time. The client is permanently connected

Re: How to request a specific IP address from DHCP server

2021-01-19 Thread Peter Kay
On Tue, 19 Jan 2021 at 20:57, Radek wrote: > > Hi, > I can't manage to request a specific IP address from DHCP server. It is just > a testing lab, the requiested IP address (.104) isn't used by any other > client. What I'm doing wrong? You're using the wrong tool for the job, use an address

How to request a specific IP address from DHCP server

2021-01-19 Thread Radek
Hi, I can't manage to request a specific IP address from DHCP server. It is just a testing lab, the requiested IP address (.104) isn't used by any other client. What I'm doing wrong? $ cat /etc/hostname.vr0 -inet dhcp $ cat /etc/dhclient.conf send dhcp-requested-address 192.168.1.104; $ sh