Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #201568
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: strange DHCP behaviour |
| Date | 2018-10-23 21:10 +0200 |
| Message-ID | <wMadX-124-1@gated-at.bofh.it> (permalink) |
| References | <wM5Hj-6JR-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2018-10-23 14:56, Tony van der Hoff wrote:
> Hi, I havea laptop running fully up to date Stretch with
> NetworkManager,
> set to use DH|Cp via wireless.
>
> The DHCP server is another Stretch system, with the stanzas
> host tony-lt {
> hardware ethernet 0c:60:76:6c:e6:6f;
> fixed-address 192.168.1.199;
> }
> subnet 192.168.1.0 netmask 255.255.255.0
> {
> range 192.168.1.200 192.168.1.254;
> option routers 192.168.1.10;
> }
>
> That MAC is correct for the laptop.
>
> I an expecting to see 192.168.1.199 as the laptop address, but no, if a
> gives:
> wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
> group default qlen 1000
> link/ether 0c:60:76:6c:e6:6f brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.253/24 brd 192.168.1.255 scope global dynamic wlan0
> valid_lft 479sec preferred_lft 479sec
>
> Finally, the server shows:
> Oct 23 14:23:38 routerpi dhcpd[1068]: DHCPREQUEST for 192.168.1.253
> from
> 0c:60:76:6c:e6:6f (tony-lt) via eth0
> Oct 23 14:23:38 routerpi dhcpd[1068]: DHCPACK on 192.168.1.253 to
> 0c:60:76:6c:e6:6f (tony-lt) via eth0
> Oct 23 14:23:53 routerpi dhcpd[1068]: reuse_lease: lease age 15 (secs)
> under 25% threshold, reply with unaltered, existing lease for
> 192.168.1.253
> Oct 23 14:23:53 routerpi dhcpd[1068]: DHCPREQUEST for 192.168.1.253
> from
> 0c:60:76:6c:e6:6f (tony-lt) via eth0
> Oct 23 14:23:53 routerpi dhcpd[1068]: DHCPACK on 192.168.1.253 to
> 0c:60:76:6c:e6:6f (tony-lt) via eth0
>
> So, my question: why is the server handing out .253, when it is
> configured to provide .199?
> What is this 'reuse-lease' all about?
>
> I've tried 'dhclient -r wlan 0; dhclient -v wlan0' on the laptop, to no
> avail.
>
> Any suggestions, please?
bearing in mind that I've no idea what I'm talking about is it possible
that the laptop connected to the server and got a really long lease on
.253 before you added
host tony-lt {
hardware ethernet 0c:60:76:6c:e6:6f;
fixed-address 192.168.1.199;
}
probably there is a command to flush leases ?
mick
--
Key ID 4BFEBB31
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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