Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Re: Aw: Re: Re: ISC dhcp assigns ip addresses outside dynamic range (perl-list) 2. Re: Option 82 in LeaseQuery (perl-list) 3. Re: Aw: Re: Re: ISC dhcp assigns ip addresses outside dynamic range (Christian Kratzer) 4. Aw: Re: Re: Re: ISC dhcp assigns ip addresses outside dynamic range (Frank Ulherr) 5. Re: Aw: Re: Re: Re: ISC dhcp assigns ip addresses outside dynamic range (Christian Kratzer) ---------------------------------------------------------------------- Message: 1 Date: Thu, 5 Jul 2018 17:33:48 -0400 (EDT) From: perl-list <perl-l...@network1.net> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Cc: c...@cksoft.de Subject: Re: Aw: Re: Re: ISC dhcp assigns ip addresses outside dynamic range Message-ID: <152852687.59603.1530826428066.javamail.zim...@network1.net> Content-Type: text/plain; charset="utf-8" This line: Jul 5 13:14:35 a-rl-dhcp1 dhcpd[20145]: bind update on 10.91.120.80 from dhcp-failover rejected: unknown IP address Makes it seem like it was handed out dynamically. Static assignments with fixed-address are not written to a lease file. They are also not sent to the peer. I'm not sure what is going on here. > From: "Frank Ulherr" <d...@ulherr.eu> > To: c...@cksoft.de, "Users of ISC DHCP" <dhcp-users@lists.isc.org> > Sent: Thursday, July 5, 2018 8:10:22 AM > Subject: Aw: Re: Re: ISC dhcp assigns ip addresses outside dynamic range > Hi! > * "Christian Kratzer" <ck-li...@cksoft.de> wrote: >> oh now there is also redunancy involved so you have two config files and two > > lease files. > > If you want help please do as asked previously > > 1. post logs of the transaction > > 2. post both configs that were effective at time of the transaction >> 3. check both lease files for the ip and the mac at the time of the >> transaction > > for entries with the mac or the ip > > The more you obfuscate the less anybody can help you. > Attached the config and log files. > 10.91.120.80 is reserved and is excludes from the dynamic range. > dhcpd.conf is the same on the first and second server (dhcpd1.conf) > The dhcpd.leases file an the second server does not contain the lease. > Regards, > Frank > _______________________________________________ > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180705/dc07e58e/attachment-0001.html> ------------------------------ Message: 2 Date: Thu, 5 Jul 2018 17:35:06 -0400 (EDT) From: perl-list <perl-l...@network1.net> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: Option 82 in LeaseQuery Message-ID: <1288985883.59614.1530826506426.javamail.zim...@network1.net> Content-Type: text/plain; charset="utf-8" Anyone using LeaseQuery to get lease details (such as option 82 agent.circuit-id)? Having some problems as noted below. > From: "perl-list" <perl-l...@network1.net> > To: "Users of ISC DHCP" <dhcp-users@lists.isc.org> > Sent: Monday, July 2, 2018 2:28:22 PM > Subject: Option 82 in LeaseQuery > We have a failover pair setup. A vendor of ours is using LeaseQuery to extract > option 82 data about leases. In the parameter request list is option 82. When > the server responds, option 82 data is omitted even though I can see it in the > dhcpd.leases file for that lease. Is there some additional configuration > option > i need to set in order for option 82 data to be returned in a lease query? I > have these two options set now: > stash-agent-options true; > allow leasequery; > _______________________________________________ > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180705/ed57cf7d/attachment-0001.html> ------------------------------ Message: 3 Date: Fri, 6 Jul 2018 07:25:31 +0200 (CEST) From: Christian Kratzer <ck-li...@cksoft.de> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: Aw: Re: Re: ISC dhcp assigns ip addresses outside dynamic range Message-ID: <alpine.bsf.2.21.999.1807060721030.67...@nocfra1.cksoft.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, On Thu, 5 Jul 2018, perl-list wrote: > This line: > > Jul 5 13:14:35 a-rl-dhcp1 dhcpd[20145]: bind update on 10.91.120.80 from > dhcp-failover rejected: unknown IP address > Makes it seem like it was handed out dynamically. Static assignments with > fixed-address are not written to a lease file. They are also not sent to the > peer. There is no lease for a static reservation but you can provision static reservations to the lease file by omapi. You will find things like this in the lease file in those cases host foo { dynamic; host-identifier option agent.circuit-id "foo"; fixed-address 192.0.2.100; } host bar { dynamic; hardware ethernet 00:50:00:00:00:01; fixed-address 192.0.2.101; } I have a patch that also allowes provisioning of hosts with host-identifier via omapi. Propably not the case here but I would still want to check. Greetings Christian > > I'm not sure what is going on here. > >> From: "Frank Ulherr" <d...@ulherr.eu> >> To: c...@cksoft.de, "Users of ISC DHCP" <dhcp-users@lists.isc.org> >> Sent: Thursday, July 5, 2018 8:10:22 AM >> Subject: Aw: Re: Re: ISC dhcp assigns ip addresses outside dynamic range > >> Hi! > >> * "Christian Kratzer" <ck-li...@cksoft.de> wrote: > >>> oh now there is also redunancy involved so you have two config files and two >>> lease files. > >>> If you want help please do as asked previously > >>> 1. post logs of the transaction > >>> 2. post both configs that were effective at time of the transaction > >>> 3. check both lease files for the ip and the mac at the time of the >>> transaction >>> for entries with the mac or the ip > >>> The more you obfuscate the less anybody can help you. > > >> Attached the config and log files. > >> 10.91.120.80 is reserved and is excludes from the dynamic range. >> dhcpd.conf is the same on the first and second server (dhcpd1.conf) >> The dhcpd.leases file an the second server does not contain the lease. > >> Regards, >> Frank >> _______________________________________________ >> dhcp-users mailing list >> dhcp-users@lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users -- Christian Kratzer CK Software GmbH Email: c...@cksoft.de Wildberger Weg 24/2 Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart Mobile: +49 171 1947 843 Geschaeftsfuehrer: Christian Kratzer Web: http://www.cksoft.de/ ------------------------------ Message: 4 Date: Fri, 6 Jul 2018 11:41:51 +0200 From: "Frank Ulherr" <d...@ulherr.eu> To: c...@cksoft.de, dhcp-users@lists.isc.org Subject: Aw: Re: Re: Re: ISC dhcp assigns ip addresses outside dynamic range Message-ID: <trinity-cb59c9d9-a534-4274-9261-459d39524569-1530870111680@3c-app-1and1-bs01> Content-Type: text/plain; charset=UTF-8 Hi! ? From:?"Christian Kratzer" <ck-li...@cksoft.de> > > This line: > > > > Jul 5 13:14:35 a-rl-dhcp1 dhcpd[20145]: bind update on 10.91.120.80 from > > dhcp-failover rejected: unknown IP address > > Makes it seem like it was handed out dynamically. Static assignments with > > fixed-address are not written to a lease file. They are also not sent to > > the peer. >There is no lease for a static reservation but you can provision static >reservations to the lease file by omapi. > You will find things like this in the lease file in those cases > host foo { > dynamic; > host-identifier option agent.circuit-id "foo"; > fixed-address 192.0.2.100; > } But if I restart the daemon, those changes are lost, aren't they? We have lots of reservations... Regards, Frank ------------------------------ Message: 5 Date: Fri, 6 Jul 2018 11:45:40 +0200 (CEST) From: Christian Kratzer <ck-li...@cksoft.de> To: Frank Ulherr <d...@ulherr.eu> Cc: dhcp-users@lists.isc.org Subject: Re: Aw: Re: Re: Re: ISC dhcp assigns ip addresses outside dynamic range Message-ID: <alpine.bsf.2.21.999.1807061143470.67...@nocfra1.cksoft.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Frank, On Fri, 6 Jul 2018, Frank Ulherr wrote: >> There is no lease for a static reservation but you can provision static >> reservations to the lease file by omapi. > >> You will find things like this in the lease file in those cases > >> host foo { >> dynamic; >> host-identifier option agent.circuit-id "foo"; >> fixed-address 192.0.2.100; >> } > > But if I restart the daemon, those changes are lost, aren't they? We have > lots of reservations... no. That is the purpose for them to be in the lease file so that they are not lost on restarts. Greetings Christian -- Christian Kratzer CK Software GmbH Email: c...@cksoft.de Wildberger Weg 24/2 Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart Mobile: +49 171 1947 843 Geschaeftsfuehrer: Christian Kratzer Web: http://www.cksoft.de/ ------------------------------ Subject: Digest Footer _______________________________________________ dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 117, Issue 5 ******************************************