[opensuse] Force dhcp client to request new address - Network Manager 15.0
Is there any way to force the DHCP client to do a full DHCP request, that is discover, offer, request, ack sequence? Currently, if the client runs within the existing lease time, then it just does a request, ack. I have tried dhclient -r, but that doesn't do it. If fact, a packet capture shows it doesn't do anything, not even send the DHCP release to the server. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
20.07.2019 17:10, James Knott пишет:
Is there any way to force the DHCP client to do a full DHCP request, that is discover, offer, request, ack sequence? Currently, if the client runs within the existing lease time, then it just does a request, ack.
I have tried dhclient -r, but that doesn't do it. If fact, a packet capture shows it doesn't do anything, not even send the DHCP release to the server.
dhclient -r releases those leases that are recorded in leases database. Are you sure dhclient was used to configure interface in the first place? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2019-07-20 04:50 PM, Andrei Borzenkov wrote:
20.07.2019 17:10, James Knott пишет:
Is there any way to force the DHCP client to do a full DHCP request, that is discover, offer, request, ack sequence? Currently, if the client runs within the existing lease time, then it just does a request, ack.
I have tried dhclient -r, but that doesn't do it. If fact, a packet capture shows it doesn't do anything, not even send the DHCP release to the server.
dhclient -r releases those leases that are recorded in leases database. Are you sure dhclient was used to configure interface in the first place?
I use whatever KDE Network Manager uses. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
21.07.2019 0:06, James Knott пишет:
On 2019-07-20 04:50 PM, Andrei Borzenkov wrote:
20.07.2019 17:10, James Knott пишет:
Is there any way to force the DHCP client to do a full DHCP request, that is discover, offer, request, ack sequence? Currently, if the client runs within the existing lease time, then it just does a request, ack.
I have tried dhclient -r, but that doesn't do it. If fact, a packet capture shows it doesn't do anything, not even send the DHCP release to the server.
dhclient -r releases those leases that are recorded in leases database. Are you sure dhclient was used to configure interface in the first place?
I use whatever KDE Network Manager uses.
So you need to provide the same options that KDE Network Manager uses. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2019-07-20 05:13 PM, Andrei Borzenkov wrote:
I use whatever KDE Network Manager uses.
So you need to provide the same options that KDE Network Manager uses.
Does NM provide a function to force a DHCP release? I haven't seen it. Does it use dhclient? If not, what? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
21.07.2019 0:20, James Knott пишет:
On 2019-07-20 05:13 PM, Andrei Borzenkov wrote:
I use whatever KDE Network Manager uses.
So you need to provide the same options that KDE Network Manager uses.
Does NM provide a function to force a DHCP release?
I do not know.
I haven't seen it. Does it use dhclient? If not, what?
It may use dhclient depending on what is installed and/or configured. man NetworkManager.conf /dhcp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 21/07/2019 06.45, Andrei Borzenkov wrote:
21.07.2019 0:20, James Knott пишет:
On 2019-07-20 05:13 PM, Andrei Borzenkov wrote:
I use whatever KDE Network Manager uses.
So you need to provide the same options that KDE Network Manager uses.
Does NM provide a function to force a DHCP release?
I do not know.
I haven't seen it. Does it use dhclient? If not, what?
It may use dhclient depending on what is installed and/or configured.
man NetworkManager.conf /dhcp
In my laptop here, I see the option is missing from the config file. That means it uses dhcient if installed, if not dhcpcd; if not installed, the internal. News to me, thanks. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 2019-07-21 12:45 AM, Andrei Borzenkov wrote:
I haven't seen it. Does it use dhclient? If not, what?
It may use dhclient depending on what is installed and/or configured.
man NetworkManager.conf /dhcp
more NetworkManager.conf [main]
Here's all it shows: plugins=keyfile [connectivity] uri=http://conncheck.opensuse.org That's it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Carlos E. R.
-
James Knott