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. failover (richard lucassen) 2. Re: failover (richard lucassen) 3. Why would client request DHCP option 60 - vendor-class-identifier ? (Bob Harold) ---------------------------------------------------------------------- Message: 1 Date: Fri, 28 Jan 2022 14:44:24 +0100 From: richard lucassen <mailingli...@lucassen.org> To: dhcp-users@lists.isc.org Subject: failover Message-ID: <20220128144424.9abccff1d6d0ba83d53c2...@lucassen.org> Content-Type: text/plain; charset=US-ASCII Hello list, I'm busy configuring two machines of which only one will connect to an ISP on a /25 network using dhclient. On the active machine eth2 is up, on the backup machine eth2 is down (and vice versa of course) In order to get the same ip (which is important) I need to query from the same MAC address (that's no problem). But when trying this here at home using isc-dhcp-server (Debian Bookworm, I have no idea which dhcp server the ISP has) I get different ip addresses, even though the MAC,uid and hostname are the same: lease 203.0.113.64 { starts 5 2022/01/28 13:36:21; ends 5 2022/01/28 13:46:21; cltt 5 2022/01/28 13:36:21; binding state active; next binding state free; rewind binding state free; hardware ethernet 00:0d:b9:21:ba:d8; uid "af-pw failover"; client-hostname "af-pw"; } lease 203.0.113.64 { starts 5 2022/01/28 13:36:21; ends 5 2022/01/28 13:36:33; tstp 5 2022/01/28 13:36:33; cltt 5 2022/01/28 13:36:21; binding state free; hardware ethernet 00:0d:b9:21:ba:d8; uid "af-pw failover"; } lease 203.0.113.65 { starts 5 2022/01/28 13:36:46; ends 5 2022/01/28 13:46:46; cltt 5 2022/01/28 13:36:46; binding state active; next binding state free; rewind binding state free; hardware ethernet 00:0d:b9:21:ba:d8; uid "af-pw failover"; client-hostname "af-pw"; } lease 203.0.113.65 { starts 5 2022/01/28 13:36:46; ends 5 2022/01/28 13:36:51; tstp 5 2022/01/28 13:36:51; cltt 5 2022/01/28 13:36:46; binding state free; hardware ethernet 00:0d:b9:21:ba:d8; uid "af-pw failover"; } I added this to the original Debian dhclient.conf file: backoff-cutoff 2; initial-interval 1; send dhcp-client-identifier "af-pw failover"; send host-name = "af-pw"; Why is the dhcp server providing two different addresses? Richard. -- richard lucassen http://contact.xaq.nl/ ------------------------------ Message: 2 Date: Fri, 28 Jan 2022 14:55:22 +0100 From: richard lucassen <mailingli...@lucassen.org> To: dhcp-users@lists.isc.org Subject: Re: failover Message-ID: <20220128145522.909804523bbd3ace1e282...@lucassen.org> Content-Type: text/plain; charset=US-ASCII On Fri, 28 Jan 2022 14:44:24 +0100 richard lucassen <mailingli...@lucassen.org> wrote: > Why is the dhcp server providing two different addresses? Apparently it was the client side /var/lib/dhcp/dhclient.eth2.leases file. I threw these away and now it works :) -- richard lucassen http://contact.xaq.nl/ ------------------------------ Message: 3 Date: Fri, 28 Jan 2022 15:44:53 -0500 From: Bob Harold <rharo...@umich.edu> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Why would client request DHCP option 60 - vendor-class-identifier ? Message-ID: <CA+nkc8ABA+4pPAE+SkPDcfF0eUpBfqys6rjCMO=gubeonzm...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Some DHCP clients send option 60 - vendor-class-identifier - to let the DHCP server know what type of device (or operating system) it is, so the server can send back the proper values for some options, both vendor options and standard options. I am seeing some clients include option 60 in the request list - the list of options that the client is asking the DHCP server to send back to the client. Why would a client want option 60 sent back from the server? -- Bob Harold DNS and DHCP Hostmaster - U of Michigan -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220128/0abbab45/attachment-0001.htm> ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 159, Issue 6 ******************************************