Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #201583

Re: strange DHCP behaviour

From tony <lists@vanderhoff.org>
Newsgroups linux.debian.user
Subject Re: strange DHCP behaviour
Date 2018-10-24 13:20 +0200
Message-ID <wMpmF-1Bd-7@gated-at.bofh.it> (permalink)
References (1 earlier) <wMadX-124-1@gated-at.bofh.it> <wMn1w-6n-1@gated-at.bofh.it> <wMoqB-12T-3@gated-at.bofh.it> <wMoJX-195-1@gated-at.bofh.it> <wMp3j-1fI-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 24/10/2018 12:54, mick crane wrote:
> On 2018-10-24 11:39, tony wrote:
>> On 24/10/2018 12:11, mick crane wrote:
>>> On 2018-10-24 09:40, tony wrote:
>>>
>>>> I've flushed the lease several times (The dhclient -r command mentioned
>>>> above does that), and physically deleted the lease files.  No good!
>>>>
>>>
>>> Isn't that on the laptop and you need to get rid of the entry on the
>>> server ?
>>>
>>> mick
>>>
>>>
>> Well, it's the client that's requesting it; the server's just complying.
>>
> 
> why would client request a fixed ipaddress from dhcp server ?
> sure it's the server you need to flush.
> I could have a look on mine to see how in terminal but I want to make
> some sausage rolls.
> 

I have no idea, but it complies with the documentation. The client
should request a renewal of its existing lease, which the server will
acknowledge with DHCPACK if OK or a DHCPNAK if not. If the latter, then
the client should do a DHCPDISCOVER.

this is confirmed by the server log:
------------------------------------------------------------------
Oct 24 12:52:04 router-pi dhcpd[1068]: DHCPREQUEST for 192.168.1.254
from 0c:60:76:6c:e6:6f (tony-lt) via eth0
Oct 24 12:52:04 router-pi dhcpd[1068]: DHCPACK on 192.168.1.254 to
0c:60:76:6c:e6:6f via eth0
Oct 24 12:52:24 router-pi dhcpd[1068]: DHCPREQUEST for 192.168.1.244
from f4:81:39:82:53:c4 via eth0
Oct 24 12:52:24 router-pi dhcpd[1068]: DHCPACK on 192.168.1.244 to
f4:81:39:82:53:c4 via eth0
Oct 24 12:52:32 router-pi dhcpd[1068]: DHCPREQUEST for 192.168.1.254
from 0c:60:76:6c:e6:6f via eth0
Oct 24 12:52:32 router-pi dhcpd[1068]: DHCPACK on 192.168.1.254 to
0c:60:76:6c:e6:6f (tony-lt) via eth0
Oct 24 12:52:41 router-pi dhcpd[1068]: reuse_lease: lease age 9 (secs)
under 25% threshold, reply with unaltered, existing lease for 192.168.1.254
Oct 24 12:52:41 router-pi dhcpd[1068]: DHCPREQUEST for 192.168.1.254
from 0c:60:76:6c:e6:6f (tony-lt) via eth0
Oct 24 12:52:41 router-pi dhcpd[1068]: DHCPACK on 192.168.1.254 to
0c:60:76:6c:e6:6f (tony-lt) via eth0
------------------------------------------------------------------

Enjoy your sausage rolls!

Cheers, Tony

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

strange DHCP behaviour Tony van der Hoff <tony@vanderhoff.org> - 2018-10-23 16:20 +0200
  Re: strange DHCP behaviour Roberto C. Sánchez <roberto@debian.org> - 2018-10-23 16:30 +0200
    Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-23 18:10 +0200
  Re: strange DHCP behaviour Martin <keine-eile@online.de> - 2018-10-23 17:20 +0200
    Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-23 18:00 +0200
    Re: strange DHCP behaviour john doe <johndoe65534@mail.com> - 2018-10-23 18:40 +0200
      Re: strange DHCP behaviour john doe <johndoe65534@mail.com> - 2018-10-23 19:50 +0200
        Re: strange DHCP behaviour john doe <johndoe65534@mail.com> - 2018-10-23 20:10 +0200
          Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-24 10:40 +0200
      Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-23 19:50 +0200
  Re: strange DHCP behaviour mick crane <mick.crane@gmail.com> - 2018-10-23 21:10 +0200
    Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-24 10:50 +0200
      Re: strange DHCP behaviour mick crane <mick.crane@gmail.com> - 2018-10-24 12:20 +0200
        Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-24 12:40 +0200
          Re: strange DHCP behaviour mick crane <mick.crane@gmail.com> - 2018-10-24 13:00 +0200
            Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-24 13:20 +0200
  Re: strange DHCP behaviour deloptes <deloptes@gmail.com> - 2018-10-23 22:00 +0200
    Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-24 11:00 +0200
  Re: strange DHCP behaviour Reco <recoverym4n@enotuniq.net> - 2018-10-24 08:30 +0200
    Re: strange DHCP behaviour tony <lists@vanderhoff.org> - 2018-10-24 13:30 +0200
      Re: strange DHCP behaviour john doe <johndoe65534@mail.com> - 2018-10-24 13:40 +0200
        Re: strange DHCP behaviour [SOLVED] tony <lists@vanderhoff.org> - 2018-10-24 14:40 +0200
          Re: strange DHCP behaviour [SOLVED] <tomas@tuxteam.de> - 2018-10-24 14:50 +0200
            Re: strange DHCP behaviour [SOLVED] tony <lists@vanderhoff.org> - 2018-10-25 14:50 +0200
          Re: strange DHCP behaviour [SOLVED] Michael Stone <mstone@debian.org> - 2018-10-24 17:00 +0200

csiph-web