From uha-list at gmx.net Sun Mar 7 20:49:05 2021 From: uha-list at gmx.net (uha-list at gmx.net) Date: Sun, 7 Mar 2021 21:49:05 +0100 Subject: how to force dhclient not to use DUID-type 4? Message-ID: An HTML attachment was scrubbed... URL: From pe1chl at amsat.org Sat Mar 13 10:44:36 2021 From: pe1chl at amsat.org (Rob Janssen) Date: Sat, 13 Mar 2021 11:44:36 +0100 Subject: PXE booting multiple bootfiles Message-ID: <33dfb5f6-fbe8-dda4-c64f-0497b3c6600d@pe1chl.nl> Hi, I am looking for some trick to select alternative bootfiles when booting with PXE. Background: I have several network bootable images on the bootserver, like installation of Linux or Windows, live booting of Clonezilla to make images of disks, etc. In the old days this wasn't a problem.? I used a "PXE menu" and the DHCP server was set up to serve that, and it would "chain" to the proper next bootable image depending on the selection made in the menu.? At first I used "3Com Pre-OS" and later I moved on to using PXELINUX with a menu.c32 module and its configuration. However, this no longer works properly with new systems that use EFI booting. It is still possible to make a PXELINUX menu for that, but one can no longer "chain" to a completely different bootable image.? So with some care I can still boot some different Linux images from that menu, but installing Windows from the menu is no longer possible. After a lot of searching I found that PXE network boot ROMs on the client should in fact be able to provide a menu, using a tricky vendor-encapsulated-options setup.? I read that "dnsmasq" apparently has a compiler for such options and it can be configured with statements like this: ?pxe-prompt="Choose:" ?pxe-service=x86PC, "Boot from local disk", 64 ?pxe-service=x86PC, "PXE-Linux", "pxelinux" ?pxe-service=x86PC, "PXE-Linux on 192.168.0.100", "pxelinux", 192.168.0.100 ?pxe-service=x86PC, "ACME Deployment server", "acme", 192.168.0.101 This somehow configures a vendor-encapsulated-options string, but I cannot find what it exactly does. For ISC DHCPD I found an option space declaration for some of the things to be put in the encapsulated options, but whatever I try I cannot get the client to display a menu. Maybe I am doing it wrong, maybe the client does not support it. Anyone who has experience with setting this up with ISC DHCPD? I only need the menu to provide a couple of selections each with a different bootfile, no need for different boot servers as they are all on a single server. Else, I am looking for some trick to be able to serve two different boot files to PXE booting clients, e.g. alternately serving different boot files on subsequent requests.? I could then boot those clients, and when I get the wrong bootfile I can just reboot it again and usually get the correct one.? It would be fine when its toggling would be "global", i.e. not for each individual client but for any client booting on that network. Of course I know that I can do stuff like this: if (some condition) { ??? option bootfile-name "firstfile"; } else { ??? option bootfile-name "secondfile"; } and put that in a class for PXE booting matched by: match if (substring(option vendor-class-identifier,0,9) = "PXEClient"); However, what I am looking for is some kind of trick to have that condition toggle between invocations.? Is it possible to maintain some state between requests? I have thought about using the lease-time and rely on the fact that with dhcp-cache-threshold setting a second boot will get re-issued the same lease and thus has a shorter lease time than the first one.? However, unfortunately the lowest setting of dhcp-cache-threshold is 1% and it is not possible to get a reasonable lease time and still have an acceptable window for the second boot to use this trick. It would have worked when dhcp-cache-threshold could be specified in seconds rather than as a percentage, as I could set it to something like 60 seconds. Rob From isc-dhcp-users at ics-il.net Sat Mar 13 18:43:41 2021 From: isc-dhcp-users at ics-il.net (Mike Hammett) Date: Sat, 13 Mar 2021 12:43:41 -0600 (CST) Subject: Expanding my Use of Option 82 Message-ID: <330603960.4649.1615661016335.JavaMail.mhammett@Thunderfuck2> I have ISC DHCP setup in Webmin. Currently, it's doing DHCP option 82 to relay the DHCP requests from the management ports on modems, through the DSLAMs, into the VM. The management ports have defined IP addresses per card\port combination. They're all on a shared network. I have all of the DSLAMs specified as hosts. Webmin documentation says that all subnets on the same LAN segment must be in the same shared network and a shared network must only contain subnets that are on the same LAN. Currently, that's so. However, adding more VLANs and subnets... they aren't in the same LAN anymore. However, the DSLAMs (currently) are. I assume this is less about Webmin and more about ISC-DHCP. Unfortunately, I don't remember much of when I set up that DHCP server to remember the nuances of ISC DHCP and option 82. Any guidance? ----- Mike Hammett Intelligent Computing Solutions Midwest Internet Exchange The Brothers WISP -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne at connect-mobile.co.za Mon Mar 15 09:42:58 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Mon, 15 Mar 2021 11:42:58 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP Message-ID: Hi When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then it randomly allocates the IP address or the backup IP address that are assigned to the host in the lease file to the host. The assignments always got to the correct host and the mac address doesn't change. When this backup IP address is allocated then dynamic DNS isn't updated and my container is unreachable. I've put all the relevant details in the link below but am more than happy enough to furnish anything that is missing. Can anyone help please? https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 -------------- next part -------------- An HTML attachment was scrubbed... URL: From simonkbaby at gmail.com Thu Mar 18 23:03:04 2021 From: simonkbaby at gmail.com (SIMON BABY) Date: Thu, 18 Mar 2021 16:03:04 -0700 Subject: Query on default gateway with DHCP vs Static address Message-ID: Hi, I have a query about the DHCP provided IP address vs Static IP address configured manually. When i get the IP address from DHCP, I can ping to 8.8.8.8 (google public server) where as with a statically configured IP address, I could not. When I looked into the route table (route -n ), I did not see any default gateway with DHCP or Statically configured IP. (I am testing with Linux). 1. Can I know when the packet goes out , how did the hardware (NIC) find the default gateway in the case of the DHCP provided IP address since I did not see any default gw IP in the routing table? 2. With statically configured IP, if I explicitly configure a default GW, I can see packets are going out and receiving. I can see the default GW in the routing table. Do I need a default GW to send packets from a statically configured IP address ? Thank you for your time Regards Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.martin.yardley at gmail.com Fri Mar 19 00:07:30 2021 From: peter.martin.yardley at gmail.com (Peter Yardley) Date: Fri, 19 Mar 2021 11:07:30 +1100 Subject: Query on default gateway with DHCP vs Static address In-Reply-To: References: Message-ID: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> Hi, This is prolly a problem with your configuration. Are you using ISC DHCPd? If so could provide a relevant snippet of your configuration, anonymised if necessary. I used to configure subnets like this ? subnet 10.20.50.0 netmask 255.255.254.0 { option subnet-mask 255.255.254.0; option broadcast-address 10.20.51.255; option routers 10.20.50.1; pool { # A device for Blah host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; fixed-address 10.20.50.32; } ? range 10.20.51.0 138.25.51.254; } Of course there are many other correct possiblities > On 19 Mar 2021, at 10:03 am, SIMON BABY wrote: > > Hi, > I have a query about the DHCP provided IP address vs Static IP address configured manually. When i get the IP address from DHCP, I can ping to 8.8.8.8 (google public server) where as > with a statically configured IP address, I could not. When I looked into the route table (route -n ), I did not see any default gateway with DHCP or Statically configured IP. (I am testing with Linux). > > 1. Can I know when the packet goes out , how did the hardware (NIC) find the default gateway in the case of the DHCP provided IP address since I did not see any default gw IP in the routing table? > 2. With statically configured IP, if I explicitly configure a default GW, I can see packets are going out and receiving. I can see the default GW in the routing table. Do I need a default GW to send packets from a statically configured IP address ? > > Thank you for your time > > Regards > Simon > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users Peter Yardley peter.martin.yardley at gmail.com From simonkbaby at gmail.com Fri Mar 19 02:54:37 2021 From: simonkbaby at gmail.com (SIMON BABY) Date: Thu, 18 Mar 2021 19:54:37 -0700 Subject: Query on default gateway with DHCP vs Static address In-Reply-To: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> References: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> Message-ID: Hi Peter, Thank you so much for helping. Yes, I am using ISC dhcpd. My query is with ISC DHCPd I can ping to any network, but I did not see the ISC gateway in the kernel route table. Will it be stored somewhere else so that when packet goes out, the hardware (NIC) gets this information? Regards Simon On Thu, Mar 18, 2021 at 5:07 PM Peter Yardley < peter.martin.yardley at gmail.com> wrote: > Hi, > > This is prolly a problem with your configuration. Are you using ISC DHCPd? > If so could provide a relevant snippet of your configuration, anonymised if > necessary. > > I used to configure subnets like this ? > > subnet 10.20.50.0 netmask 255.255.254.0 { > option subnet-mask 255.255.254.0; > option broadcast-address 10.20.51.255; > option routers 10.20.50.1; > > pool { > # A device for Blah > host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; > fixed-address 10.20.50.32; } > ? > > range 10.20.51.0 138.25.51.254; > } > > Of course there are many other correct possiblities > > > > On 19 Mar 2021, at 10:03 am, SIMON BABY wrote: > > > > Hi, > > I have a query about the DHCP provided IP address vs Static IP address > configured manually. When i get the IP address from DHCP, I can ping to > 8.8.8.8 (google public server) where as > > with a statically configured IP address, I could not. When I looked > into the route table (route -n ), I did not see any default gateway with > DHCP or Statically configured IP. (I am testing with Linux). > > > > 1. Can I know when the packet goes out , how did the hardware (NIC) find > the default gateway in the case of the DHCP provided IP address since I did > not see any default gw IP in the routing table? > > 2. With statically configured IP, if I explicitly configure a default > GW, I can see packets are going out and receiving. I can see the default GW > in the routing table. Do I need a default GW to send packets from a > statically configured IP address ? > > > > Thank you for your time > > > > Regards > > Simon > > > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > > Peter Yardley > peter.martin.yardley at gmail.com > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.satchell at uniq.com.au Fri Mar 19 03:15:16 2021 From: glenn.satchell at uniq.com.au (glenn.satchell at uniq.com.au) Date: Fri, 19 Mar 2021 14:15:16 +1100 Subject: Query on default gateway with DHCP vs Static address In-Reply-To: References: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> Message-ID: Hi Simon, The default route will show up with a destination of 0.0.0.0/0 if you use route -n. If you use "ip route" it will show up with a destination of "default" in the first column. regards, Glenn On 2021-03-19 13:54, SIMON BABY wrote: > Hi Peter, > Thank you so much for helping. > > Yes, I am using ISC dhcpd. My query is with ISC DHCPd I can ping to > any network, but I did not see the ISC gateway in the kernel route > table. Will it be stored somewhere else so that when packet goes out, > the hardware (NIC) gets this information? > > Regards > Simon > > On Thu, Mar 18, 2021 at 5:07 PM Peter Yardley > wrote: > >> Hi, >> >> This is prolly a problem with your configuration. Are you using ISC >> DHCPd? If so could provide a relevant snippet of your configuration, >> anonymised if necessary. >> >> I used to configure subnets like this ? >> >> subnet 10.20.50.0 netmask 255.255.254.0 { >> option subnet-mask 255.255.254.0; >> option broadcast-address 10.20.51.255; >> option routers 10.20.50.1; >> >> pool { >> # A device for Blah >> host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; >> fixed-address 10.20.50.32; } >> ? >> >> range 10.20.51.0 138.25.51.254; >> } >> >> Of course there are many other correct possiblities >> >>> On 19 Mar 2021, at 10:03 am, SIMON BABY >> wrote: >>> >>> Hi, >>> I have a query about the DHCP provided IP address vs Static IP >> address configured manually. When i get the IP address from DHCP, I >> can ping to 8.8.8.8 (google public server) where as >>> with a statically configured IP address, I could not. When I >> looked into the route table (route -n ), I did not see any default >> gateway with DHCP or Statically configured IP. (I am testing with >> Linux). >>> >>> 1. Can I know when the packet goes out , how did the hardware >> (NIC) find the default gateway in the case of the DHCP provided IP >> address since I did not see any default gw IP in the routing table? >>> 2. With statically configured IP, if I explicitly configure a >> default GW, I can see packets are going out and receiving. I can see >> the default GW in the routing table. Do I need a default GW to send >> packets from a statically configured IP address ? >>> >>> Thank you for your time >>> >>> Regards >>> Simon >>> >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >> >> Peter Yardley >> peter.martin.yardley at gmail.com >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users From simonkbaby at gmail.com Fri Mar 19 03:34:36 2021 From: simonkbaby at gmail.com (SIMON BABY) Date: Thu, 18 Mar 2021 20:34:36 -0700 Subject: Query on default gateway with DHCP vs Static address In-Reply-To: References: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> Message-ID: Hi Glenn, It did not show the default route of 0.0.0.0/0 with route -n. One thing I noticed is, I can ping to another Address only with -I interface_name. For example I can send and receive packets with *ping -I eth0 8.8.8.8.* If I use *ping 8.8.8.8 *it is not working. Am I missing anything here? Regards Simon On Thu, Mar 18, 2021 at 8:15 PM wrote: > Hi Simon, > > The default route will show up with a destination of 0.0.0.0/0 if you > use route -n. > > If you use "ip route" it will show up with a destination of "default" in > the first column. > > regards, > Glenn > > On 2021-03-19 13:54, SIMON BABY wrote: > > Hi Peter, > > Thank you so much for helping. > > > > Yes, I am using ISC dhcpd. My query is with ISC DHCPd I can ping to > > any network, but I did not see the ISC gateway in the kernel route > > table. Will it be stored somewhere else so that when packet goes out, > > the hardware (NIC) gets this information? > > > > Regards > > Simon > > > > On Thu, Mar 18, 2021 at 5:07 PM Peter Yardley > > wrote: > > > >> Hi, > >> > >> This is prolly a problem with your configuration. Are you using ISC > >> DHCPd? If so could provide a relevant snippet of your configuration, > >> anonymised if necessary. > >> > >> I used to configure subnets like this ? > >> > >> subnet 10.20.50.0 netmask 255.255.254.0 { > >> option subnet-mask 255.255.254.0; > >> option broadcast-address 10.20.51.255; > >> option routers 10.20.50.1; > >> > >> pool { > >> # A device for Blah > >> host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; > >> fixed-address 10.20.50.32; } > >> ? > >> > >> range 10.20.51.0 138.25.51.254; > >> } > >> > >> Of course there are many other correct possiblities > >> > >>> On 19 Mar 2021, at 10:03 am, SIMON BABY > >> wrote: > >>> > >>> Hi, > >>> I have a query about the DHCP provided IP address vs Static IP > >> address configured manually. When i get the IP address from DHCP, I > >> can ping to 8.8.8.8 (google public server) where as > >>> with a statically configured IP address, I could not. When I > >> looked into the route table (route -n ), I did not see any default > >> gateway with DHCP or Statically configured IP. (I am testing with > >> Linux). > >>> > >>> 1. Can I know when the packet goes out , how did the hardware > >> (NIC) find the default gateway in the case of the DHCP provided IP > >> address since I did not see any default gw IP in the routing table? > >>> 2. With statically configured IP, if I explicitly configure a > >> default GW, I can see packets are going out and receiving. I can see > >> the default GW in the routing table. Do I need a default GW to send > >> packets from a statically configured IP address ? > >>> > >>> Thank you for your time > >>> > >>> Regards > >>> Simon > >>> > >>> _______________________________________________ > >>> 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 at lists.isc.org > >>> https://lists.isc.org/mailman/listinfo/dhcp-users > >> > >> Peter Yardley > >> peter.martin.yardley at gmail.com > >> > >> _______________________________________________ > >> 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 at lists.isc.org > >> https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.satchell at uniq.com.au Fri Mar 19 03:48:27 2021 From: glenn.satchell at uniq.com.au (glenn.satchell at uniq.com.au) Date: Fri, 19 Mar 2021 14:48:27 +1100 Subject: Query on default gateway with DHCP vs Static address In-Reply-To: References: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> Message-ID: <997594f70ce2e1fd12008a72b3df6fa9@uniq.com.au> Hi Simon, On your dhcp server do you specify a gateway? For isc dhcpd it will be "option routers" in the subnet definition settings. Verify that the gateway you specify is in the same subnet as the IP address being assigned to the interface. Can you post the output from "ip route" and "ip address" so we can see what is there? If you are configuring the IP address manually then it depends on your particular version of linux on how that is done. Usually you will specify an IP address, netmask and gateway- but the files used vary from distribution to distribution. eg Ubuntu uses /etc/netplan/*yaml or /etc/network/interfaces depending on the version. CentOS uses /etc/sysconfig/network-scripts/ifcfg-eth0. Or it may use Network Manager and the associated GUI to manage the configuration. regards, Glenn On 2021-03-19 14:34, SIMON BABY wrote: > Hi Glenn, > It did not show the default route of 0.0.0.0/0 [1] with route -n. One > thing I noticed is, I can ping to another Address only with -I > interface_name. For example I can send and receive packets with ping > -I eth0 8.8.8.8. > If I use ping 8.8.8.8 it is not working. Am I missing anything here? > > Regards > Simon > > On Thu, Mar 18, 2021 at 8:15 PM wrote: > >> Hi Simon, >> >> The default route will show up with a destination of 0.0.0.0/0 [1] >> if you >> use route -n. >> >> If you use "ip route" it will show up with a destination of >> "default" in >> the first column. >> >> regards, >> Glenn >> >> On 2021-03-19 13:54, SIMON BABY wrote: >>> Hi Peter, >>> Thank you so much for helping. >>> >>> Yes, I am using ISC dhcpd. My query is with ISC DHCPd I can ping >> to >>> any network, but I did not see the ISC gateway in the kernel route >>> table. Will it be stored somewhere else so that when packet goes >> out, >>> the hardware (NIC) gets this information? >>> >>> Regards >>> Simon >>> >>> On Thu, Mar 18, 2021 at 5:07 PM Peter Yardley >>> wrote: >>> >>>> Hi, >>>> >>>> This is prolly a problem with your configuration. Are you using >> ISC >>>> DHCPd? If so could provide a relevant snippet of your >> configuration, >>>> anonymised if necessary. >>>> >>>> I used to configure subnets like this ? >>>> >>>> subnet 10.20.50.0 netmask 255.255.254.0 { >>>> option subnet-mask 255.255.254.0; >>>> option broadcast-address 10.20.51.255; >>>> option routers 10.20.50.1; >>>> >>>> pool { >>>> # A device for Blah >>>> host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; >>>> fixed-address 10.20.50.32; } >>>> ? >>>> >>>> range 10.20.51.0 138.25.51.254; >>>> } >>>> >>>> Of course there are many other correct possiblities >>>> >>>>> On 19 Mar 2021, at 10:03 am, SIMON BABY >>>> wrote: >>>>> >>>>> Hi, >>>>> I have a query about the DHCP provided IP address vs Static IP >>>> address configured manually. When i get the IP address from >> DHCP, I >>>> can ping to 8.8.8.8 (google public server) where as >>>>> with a statically configured IP address, I could not. When I >>>> looked into the route table (route -n ), I did not see any >> default >>>> gateway with DHCP or Statically configured IP. (I am testing >> with >>>> Linux). >>>>> >>>>> 1. Can I know when the packet goes out , how did the hardware >>>> (NIC) find the default gateway in the case of the DHCP provided >> IP >>>> address since I did not see any default gw IP in the routing >> table? >>>>> 2. With statically configured IP, if I explicitly configure a >>>> default GW, I can see packets are going out and receiving. I can >> see >>>> the default GW in the routing table. Do I need a default GW to >> send >>>> packets from a statically configured IP address ? >>>>> >>>>> Thank you for your time >>>>> >>>>> Regards >>>>> Simon >>>>> >>>>> _______________________________________________ >>>>> 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 at lists.isc.org >>>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>> >>>> Peter Yardley >>>> peter.martin.yardley at gmail.com >>>> >>>> _______________________________________________ >>>> 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 at lists.isc.org >>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users > > > Links: > ------ > [1] http://0.0.0.0/0 > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users From simonkbaby at gmail.com Fri Mar 19 05:10:09 2021 From: simonkbaby at gmail.com (SIMON BABY) Date: Thu, 18 Mar 2021 22:10:09 -0700 Subject: Query on default gateway with DHCP vs Static address In-Reply-To: <997594f70ce2e1fd12008a72b3df6fa9@uniq.com.au> References: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> <997594f70ce2e1fd12008a72b3df6fa9@uniq.com.au> Message-ID: Hi Glenn, My linux interface is a DHCP client which is connected to a night hawk (cradlepoint) which acts as the DHCP server. So my Linux interface is getting a DHCP IP address as gievn below eth1.15 Link encap:Ethernet HWaddr 00:08:A2:00:00:02 inet addr:*192.168.1.76 * Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:457 errors:0 dropped:0 overruns:0 frame:0 TX packets:1782 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:44717 (43.6 KiB) TX bytes:1704498 (1.6 MiB) The kernel routing table is below. I did not see any default GW in the routing table. Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.64.64.67 0.0.0.0 255.255.255.255 UH 0 0 0 ppp3 10.64.64.66 0.0.0.0 255.255.255.255 UH 0 0 0 ppp2 10.64.64.65 0.0.0.0 255.255.255.255 UH 0 0 0 ppp1 255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 0 eth1.13 *192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.15* 128.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1.16 128.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 10.20.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1.13 Regards Simon On Thu, Mar 18, 2021 at 8:48 PM wrote: > Hi Simon, > > On your dhcp server do you specify a gateway? For isc dhcpd it will be > "option routers" in the subnet definition settings. Verify that the > gateway you specify is in the same subnet as the IP address being > assigned to the interface. > > Can you post the output from "ip route" and "ip address" so we can see > what is there? > > If you are configuring the IP address manually then it depends on your > particular version of linux on how that is done. Usually you will > specify an IP address, netmask and gateway- but the files used vary from > distribution to distribution. eg Ubuntu uses /etc/netplan/*yaml or > /etc/network/interfaces depending on the version. CentOS uses > /etc/sysconfig/network-scripts/ifcfg-eth0. Or it may use Network Manager > and the associated GUI to manage the configuration. > > regards, > Glenn > > On 2021-03-19 14:34, SIMON BABY wrote: > > Hi Glenn, > > It did not show the default route of 0.0.0.0/0 [1] with route -n. One > > thing I noticed is, I can ping to another Address only with -I > > interface_name. For example I can send and receive packets with ping > > -I eth0 8.8.8.8. > > If I use ping 8.8.8.8 it is not working. Am I missing anything here? > > > > Regards > > Simon > > > > On Thu, Mar 18, 2021 at 8:15 PM wrote: > > > >> Hi Simon, > >> > >> The default route will show up with a destination of 0.0.0.0/0 [1] > >> if you > >> use route -n. > >> > >> If you use "ip route" it will show up with a destination of > >> "default" in > >> the first column. > >> > >> regards, > >> Glenn > >> > >> On 2021-03-19 13:54, SIMON BABY wrote: > >>> Hi Peter, > >>> Thank you so much for helping. > >>> > >>> Yes, I am using ISC dhcpd. My query is with ISC DHCPd I can ping > >> to > >>> any network, but I did not see the ISC gateway in the kernel route > >>> table. Will it be stored somewhere else so that when packet goes > >> out, > >>> the hardware (NIC) gets this information? > >>> > >>> Regards > >>> Simon > >>> > >>> On Thu, Mar 18, 2021 at 5:07 PM Peter Yardley > >>> wrote: > >>> > >>>> Hi, > >>>> > >>>> This is prolly a problem with your configuration. Are you using > >> ISC > >>>> DHCPd? If so could provide a relevant snippet of your > >> configuration, > >>>> anonymised if necessary. > >>>> > >>>> I used to configure subnets like this ? > >>>> > >>>> subnet 10.20.50.0 netmask 255.255.254.0 { > >>>> option subnet-mask 255.255.254.0; > >>>> option broadcast-address 10.20.51.255; > >>>> option routers 10.20.50.1; > >>>> > >>>> pool { > >>>> # A device for Blah > >>>> host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; > >>>> fixed-address 10.20.50.32; } > >>>> ? > >>>> > >>>> range 10.20.51.0 138.25.51.254; > >>>> } > >>>> > >>>> Of course there are many other correct possiblities > >>>> > >>>>> On 19 Mar 2021, at 10:03 am, SIMON BABY > >>>> wrote: > >>>>> > >>>>> Hi, > >>>>> I have a query about the DHCP provided IP address vs Static IP > >>>> address configured manually. When i get the IP address from > >> DHCP, I > >>>> can ping to 8.8.8.8 (google public server) where as > >>>>> with a statically configured IP address, I could not. When I > >>>> looked into the route table (route -n ), I did not see any > >> default > >>>> gateway with DHCP or Statically configured IP. (I am testing > >> with > >>>> Linux). > >>>>> > >>>>> 1. Can I know when the packet goes out , how did the hardware > >>>> (NIC) find the default gateway in the case of the DHCP provided > >> IP > >>>> address since I did not see any default gw IP in the routing > >> table? > >>>>> 2. With statically configured IP, if I explicitly configure a > >>>> default GW, I can see packets are going out and receiving. I can > >> see > >>>> the default GW in the routing table. Do I need a default GW to > >> send > >>>> packets from a statically configured IP address ? > >>>>> > >>>>> Thank you for your time > >>>>> > >>>>> Regards > >>>>> Simon > >>>>> > >>>>> _______________________________________________ > >>>>> 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 at lists.isc.org > >>>>> https://lists.isc.org/mailman/listinfo/dhcp-users > >>>> > >>>> Peter Yardley > >>>> peter.martin.yardley at gmail.com > >>>> > >>>> _______________________________________________ > >>>> 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 at lists.isc.org > >>>> https://lists.isc.org/mailman/listinfo/dhcp-users > >>> _______________________________________________ > >>> 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 at lists.isc.org > >>> https://lists.isc.org/mailman/listinfo/dhcp-users > >> _______________________________________________ > >> 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 at lists.isc.org > >> https://lists.isc.org/mailman/listinfo/dhcp-users > > > > > > Links: > > ------ > > [1] http://0.0.0.0/0 > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne at connect-mobile.co.za Fri Mar 19 06:22:27 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Fri, 19 Mar 2021 08:22:27 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP Message-ID: Hi When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then it randomly allocates the IP address or the backup IP address that are assigned to the host in the lease file to the host. The assignments always got to the correct host and the mac address doesn't change. When this backup IP address is allocated then dynamic DNS isn't updated and my container is unreachable. I've put all the relevant details in the link below but am more than happy enough to furnish anything that is missing. Can anyone help please? https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.satchell at uniq.com.au Fri Mar 19 07:58:32 2021 From: glenn.satchell at uniq.com.au (glenn.satchell at uniq.com.au) Date: Fri, 19 Mar 2021 18:58:32 +1100 Subject: Query on default gateway with DHCP vs Static address In-Reply-To: References: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> <997594f70ce2e1fd12008a72b3df6fa9@uniq.com.au> Message-ID: HI SImon, Ok that's clearer now - it's the ISC client you use, but an entirely different DHCP server. Probably you need to do some packet captures using,say, tcpdump to look at the actual packets being sent from the dhcp server and the specific dhcp options being sent. Also, have a look in the dhclient.conf (location varies with different Linux distros, eg Ubuntu is /etc/dhcp/dhclient.conf) and seewhat options itis requesting. eg on Ubuntu in that file I have option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; send host-name = gethostname(); request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, domain-search, host-name, dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers, netbios-name-servers, netbios-scope, interface-mtu, rfc3442-classless-static-routes, ntp-servers; "routers" asks the dhcp server to send the default gateway info. regards, Glenn On 2021-03-19 16:10, SIMON BABY wrote: > Hi Glenn, > My linux interface is a DHCP client which is connected to a night hawk > (cradlepoint) which acts as the DHCP server. So my Linux interface is > getting a DHCP IP address as gievn below > > eth1.15 Link encap:Ethernet HWaddr 00:08:A2:00:00:02 > > inet addr:192.168.1.76 Bcast:192.168.1.255 > Mask:255.255.255.0 > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > RX packets:457 errors:0 dropped:0 overruns:0 frame:0 > > TX packets:1782 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:0 > > RX bytes:44717 (43.6 KiB) TX bytes:1704498 (1.6 MiB) > > The kernel routing table is below. I did not see any default GW in the > routing table. > > Kernel IP routing table > > Destination Gateway Genmask Flags MSS Window > irtt Iface > > 10.64.64.67 0.0.0.0 255.255.255.255 UH 0 0 > 0 ppp3 > > 10.64.64.66 0.0.0.0 255.255.255.255 UH 0 0 > 0 ppp2 > > 10.64.64.65 0.0.0.0 255.255.255.255 UH 0 0 > 0 ppp1 > > 255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 > 0 eth1.13 > > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth1.15 > > 128.0.0.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth1.16 > > 128.1.0.0 0.0.0.0 255.255.0.0 U 0 0 > 0 eth0 > > 10.20.0.0 0.0.0.0 255.255.0.0 U 0 0 > 0 eth1.13 > > Regards > > Simon > > On Thu, Mar 18, 2021 at 8:48 PM wrote: > >> Hi Simon, >> >> On your dhcp server do you specify a gateway? For isc dhcpd it will >> be >> "option routers" in the subnet definition settings. Verify that the >> gateway you specify is in the same subnet as the IP address being >> assigned to the interface. >> >> Can you post the output from "ip route" and "ip address" so we can >> see >> what is there? >> >> If you are configuring the IP address manually then it depends on >> your >> particular version of linux on how that is done. Usually you will >> specify an IP address, netmask and gateway- but the files used vary >> from >> distribution to distribution. eg Ubuntu uses /etc/netplan/*yaml or >> /etc/network/interfaces depending on the version. CentOS uses >> /etc/sysconfig/network-scripts/ifcfg-eth0. Or it may use Network >> Manager >> and the associated GUI to manage the configuration. >> >> regards, >> Glenn >> >> On 2021-03-19 14:34, SIMON BABY wrote: >>> Hi Glenn, >>> It did not show the default route of 0.0.0.0/0 [1] [1] with route >> -n. One >>> thing I noticed is, I can ping to another Address only with -I >>> interface_name. For example I can send and receive packets with >> ping >>> -I eth0 8.8.8.8. >>> If I use ping 8.8.8.8 it is not working. Am I missing anything >> here? >>> >>> Regards >>> Simon >>> >>> On Thu, Mar 18, 2021 at 8:15 PM >> wrote: >>> >>>> Hi Simon, >>>> >>>> The default route will show up with a destination of 0.0.0.0/0 >> [1] [1] >>>> if you >>>> use route -n. >>>> >>>> If you use "ip route" it will show up with a destination of >>>> "default" in >>>> the first column. >>>> >>>> regards, >>>> Glenn >>>> >>>> On 2021-03-19 13:54, SIMON BABY wrote: >>>>> Hi Peter, >>>>> Thank you so much for helping. >>>>> >>>>> Yes, I am using ISC dhcpd. My query is with ISC DHCPd I can ping >>>> to >>>>> any network, but I did not see the ISC gateway in the kernel >> route >>>>> table. Will it be stored somewhere else so that when packet goes >>>> out, >>>>> the hardware (NIC) gets this information? >>>>> >>>>> Regards >>>>> Simon >>>>> >>>>> On Thu, Mar 18, 2021 at 5:07 PM Peter Yardley >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> This is prolly a problem with your configuration. Are you using >>>> ISC >>>>>> DHCPd? If so could provide a relevant snippet of your >>>> configuration, >>>>>> anonymised if necessary. >>>>>> >>>>>> I used to configure subnets like this ? >>>>>> >>>>>> subnet 10.20.50.0 netmask 255.255.254.0 { >>>>>> option subnet-mask 255.255.254.0; >>>>>> option broadcast-address 10.20.51.255; >>>>>> option routers 10.20.50.1; >>>>>> >>>>>> pool { >>>>>> # A device for Blah >>>>>> host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; >>>>>> fixed-address 10.20.50.32; } >>>>>> ? >>>>>> >>>>>> range 10.20.51.0 138.25.51.254; >>>>>> } >>>>>> >>>>>> Of course there are many other correct possiblities >>>>>> >>>>>>> On 19 Mar 2021, at 10:03 am, SIMON BABY >>>>>> wrote: >>>>>>> >>>>>>> Hi, >>>>>>> I have a query about the DHCP provided IP address vs Static IP >>>>>> address configured manually. When i get the IP address from >>>> DHCP, I >>>>>> can ping to 8.8.8.8 (google public server) where as >>>>>>> with a statically configured IP address, I could not. When I >>>>>> looked into the route table (route -n ), I did not see any >>>> default >>>>>> gateway with DHCP or Statically configured IP. (I am testing >>>> with >>>>>> Linux). >>>>>>> >>>>>>> 1. Can I know when the packet goes out , how did the hardware >>>>>> (NIC) find the default gateway in the case of the DHCP provided >>>> IP >>>>>> address since I did not see any default gw IP in the routing >>>> table? >>>>>>> 2. With statically configured IP, if I explicitly configure a >>>>>> default GW, I can see packets are going out and receiving. I >> can >>>> see >>>>>> the default GW in the routing table. Do I need a default GW to >>>> send >>>>>> packets from a statically configured IP address ? >>>>>>> >>>>>>> Thank you for your time >>>>>>> >>>>>>> Regards >>>>>>> Simon >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 at lists.isc.org >>>>>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>>>> >>>>>> Peter Yardley >>>>>> peter.martin.yardley at gmail.com >>>>>> >>>>>> _______________________________________________ >>>>>> 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 at lists.isc.org >>>>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>>> _______________________________________________ >>>>> 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 at lists.isc.org >>>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>> _______________________________________________ >>>> 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 at lists.isc.org >>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> >>> >>> Links: >>> ------ >>> [1] http://0.0.0.0/0 >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users > > > Links: > ------ > [1] http://0.0.0.0/0 > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users From dhcp1 at thehobsons.co.uk Fri Mar 19 18:42:10 2021 From: dhcp1 at thehobsons.co.uk (Simon Hobson) Date: Fri, 19 Mar 2021 18:42:10 +0000 Subject: Host declarations are GLOBAL (was: Query on default gateway with DHCP vs Static address) In-Reply-To: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> References: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> Message-ID: Peter Yardley wrote: > I used to configure subnets like this ? > > subnet 10.20.50.0 netmask 255.255.254.0 { > option subnet-mask 255.255.254.0; > option broadcast-address 10.20.51.255; > option routers 10.20.50.1; > > pool { > # A device for Blah > host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; > fixed-address 10.20.50.32; } > ? > > range 10.20.51.0 138.25.51.254; > } For the benefit of anyone finding this thread later ... DO NOT put host statements in anything other than the global scope (or a group that is within the global scope). Especially, do not put them inside a subnet declaration. Yes, that is a **DO NOT** Why ? They are treated as global in scope by the server, but inherit properties from where they are defined. What this means is that you can declare a host within one subnet, but that declaration is valid if the device moves to another network. So the device could get an address in the network to which it is attached, but inherit options from where it is defined. Since these inherited options include the router - which will not be valid on any other network - this is highly unlikely to be what you want. I'm sure there may be some esoteric configuration where that's useful, but AFAIK no-one has every come up with one on this list. I think you might be able to imagine how "interesting" it would be to debug why a client is getting a router that's not in it's own subnet :D So just don't do it Of course, with a single network and single subnet, this problem will be masked. But then you add another network, move some clients, and chaos ensues. Simon From stenc at s-carlsen.dk Fri Mar 19 19:06:10 2021 From: stenc at s-carlsen.dk (Sten Carlsen) Date: Fri, 19 Mar 2021 20:06:10 +0100 Subject: Host declarations are GLOBAL (was: Query on default gateway with DHCP vs Static address) In-Reply-To: References: <7A592F25-302C-41E4-A9B3-51B1E3B69B07@gmail.com> Message-ID: <565B9345-0F4C-4044-BD7B-9E8726E6B7F8@s-carlsen.dk> > On 19 Mar 2021, at 19.42, Simon Hobson wrote: > > Peter Yardley wrote: > >> I used to configure subnets like this ? >> >> subnet 10.20.50.0 netmask 255.255.254.0 { >> option subnet-mask 255.255.254.0; >> option broadcast-address 10.20.51.255; >> option routers 10.20.50.1; >> >> pool { >> # A device for Blah >> host HMTXYZ { hardware ethernet 00:40:9d:54:4c:c7; >> fixed-address 10.20.50.32; } >> ? >> >> range 10.20.51.0 138.25.51.254; >> } > > For the benefit of anyone finding this thread later ... > > > DO NOT put host statements in anything other than the global scope (or a group that is within the global scope). Especially, do not put them inside a subnet declaration. > > Yes, that is a **DO NOT** > > Why ? They are treated as global in scope by the server, but inherit properties from where they are defined. What this means is that you can declare a host within one subnet, but that declaration is valid if the device moves to another network. So the device could get an address in the network to which it is attached, but inherit options from where it is defined. Since these inherited options include the router - which will not be valid on any other network - this is highly unlikely to be what you want. I'm sure there may be some esoteric configuration where that's useful, but AFAIK no-one has every come up with one on this list. > I think you might be able to imagine how "interesting" it would be to debug why a client is getting a router that's not in it's own subnet :D > > So just don't do it I could not agree more with Simon - There seems to be one other problem here - the Fixed address lies in what seems to be the address range for the pool. That is a NO-GO. The server will happily hand out the Fixed address to another host. Always put Fixed addresses outside any pool range - this is different from some other servers but will (has already) cause some "interesting" debug scenarios. > > > Of course, with a single network and single subnet, this problem will be masked. But then you add another network, move some clients, and chaos ensues. > > > Simon > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users From bill at c3po.polymerindustries.biz Mon Mar 22 23:32:05 2021 From: bill at c3po.polymerindustries.biz (Bill Shirley) Date: Mon, 22 Mar 2021 19:32:05 -0400 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: Message-ID: Try: update-optimization???????????? off; Bill On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: > Hi > > When my dhcp server gets a DHCPRELEASE followed by a?DHCPDISCOVER then it randomly allocates the IP address or the backup IP > address that are assigned to the host in the lease file to the host. The assignments always got to the correct host and the > mac address doesn't change. > > When this backup IP address is allocated then dynamic DNS isn't updated and my container is unreachable. > > I've put all the relevant details in the link below but am more than happy enough to furnish anything that is missing. Can > anyone help please? > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 > > > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne at connect-mobile.co.za Tue Mar 23 14:19:47 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Tue, 23 Mar 2021 16:19:47 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: Message-ID: I'll give it a try, thanks. On Tue, 23 Mar 2021 at 01:32, Bill Shirley wrote: > Try: > update-optimization off; > > Bill > On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: > > Hi > > When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then it > randomly allocates the IP address or the backup IP address that are > assigned to the host in the lease file to the host. The assignments always > got to the correct host and the mac address doesn't change. > > When this backup IP address is allocated then dynamic DNS isn't updated > and my container is unreachable. > > I've put all the relevant details in the link below but am more than happy > enough to furnish anything that is missing. Can anyone help please? > > https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 > > > > _______________________________________________ > 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 listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kraishak.edu at gmail.com Wed Mar 24 09:09:26 2021 From: kraishak.edu at gmail.com (Kraishak Mahtha) Date: Wed, 24 Mar 2021 14:39:26 +0530 Subject: DDNS updates for zone having multiple primary servers Message-ID: Hi Team, I am trying to configure DDNS updates from ISC DHCP server, I am facing issues when the zone is hosted on more than one primary server In the dhcpd.configuration file I updated zone section as below zone example.com. { primary 192.168.0.45,192.168.0.46; secondary 192.168.0.47; } When the clients gets a DHCPACK the dhcpd is sending the DDNS forward map message but only for the first primary DNS server(192.168.0.45) is getting updated with new records, I am not getting messages for second primary DNS server(192.168.0.46) Does any one have any idea/experience of configuring the DDNS from ISC DHCP for a zone hosted on multiple primary DNS servers Thanks in Advance Kraishak -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne at connect-mobile.co.za Thu Mar 25 12:01:53 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Thu, 25 Mar 2021 14:01:53 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: Message-ID: I tried it. No change. The issue still persists. On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect < wayne at connect-mobile.co.za> wrote: > I'll give it a try, thanks. > > > > > > On Tue, 23 Mar 2021 at 01:32, Bill Shirley < > bill at c3po.polymerindustries.biz> wrote: > >> Try: >> update-optimization off; >> >> Bill >> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >> >> Hi >> >> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then it >> randomly allocates the IP address or the backup IP address that are >> assigned to the host in the lease file to the host. The assignments always >> got to the correct host and the mac address doesn't change. >> >> When this backup IP address is allocated then dynamic DNS isn't updated >> and my container is unreachable. >> >> I've put all the relevant details in the link below but am more than >> happy enough to furnish anything that is missing. Can anyone help please? >> >> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >> >> >> >> _______________________________________________ >> 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 listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stenc at s-carlsen.dk Thu Mar 25 15:50:36 2021 From: stenc at s-carlsen.dk (Sten Carlsen) Date: Thu, 25 Mar 2021 16:50:36 +0100 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: Message-ID: You define the class kannel inside the subnet, so if there are any other subnets, it will be defined there as well. Class definitions are global always, defining them inside a subnet may have some "interesting" side effects as some options are taken from that subnet even if the host gets an address in a different subnet - routers is one of them. So one thought is, if the backup address is not in this subnet, the host will be given incorrect information. -- Best regards Sten Carlsen -------------------------------------------------- Aoccdrnig to rseerach at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat lteter be at the rghit pclae. The rset can be a ttoal mses and you can slitl raed it wotihut porbelm. Tihs is bcuseae the hmuan mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Amzanig, huh? -------------------------------------------------- > On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect wrote: > > I tried it. No change. The issue still persists. > > > > > > On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect > wrote: > I'll give it a try, thanks. > > > > > > On Tue, 23 Mar 2021 at 01:32, Bill Shirley > wrote: > Try: > update-optimization off; > > Bill > > On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >> Hi >> >> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then it randomly allocates the IP address or the backup IP address that are assigned to the host in the lease file to the host. The assignments always got to the correct host and the mac address doesn't change. >> >> When this backup IP address is allocated then dynamic DNS isn't updated and my container is unreachable. >> >> I've put all the relevant details in the link below but am more than happy enough to furnish anything that is missing. Can anyone help please? >> >> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >> >> >> >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne at connect-mobile.co.za Fri Mar 26 07:43:09 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Fri, 26 Mar 2021 09:43:09 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: Message-ID: Thanks Sten I've moved my class out of the subnet and the issue still persists. On Thu, 25 Mar 2021 at 17:51, Sten Carlsen wrote: > You define the class kannel inside the subnet, so if there are any other > subnets, it will be defined there as well. Class definitions are global > always, defining them inside a subnet may have some "interesting" side > effects as some options are taken from that subnet even if the host gets an > address in a different subnet - routers is one of them. > > So one thought is, if the backup address is not in this subnet, the host > will be given incorrect information. > > -- > Best regards > Sten Carlsen > > -------------------------------------------------- > Aoccdrnig to rseerach at Cmabrigde Uinervtisy, > it deosn't mttaer in waht oredr the ltteers in a > wrod are, the olny iprmoatnt tihng is taht the > frist and lsat lteter be at the rghit pclae. > The rset can be a ttoal mses and you can slitl > raed it wotihut porbelm. Tihs is bcuseae the > hmuan mnid deos not raed ervey lteter by istlef, > but the wrod as a wlohe. Amzanig, huh? > -------------------------------------------------- > > On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect < > wayne at connect-mobile.co.za> wrote: > > I tried it. No change. The issue still persists. > > > > > > On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect < > wayne at connect-mobile.co.za> wrote: > >> I'll give it a try, thanks. >> >> >> >> >> >> On Tue, 23 Mar 2021 at 01:32, Bill Shirley < >> bill at c3po.polymerindustries.biz> wrote: >> >>> Try: >>> update-optimization off; >>> >>> Bill >>> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >>> >>> Hi >>> >>> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then >>> it randomly allocates the IP address or the backup IP address that are >>> assigned to the host in the lease file to the host. The assignments always >>> got to the correct host and the mac address doesn't change. >>> >>> When this backup IP address is allocated then dynamic DNS isn't updated >>> and my container is unreachable. >>> >>> I've put all the relevant details in the link below but am more than >>> happy enough to furnish anything that is missing. Can anyone help please? >>> >>> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >>> >>> >>> >>> _______________________________________________ >>> 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 listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users >>> >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> >> _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stenc at s-carlsen.dk Fri Mar 26 17:31:49 2021 From: stenc at s-carlsen.dk (Sten Carlsen) Date: Fri, 26 Mar 2021 18:31:49 +0100 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: Message-ID: Thanks Sten > On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect wrote: > > Thanks Sten > > I've moved my class out of the subnet and the issue still persists. Well, that is one can of worms out of the picture. What are the two addresses? > > > > > > On Thu, 25 Mar 2021 at 17:51, Sten Carlsen > wrote: > You define the class kannel inside the subnet, so if there are any other subnets, it will be defined there as well. Class definitions are global always, defining them inside a subnet may have some "interesting" side effects as some options are taken from that subnet even if the host gets an address in a different subnet - routers is one of them. > > So one thought is, if the backup address is not in this subnet, the host will be given incorrect information. > > -- > Best regards > Sten Carlsen > > -------------------------------------------------- > Aoccdrnig to rseerach at Cmabrigde Uinervtisy, > it deosn't mttaer in waht oredr the ltteers in a > wrod are, the olny iprmoatnt tihng is taht the > frist and lsat lteter be at the rghit pclae. > The rset can be a ttoal mses and you can slitl > raed it wotihut porbelm. Tihs is bcuseae the > hmuan mnid deos not raed ervey lteter by istlef, > but the wrod as a wlohe. Amzanig, huh? > -------------------------------------------------- > >> On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect > wrote: >> >> I tried it. No change. The issue still persists. >> >> >> >> >> >> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect > wrote: >> I'll give it a try, thanks. >> >> >> >> >> >> On Tue, 23 Mar 2021 at 01:32, Bill Shirley > wrote: >> Try: >> update-optimization off; >> >> Bill >> >> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >>> Hi >>> >>> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then it randomly allocates the IP address or the backup IP address that are assigned to the host in the lease file to the host. The assignments always got to the correct host and the mac address doesn't change. >>> >>> When this backup IP address is allocated then dynamic DNS isn't updated and my container is unreachable. >>> >>> I've put all the relevant details in the link below but am more than happy enough to furnish anything that is missing. Can anyone help please? >>> >>> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >>> >>> >>> >>> >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhcp1 at thehobsons.co.uk Sat Mar 27 18:50:07 2021 From: dhcp1 at thehobsons.co.uk (Simon Hobson) Date: Sat, 27 Mar 2021 18:50:07 +0000 Subject: DDNS updates for zone having multiple primary servers In-Reply-To: References: Message-ID: <786D51B5-8F22-4D42-BBFE-C331709AB689@thehobsons.co.uk> Kraishak Mahtha wrote: > I am trying to configure DDNS updates from ISC DHCP server, I am facing issues when the zone is hosted on more than one primary server You will, it's not a supported setup. You will need to setup a single primary server to receive updates, and update any number of secondary servers from that. Simon From wayne at connect-mobile.co.za Mon Mar 29 10:05:22 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Mon, 29 Mar 2021 12:05:22 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: Message-ID: Hi Sten One of the host I've been testing with in the kannel pool alternates between the following inet 10.3.2.36/16 inet 10.3.2.60/16 Leases look as follows. I don't really understand why each would be both free and active. Here's the log file of the responsible peer: https://pastebin.com/UP6M1Lic DHCP Lease list on responsible peer. The other one has similar data but no host names. https://pastebin.com/WX3NwkM2 Here's snippet of the lease file https://pastebin.com/fKFiZpQ0 On Fri, 26 Mar 2021 at 19:32, Sten Carlsen wrote: > > Thanks > > Sten > > On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect < > wayne at connect-mobile.co.za> wrote: > > Thanks Sten > > I've moved my class out of the subnet and the issue still persists. > > > Well, that is one can of worms out of the picture. > > What are the two addresses? > > > > > > > > On Thu, 25 Mar 2021 at 17:51, Sten Carlsen wrote: > >> You define the class kannel inside the subnet, so if there are any other >> subnets, it will be defined there as well. Class definitions are global >> always, defining them inside a subnet may have some "interesting" side >> effects as some options are taken from that subnet even if the host gets an >> address in a different subnet - routers is one of them. >> >> So one thought is, if the backup address is not in this subnet, the host >> will be given incorrect information. >> >> -- >> Best regards >> Sten Carlsen >> >> -------------------------------------------------- >> Aoccdrnig to rseerach at Cmabrigde Uinervtisy, >> it deosn't mttaer in waht oredr the ltteers in a >> wrod are, the olny iprmoatnt tihng is taht the >> frist and lsat lteter be at the rghit pclae. >> The rset can be a ttoal mses and you can slitl >> raed it wotihut porbelm. Tihs is bcuseae the >> hmuan mnid deos not raed ervey lteter by istlef, >> but the wrod as a wlohe. Amzanig, huh? >> -------------------------------------------------- >> >> On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect < >> wayne at connect-mobile.co.za> wrote: >> >> I tried it. No change. The issue still persists. >> >> >> >> >> >> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect < >> wayne at connect-mobile.co.za> wrote: >> >>> I'll give it a try, thanks. >>> >>> >>> >>> >>> >>> On Tue, 23 Mar 2021 at 01:32, Bill Shirley < >>> bill at c3po.polymerindustries.biz> wrote: >>> >>>> Try: >>>> update-optimization off; >>>> >>>> Bill >>>> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >>>> >>>> Hi >>>> >>>> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then >>>> it randomly allocates the IP address or the backup IP address that are >>>> assigned to the host in the lease file to the host. The assignments always >>>> got to the correct host and the mac address doesn't change. >>>> >>>> When this backup IP address is allocated then dynamic DNS isn't updated >>>> and my container is unreachable. >>>> >>>> I've put all the relevant details in the link below but am more than >>>> happy enough to furnish anything that is missing. Can anyone help please? >>>> >>>> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users >>>> >>>> _______________________________________________ >>>> 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 at lists.isc.org >>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>> >>> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stenc at s-carlsen.dk Mon Mar 29 16:26:56 2021 From: stenc at s-carlsen.dk (Sten Carlsen) Date: Mon, 29 Mar 2021 18:26:56 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: Message-ID: <205ABDC5-68E8-4CE0-8121-E237E1B268FB@s-carlsen.dk> Hi These two addresses are both in the same pool, so nothing illegal is happening. It is still odd that it sometimes gets one address and then the other, this should not happen. Consider the leases file as a historical document, each time something happens, the leases file gets added to. Once in a while it gets regenerated with just the current status of all leases. So for this sequence of events you should be able to reconstruct what happened by looking into this file. One thing that comes to mind is timing. The release and the discover happens in the same second, so what if the server could not write to the leases file before being asked about a new lease - this is not extending an existing lease as the discover indicates that the device does not have an address at this moment. Would it be possible to add a pause of a few seconds between the release and the discover? at least for an experiment. If that works, some timing is at the bottom of this. Possibly a wireshark trace could reveal the exact timing of these two messages. The leases file snippet did also not have both addresses as active, which could uncover other interesting things. -- Best regards Sten Carlsen A pessimist is a person that can find a problem for every solution. > On 29 Mar 2021, at 12.05, Wayne Gemmell | Connect wrote: > > Hi Sten > > One of the host I've been testing with in the kannel pool alternates between the following > > inet 10.3.2.36/16 > inet 10.3.2.60/16 > > Leases look as follows. I don't really understand why each would be both free and active. > > Here's the log file of the responsible peer: https://pastebin.com/UP6M1Lic > > DHCP Lease list on responsible peer. The other one has similar data but no host names. https://pastebin.com/WX3NwkM2 > Here's snippet of the lease file https://pastebin.com/fKFiZpQ0 > > > > > On Fri, 26 Mar 2021 at 19:32, Sten Carlsen > wrote: > > Thanks > > Sten > >> On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect > wrote: >> >> Thanks Sten >> >> I've moved my class out of the subnet and the issue still persists. > > Well, that is one can of worms out of the picture. > > What are the two addresses? > > >> >> >> >> >> >> On Thu, 25 Mar 2021 at 17:51, Sten Carlsen > wrote: >> You define the class kannel inside the subnet, so if there are any other subnets, it will be defined there as well. Class definitions are global always, defining them inside a subnet may have some "interesting" side effects as some options are taken from that subnet even if the host gets an address in a different subnet - routers is one of them. >> >> So one thought is, if the backup address is not in this subnet, the host will be given incorrect information. >> >> -- >> Best regards >> Sten Carlsen >> >> -------------------------------------------------- >> Aoccdrnig to rseerach at Cmabrigde Uinervtisy, >> it deosn't mttaer in waht oredr the ltteers in a >> wrod are, the olny iprmoatnt tihng is taht the >> frist and lsat lteter be at the rghit pclae. >> The rset can be a ttoal mses and you can slitl >> raed it wotihut porbelm. Tihs is bcuseae the >> hmuan mnid deos not raed ervey lteter by istlef, >> but the wrod as a wlohe. Amzanig, huh? >> -------------------------------------------------- >> >>> On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect > wrote: >>> >>> I tried it. No change. The issue still persists. >>> >>> >>> >>> >>> >>> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect > wrote: >>> I'll give it a try, thanks. >>> >>> >>> >>> >>> >>> On Tue, 23 Mar 2021 at 01:32, Bill Shirley > wrote: >>> Try: >>> update-optimization off; >>> >>> Bill >>> >>> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >>>> Hi >>>> >>>> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then it randomly allocates the IP address or the backup IP address that are assigned to the host in the lease file to the host. The assignments always got to the correct host and the mac address doesn't change. >>>> >>>> When this backup IP address is allocated then dynamic DNS isn't updated and my container is unreachable. >>>> >>>> I've put all the relevant details in the link below but am more than happy enough to furnish anything that is missing. Can anyone help please? >>>> >>>> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 at lists.isc.org >>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From glenn.satchell at uniq.com.au Mon Mar 29 23:14:55 2021 From: glenn.satchell at uniq.com.au (glenn.satchell at uniq.com.au) Date: Tue, 30 Mar 2021 10:14:55 +1100 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: <205ABDC5-68E8-4CE0-8121-E237E1B268FB@s-carlsen.dk> References: <205ABDC5-68E8-4CE0-8121-E237E1B268FB@s-carlsen.dk> Message-ID: The on-disk leases file is just a representation of what is in memory - that is the true status, so as soon as it is released it would be marked so in the in memory copy. I don't think timing would affect that. What Sten says though about the history in the leases file is correct - each new operation is appended to the file, so you can see previous ones, at least for the life of the file. My understanding is that the file is re-written every hour to preven tit growing too large. The previous file remains dhcpd.leases~ so between the two you can get up to 2 hours of history. When a lease is released, it is marked as available. Given this particular client has had both IPs in the past, then the matching algorithm to find a new lease could come up with both possibilities. Without looking at the code I wouldn't know precisely how it decides upon a particular lease from the list of candidates. The client should be prepared to switch IPs upon release of the lease and subsequent discover. That is not the same as renewing an existing lease. I guess the real problem is that DNS is not being updated. Packet capture between dhcpd and the DNS server will at least show if updates are being sent and you can then narrow it down to a problem with either server. regards, Glenn On 2021-03-30 03:26, Sten Carlsen wrote: > Hi > > These two addresses are both in the same pool, so nothing illegal is > happening. It is still odd that it sometimes gets one address and then > the other, this should not happen. > > Consider the leases file as a historical document, each time something > happens, the leases file gets added to. Once in a while it gets > regenerated with just the current status of all leases. > > So for this sequence of events you should be able to reconstruct what > happened by looking into this file. > > One thing that comes to mind is timing. The release and the discover > happens in the same second, so what if the server could not write to > the leases file before being asked about a new lease - this is not > extending an existing lease as the discover indicates that the device > does not have an address at this moment. > > Would it be possible to add a pause of a few seconds between the > release and the discover? at least for an experiment. If that works, > some timing is at the bottom of this. > > Possibly a wireshark trace could reveal the exact timing of these two > messages. > > The leases file snippet did also not have both addresses as active, > which could uncover other interesting things. > > -- > Best regards > Sten Carlsen > > A pessimist is a person that can find a problem for every solution. > >> On 29 Mar 2021, at 12.05, Wayne Gemmell | Connect >> wrote: >> >> Hi Sten >> >> One of the host I've been testing with in the kannel pool alternates >> between the following >> >> inet 10.3.2.36/16 [1] >> >> inet 10.3.2.60/16 [2] >> >> Leases look as follows. I don't really understand why each would be >> both free and active. >> >> Here's the log file of the responsible peer: >> https://pastebin.com/UP6M1Lic >> >> DHCP Lease list on responsible peer. The other one has similar data >> but no host names. https://pastebin.com/WX3NwkM2 >> Here's snippet of the lease file https://pastebin.com/fKFiZpQ0 >> >> [3] >> >> On Fri, 26 Mar 2021 at 19:32, Sten Carlsen >> wrote: >> >> Thanks >> >> Sten >> >> On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect >> wrote: >> >> Thanks Sten >> >> I've moved my class out of the subnet and the issue still persists. >> >> Well, that is one can of worms out of the picture. >> >> What are the two addresses? >> >> [3] >> >> On Thu, 25 Mar 2021 at 17:51, Sten Carlsen >> wrote: >> >> You define the class kannel inside the subnet, so if there are any >> other subnets, it will be defined there as well. Class definitions >> are global always, defining them inside a subnet may have some >> "interesting" side effects as some options are taken from that >> subnet even if the host gets an address in a different subnet - >> routers is one of them. >> >> So one thought is, if the backup address is not in this subnet, the >> host will be given incorrect information. >> >> -- >> Best regards >> Sten Carlsen >> >> -------------------------------------------------- >> Aoccdrnig to rseerach at Cmabrigde Uinervtisy, >> it deosn't mttaer in waht oredr the ltteers in a >> wrod are, the olny iprmoatnt tihng is taht the >> frist and lsat lteter be at the rghit pclae. >> The rset can be a ttoal mses and you can slitl >> raed it wotihut porbelm. Tihs is bcuseae the >> hmuan mnid deos not raed ervey lteter by istlef, >> but the wrod as a wlohe. Amzanig, huh? >> -------------------------------------------------- >> >> On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect >> wrote: >> >> I tried it. No change. The issue still persists. >> >> [3] >> >> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect >> wrote: >> >> I'll give it a try, thanks. >> >> [3] >> >> On Tue, 23 Mar 2021 at 01:32, Bill Shirley >> wrote: >> >> Try: >> update-optimization off; >> >> Bill >> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >> >> Hi >> >> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER >> then it randomly allocates the IP address or the backup IP address >> that are assigned to the host in the lease file to the host. The >> assignments always got to the correct host and the mac address >> doesn't change. >> >> When this backup IP address is allocated then dynamic DNS isn't >> updated and my container is unreachable. >> >> I've put all the relevant details in the link below but am more than >> happy enough to furnish anything that is missing. Can anyone help >> please? >> >> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 [4] >> >> [3] >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > > > > Links: > ------ > [1] http://10.3.2.36/16 > [2] http://10.3.2.60/16 > [3] https://connect-mobile.co.za/mobile_marketing_solutions/ > [4] https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users From kraishak.edu at gmail.com Tue Mar 30 04:00:19 2021 From: kraishak.edu at gmail.com (kraishak) Date: Mon, 29 Mar 2021 23:00:19 -0500 (CDT) Subject: DDNS updates for zone having multiple primary servers In-Reply-To: <786D51B5-8F22-4D42-BBFE-C331709AB689@thehobsons.co.uk> References: <786D51B5-8F22-4D42-BBFE-C331709AB689@thehobsons.co.uk> Message-ID: <1617076819943-0.post@n4.nabble.com> Hi Simon, Thanks for the information, Just want to cross check does it means can we configure the secondary appliance as comma separated IP's as below if we have more than one ? zone example.com. { primary 192.168.0.45; secondary 192.168.0.47,192.168.0.48; } 2)I have one more doubt while configuring the DDNS updates we have an option domain-name-servers and zone servers like below option domain-name-servers , ; zone example.com. { primary ; secondary ; } Does Server1, server2 should be same as ServerZ1, ServerZ2? Thanks in Advance Kraishak -- Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/ From glenn.satchell at uniq.com.au Tue Mar 30 04:53:13 2021 From: glenn.satchell at uniq.com.au (glenn.satchell at uniq.com.au) Date: Tue, 30 Mar 2021 15:53:13 +1100 Subject: DDNS updates for zone having multiple primary servers In-Reply-To: <1617076819943-0.post@n4.nabble.com> References: <786D51B5-8F22-4D42-BBFE-C331709AB689@thehobsons.co.uk> <1617076819943-0.post@n4.nabble.com> Message-ID: Hi Kraishak option domain-name-servers , ; This sets the list of DNS servers to be used by the client for looking up DNS entries. It is not related to DDNS updates. In a large network, for example, you may want this to point to local DNS servers. If your authoritative DNS only lists public IPs then you might want to point to the Google DNS (8.8.8.8, etc) on the clients. For the zone setting, have you had a look at the dhcpd.conf man page, in particular the section titled "DYNAMIC DNS UPDATE SECURITY" where it explains the syntax and behaviour. It's not clear whether it is a comma separated list of secondaries, or multiple secondary statements with a single address. regards, Glenn On 2021-03-30 15:00, kraishak wrote: > Hi Simon, > > Thanks for the information, Just want to cross check does it means can > we > configure the secondary appliance as comma separated IP's as below if > we > have more than one ? > > zone example.com. > { > primary 192.168.0.45; > secondary 192.168.0.47,192.168.0.48; > } > > 2)I have one more doubt while configuring the DDNS updates > we have an option domain-name-servers and zone servers like below > option domain-name-servers , ; > zone example.com. > { > primary ; > secondary ; > } > Does Server1, server2 should be same as ServerZ1, ServerZ2? > > Thanks in Advance > Kraishak > > > > > > -- > Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/ > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users From brazda at omegaplus.cz Wed Mar 31 07:32:26 2021 From: brazda at omegaplus.cz (=?UTF-8?Q?Ing=2e_Martin_Br=c3=a1zda?=) Date: Wed, 31 Mar 2021 09:32:26 +0200 Subject: DHCPv6-PD external script on commit Message-ID: <23057ad3-add9-dadd-2af4-062833937c07@omegaplus.cz> Hello. I have isc-dhcp server 4.3.4 with my own HACK, that execute external script on commit. Script add leased IPv6 prefix to routing table on router, that is in DHCPv6 RELAY role. Can I do this in current version without hack? I found "on commit" in manual but without suitable example. In external script I must have 1. leased IPv6 prefix, 2. mask, 3. client IPv6 address and optionaly 4. relay server IPv6 address, 5. interface name (or id) on relay server. Thanks for reply M.Brazda From kraishak.edu at gmail.com Wed Mar 31 07:55:44 2021 From: kraishak.edu at gmail.com (kraishak) Date: Wed, 31 Mar 2021 02:55:44 -0500 (CDT) Subject: DDNS updates for zone having multiple primary servers In-Reply-To: References: <786D51B5-8F22-4D42-BBFE-C331709AB689@thehobsons.co.uk> <1617076819943-0.post@n4.nabble.com> Message-ID: <1617177344574-0.post@n4.nabble.com> Hi Glenn, Thanks for the reply, >>For the zone setting, have you had a look at the dhcpd.conf man page, in particular the section titled "DYNAMIC DNS UPDATE SECURITY" where it explains the syntax and behaviour. >>It's not clear whether it is a comma separated list of secondaries, ormultiple secondary statements with a single address. yes I tried checking in the man pages and document but it is not clear and there is no specific note that tells this DDNS updates can be suitable only for the zones which have only one primary and one secondary, so I thought of checking with dhcp-users if any one tried or having any experience for that Thanks Kraishak -- Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/ From glenn.satchell at uniq.com.au Wed Mar 31 08:07:02 2021 From: glenn.satchell at uniq.com.au (glenn.satchell at uniq.com.au) Date: Wed, 31 Mar 2021 19:07:02 +1100 Subject: DDNS updates for zone having multiple primary servers In-Reply-To: <1617177344574-0.post@n4.nabble.com> References: <786D51B5-8F22-4D42-BBFE-C331709AB689@thehobsons.co.uk> <1617076819943-0.post@n4.nabble.com> <1617177344574-0.post@n4.nabble.com> Message-ID: Hi Kraishak My understanding from a long time ago (as in >5 years) was that that dynamic dns updates are only sent to the primary DNS server. The primary is expected to forward to all the secondaries. I think DHCP sends an update to the secondary only when the primary is not contactable, and the secondary is expected to forward the update to the primary when it comes back online. Either way the DHCP server does not directly update any secondaries, that is the job of the primary. So the bottom line is that it probably doesn't matter if you only list one secondary. regards, Glenn On 2021-03-31 18:55, kraishak wrote: > Hi Glenn, > Thanks for the reply, > >>> For the zone setting, have you had a look at the dhcpd.conf man page, >>> in > particular the section titled "DYNAMIC DNS UPDATE SECURITY" where it > explains the syntax and behaviour. > >>> It's not clear whether it is a comma separated list of secondaries, > ormultiple secondary statements with a single address. > > yes I tried checking in the man pages and document but it is not clear > and > there is no specific note that tells this DDNS updates can be suitable > only > for the zones which have only one primary and one secondary, so I > thought of > checking with dhcp-users if any one tried or having any experience for > that > > > Thanks > Kraishak > > > > > -- > Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/ > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users From kraishak.edu at gmail.com Wed Mar 31 10:08:15 2021 From: kraishak.edu at gmail.com (kraishak) Date: Wed, 31 Mar 2021 05:08:15 -0500 (CDT) Subject: DDNS updates for zone having multiple primary servers In-Reply-To: References: <786D51B5-8F22-4D42-BBFE-C331709AB689@thehobsons.co.uk> <1617076819943-0.post@n4.nabble.com> <1617177344574-0.post@n4.nabble.com> Message-ID: <1617185295576-0.post@n4.nabble.com> Hi Glenn, Thanks for sharing your observation much appreciated the help Regards Kraishak -- Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/ From wayne at connect-mobile.co.za Wed Mar 31 11:42:35 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Wed, 31 Mar 2021 13:42:35 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: <205ABDC5-68E8-4CE0-8121-E237E1B268FB@s-carlsen.dk> References: <205ABDC5-68E8-4CE0-8121-E237E1B268FB@s-carlsen.dk> Message-ID: Hi I've posted a pcap file of the process. There is nothing hitting at exactly the same moment but I'm digging into how to trigger this differently. https://drive.google.com/file/d/1mYIIlhq7JPdszT1zeasREIYcP4Fnj1lj/view?usp=sharing On Mon, 29 Mar 2021 at 18:27, Sten Carlsen wrote: > Hi > > These two addresses are both in the same pool, so nothing illegal is > happening. It is still odd that it sometimes gets one address and then the > other, this should not happen. > > Consider the leases file as a historical document, each time something > happens, the leases file gets added to. Once in a while it gets regenerated > with just the current status of all leases. > > So for this sequence of events you should be able to reconstruct what > happened by looking into this file. > > One thing that comes to mind is timing. The release and the discover > happens in the same second, so what if the server could not write to the > leases file before being asked about a new lease - this is not extending an > existing lease as the discover indicates that the device does not have an > address at this moment. > > Would it be possible to add a pause of a few seconds between the release > and the discover? at least for an experiment. If that works, some timing is > at the bottom of this. > > Possibly a wireshark trace could reveal the exact timing of these two > messages. > > The leases file snippet did also not have both addresses as active, which > could uncover other interesting things. > > -- > Best regards > Sten Carlsen > > A pessimist is a person that can find a problem for every solution. > > > On 29 Mar 2021, at 12.05, Wayne Gemmell | Connect < > wayne at connect-mobile.co.za> wrote: > > Hi Sten > > One of the host I've been testing with in the kannel pool alternates > between the following > > inet 10.3.2.36/16 > inet 10.3.2.60/16 > > Leases look as follows. I don't really understand why each would be both > free and active. > > Here's the log file of the responsible peer: https://pastebin.com/UP6M1Lic > > DHCP Lease list on responsible peer. The other one has similar data but no > host names. https://pastebin.com/WX3NwkM2 > > Here's snippet of the lease file https://pastebin.com/fKFiZpQ0 > > > > > On Fri, 26 Mar 2021 at 19:32, Sten Carlsen wrote: > >> >> Thanks >> >> Sten >> >> On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect < >> wayne at connect-mobile.co.za> wrote: >> >> Thanks Sten >> >> I've moved my class out of the subnet and the issue still persists. >> >> >> Well, that is one can of worms out of the picture. >> >> What are the two addresses? >> >> >> >> >> >> >> >> On Thu, 25 Mar 2021 at 17:51, Sten Carlsen wrote: >> >>> You define the class kannel inside the subnet, so if there are any other >>> subnets, it will be defined there as well. Class definitions are global >>> always, defining them inside a subnet may have some "interesting" side >>> effects as some options are taken from that subnet even if the host gets an >>> address in a different subnet - routers is one of them. >>> >>> So one thought is, if the backup address is not in this subnet, the host >>> will be given incorrect information. >>> >>> -- >>> Best regards >>> Sten Carlsen >>> >>> -------------------------------------------------- >>> Aoccdrnig to rseerach at Cmabrigde Uinervtisy, >>> it deosn't mttaer in waht oredr the ltteers in a >>> wrod are, the olny iprmoatnt tihng is taht the >>> frist and lsat lteter be at the rghit pclae. >>> The rset can be a ttoal mses and you can slitl >>> raed it wotihut porbelm. Tihs is bcuseae the >>> hmuan mnid deos not raed ervey lteter by istlef, >>> but the wrod as a wlohe. Amzanig, huh? >>> -------------------------------------------------- >>> >>> On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect < >>> wayne at connect-mobile.co.za> wrote: >>> >>> I tried it. No change. The issue still persists. >>> >>> >>> >>> >>> >>> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect < >>> wayne at connect-mobile.co.za> wrote: >>> >>>> I'll give it a try, thanks. >>>> >>>> >>>> >>>> >>>> >>>> On Tue, 23 Mar 2021 at 01:32, Bill Shirley < >>>> bill at c3po.polymerindustries.biz> wrote: >>>> >>>>> Try: >>>>> update-optimization off; >>>>> >>>>> Bill >>>>> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >>>>> >>>>> Hi >>>>> >>>>> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then >>>>> it randomly allocates the IP address or the backup IP address that are >>>>> assigned to the host in the lease file to the host. The assignments always >>>>> got to the correct host and the mac address doesn't change. >>>>> >>>>> When this backup IP address is allocated then dynamic DNS isn't >>>>> updated and my container is unreachable. >>>>> >>>>> I've put all the relevant details in the link below but am more than >>>>> happy enough to furnish anything that is missing. Can anyone help please? >>>>> >>>>> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users >>>>> >>>>> _______________________________________________ >>>>> 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 at lists.isc.org >>>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>>> >>>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> >>> >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne at connect-mobile.co.za Wed Mar 31 11:45:52 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Wed, 31 Mar 2021 13:45:52 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: <205ABDC5-68E8-4CE0-8121-E237E1B268FB@s-carlsen.dk> Message-ID: Thanks Glenn, I agree completely. if the DNS updated this wouldn't be an issue. I'm trying to work out what is going on there but it is a bit of a busy DNS server. I will try and isolate the traffic though. On Tue, 30 Mar 2021 at 01:21, wrote: > The on-disk leases file is just a representation of what is in memory - > that is the true status, so as soon as it is released it would be marked > so in the in memory copy. I don't think timing would affect that. What > Sten says though about the history in the leases file is correct - each > new operation is appended to the file, so you can see previous ones, at > least for the life of the file. My understanding is that the file is > re-written every hour to preven tit growing too large. The previous file > remains dhcpd.leases~ so between the two you can get up to 2 hours of > history. > > When a lease is released, it is marked as available. Given this > particular client has had both IPs in the past, then the matching > algorithm to find a new lease could come up with both possibilities. > Without looking at the code I wouldn't know precisely how it decides > upon a particular lease from the list of candidates. The client should > be prepared to switch IPs upon release of the lease and subsequent > discover. That is not the same as renewing an existing lease. I guess > the real problem is that DNS is not being updated. > > Packet capture between dhcpd and the DNS server will at least show if > updates are being sent and you can then narrow it down to a problem with > either server. > > regards, > Glenn > > On 2021-03-30 03:26, Sten Carlsen wrote: > > Hi > > > > These two addresses are both in the same pool, so nothing illegal is > > happening. It is still odd that it sometimes gets one address and then > > the other, this should not happen. > > > > Consider the leases file as a historical document, each time something > > happens, the leases file gets added to. Once in a while it gets > > regenerated with just the current status of all leases. > > > > So for this sequence of events you should be able to reconstruct what > > happened by looking into this file. > > > > One thing that comes to mind is timing. The release and the discover > > happens in the same second, so what if the server could not write to > > the leases file before being asked about a new lease - this is not > > extending an existing lease as the discover indicates that the device > > does not have an address at this moment. > > > > Would it be possible to add a pause of a few seconds between the > > release and the discover? at least for an experiment. If that works, > > some timing is at the bottom of this. > > > > Possibly a wireshark trace could reveal the exact timing of these two > > messages. > > > > The leases file snippet did also not have both addresses as active, > > which could uncover other interesting things. > > > > -- > > Best regards > > Sten Carlsen > > > > A pessimist is a person that can find a problem for every solution. > > > >> On 29 Mar 2021, at 12.05, Wayne Gemmell | Connect > >> wrote: > >> > >> Hi Sten > >> > >> One of the host I've been testing with in the kannel pool alternates > >> between the following > >> > >> inet 10.3.2.36/16 [1] > >> > >> inet 10.3.2.60/16 [2] > >> > >> Leases look as follows. I don't really understand why each would be > >> both free and active. > >> > >> Here's the log file of the responsible peer: > >> https://pastebin.com/UP6M1Lic > >> > >> DHCP Lease list on responsible peer. The other one has similar data > >> but no host names. https://pastebin.com/WX3NwkM2 > >> Here's snippet of the lease file https://pastebin.com/fKFiZpQ0 > >> > >> [3] > >> > >> On Fri, 26 Mar 2021 at 19:32, Sten Carlsen > >> wrote: > >> > >> Thanks > >> > >> Sten > >> > >> On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect > >> wrote: > >> > >> Thanks Sten > >> > >> I've moved my class out of the subnet and the issue still persists. > >> > >> Well, that is one can of worms out of the picture. > >> > >> What are the two addresses? > >> > >> [3] > >> > >> On Thu, 25 Mar 2021 at 17:51, Sten Carlsen > >> wrote: > >> > >> You define the class kannel inside the subnet, so if there are any > >> other subnets, it will be defined there as well. Class definitions > >> are global always, defining them inside a subnet may have some > >> "interesting" side effects as some options are taken from that > >> subnet even if the host gets an address in a different subnet - > >> routers is one of them. > >> > >> So one thought is, if the backup address is not in this subnet, the > >> host will be given incorrect information. > >> > >> -- > >> Best regards > >> Sten Carlsen > >> > >> -------------------------------------------------- > >> Aoccdrnig to rseerach at Cmabrigde Uinervtisy, > >> it deosn't mttaer in waht oredr the ltteers in a > >> wrod are, the olny iprmoatnt tihng is taht the > >> frist and lsat lteter be at the rghit pclae. > >> The rset can be a ttoal mses and you can slitl > >> raed it wotihut porbelm. Tihs is bcuseae the > >> hmuan mnid deos not raed ervey lteter by istlef, > >> but the wrod as a wlohe. Amzanig, huh? > >> -------------------------------------------------- > >> > >> On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect > >> wrote: > >> > >> I tried it. No change. The issue still persists. > >> > >> [3] > >> > >> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect > >> wrote: > >> > >> I'll give it a try, thanks. > >> > >> [3] > >> > >> On Tue, 23 Mar 2021 at 01:32, Bill Shirley > >> wrote: > >> > >> Try: > >> update-optimization off; > >> > >> Bill > >> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: > >> > >> Hi > >> > >> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER > >> then it randomly allocates the IP address or the backup IP address > >> that are assigned to the host in the lease file to the host. The > >> assignments always got to the correct host and the mac address > >> doesn't change. > >> > >> When this backup IP address is allocated then dynamic DNS isn't > >> updated and my container is unreachable. > >> > >> I've put all the relevant details in the link below but am more than > >> happy enough to furnish anything that is missing. Can anyone help > >> please? > >> > >> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 [4] > >> > >> [3] > >> > >> _______________________________________________ > >> 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 at lists.isc.org > >> https://lists.isc.org/mailman/listinfo/dhcp-users > >> > >> _______________________________________________ > >> 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 at lists.isc.org > >> https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > > > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > > > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > > > > > > > > Links: > > ------ > > [1] http://10.3.2.36/16 > > [2] http://10.3.2.60/16 > > [3] https://connect-mobile.co.za/mobile_marketing_solutions/ > > [4] https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 > > _______________________________________________ > > 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 at lists.isc.org > > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stenc at s-carlsen.dk Wed Mar 31 11:51:26 2021 From: stenc at s-carlsen.dk (Sten Carlsen) Date: Wed, 31 Mar 2021 13:51:26 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: <205ABDC5-68E8-4CE0-8121-E237E1B268FB@s-carlsen.dk> Message-ID: > On 31 Mar 2021, at 13.42, Wayne Gemmell | Connect wrote: > > Hi > > I've posted a pcap file of the process. There is nothing hitting at exactly the same moment but I'm digging into how to trigger this differently. > > https://drive.google.com/file/d/1mYIIlhq7JPdszT1zeasREIYcP4Fnj1lj/view?usp=sharing I will take a look, but as Glenn mentioned this will likely be down to the process the code uses to select a suitable and available address. One thing you may want to try: Stop the servers, edit the leases file to remove any mention of the undesired address and restart the servers. They will initialise using the information in the leases file and then the host has only one address that it has ever used. This should work until for some reason it gets a different address once - then this will start again. > > > > > > > On Mon, 29 Mar 2021 at 18:27, Sten Carlsen > wrote: > Hi > > These two addresses are both in the same pool, so nothing illegal is happening. It is still odd that it sometimes gets one address and then the other, this should not happen. > > Consider the leases file as a historical document, each time something happens, the leases file gets added to. Once in a while it gets regenerated with just the current status of all leases. > > So for this sequence of events you should be able to reconstruct what happened by looking into this file. > > One thing that comes to mind is timing. The release and the discover happens in the same second, so what if the server could not write to the leases file before being asked about a new lease - this is not extending an existing lease as the discover indicates that the device does not have an address at this moment. > > Would it be possible to add a pause of a few seconds between the release and the discover? at least for an experiment. If that works, some timing is at the bottom of this. > > Possibly a wireshark trace could reveal the exact timing of these two messages. > > The leases file snippet did also not have both addresses as active, which could uncover other interesting things. > > -- > Best regards > Sten Carlsen > > A pessimist is a person that can find a problem for every solution. > > >> On 29 Mar 2021, at 12.05, Wayne Gemmell | Connect > wrote: >> >> Hi Sten >> >> One of the host I've been testing with in the kannel pool alternates between the following >> >> inet 10.3.2.36/16 >> inet 10.3.2.60/16 >> >> Leases look as follows. I don't really understand why each would be both free and active. >> >> Here's the log file of the responsible peer: https://pastebin.com/UP6M1Lic >> >> DHCP Lease list on responsible peer. The other one has similar data but no host names. https://pastebin.com/WX3NwkM2 >> Here's snippet of the lease file https://pastebin.com/fKFiZpQ0 >> >> >> >> >> On Fri, 26 Mar 2021 at 19:32, Sten Carlsen > wrote: >> >> Thanks >> >> Sten >> >>> On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect > wrote: >>> >>> Thanks Sten >>> >>> I've moved my class out of the subnet and the issue still persists. >> >> Well, that is one can of worms out of the picture. >> >> What are the two addresses? >> >> >>> >>> >>> >>> >>> >>> On Thu, 25 Mar 2021 at 17:51, Sten Carlsen > wrote: >>> You define the class kannel inside the subnet, so if there are any other subnets, it will be defined there as well. Class definitions are global always, defining them inside a subnet may have some "interesting" side effects as some options are taken from that subnet even if the host gets an address in a different subnet - routers is one of them. >>> >>> So one thought is, if the backup address is not in this subnet, the host will be given incorrect information. >>> >>> -- >>> Best regards >>> Sten Carlsen >>> >>> -------------------------------------------------- >>> Aoccdrnig to rseerach at Cmabrigde Uinervtisy, >>> it deosn't mttaer in waht oredr the ltteers in a >>> wrod are, the olny iprmoatnt tihng is taht the >>> frist and lsat lteter be at the rghit pclae. >>> The rset can be a ttoal mses and you can slitl >>> raed it wotihut porbelm. Tihs is bcuseae the >>> hmuan mnid deos not raed ervey lteter by istlef, >>> but the wrod as a wlohe. Amzanig, huh? >>> -------------------------------------------------- >>> >>>> On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect > wrote: >>>> >>>> I tried it. No change. The issue still persists. >>>> >>>> >>>> >>>> >>>> >>>> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect > wrote: >>>> I'll give it a try, thanks. >>>> >>>> >>>> >>>> >>>> >>>> On Tue, 23 Mar 2021 at 01:32, Bill Shirley > wrote: >>>> Try: >>>> update-optimization off; >>>> >>>> Bill >>>> >>>> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >>>>> Hi >>>>> >>>>> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER then it randomly allocates the IP address or the backup IP address that are assigned to the host in the lease file to the host. The assignments always got to the correct host and the mac address doesn't change. >>>>> >>>>> When this backup IP address is allocated then dynamic DNS isn't updated and my container is unreachable. >>>>> >>>>> I've put all the relevant details in the link below but am more than happy enough to furnish anything that is missing. Can anyone help please? >>>>> >>>>> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 at lists.isc.org >>>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>> _______________________________________________ >>>> 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 at lists.isc.org >>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>> _______________________________________________ >>>> 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 at lists.isc.org >>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From wayne at connect-mobile.co.za Wed Mar 31 12:07:50 2021 From: wayne at connect-mobile.co.za (Wayne Gemmell | Connect) Date: Wed, 31 Mar 2021 14:07:50 +0200 Subject: Dhcpd randomly returns the IP address or the backup IP In-Reply-To: References: <205ABDC5-68E8-4CE0-8121-E237E1B268FB@s-carlsen.dk> Message-ID: I made a mistake and that file has all the mysql and dhcp in it. Oops. Oh well. I have no doubt it wil lhappen again because this happens on all the hosts I test on. On Wed, 31 Mar 2021 at 13:51, Sten Carlsen wrote: > > > On 31 Mar 2021, at 13.42, Wayne Gemmell | Connect < > wayne at connect-mobile.co.za> wrote: > > Hi > > I've posted a pcap file of the process. There is nothing hitting at > exactly the same moment but I'm digging into how to trigger this > differently. > > > https://drive.google.com/file/d/1mYIIlhq7JPdszT1zeasREIYcP4Fnj1lj/view?usp=sharing > > > I will take a look, but as Glenn mentioned this will likely be down to the > process the code uses to select a suitable and available address. > > One thing you may want to try: > > Stop the servers, edit the leases file to remove any mention of the > undesired address and restart the servers. They will initialise using the > information in the leases file and then the host has only one address that > it has ever used. > > This should work until for some reason it gets a different address once - > then this will start again. > > > > > > > > On Mon, 29 Mar 2021 at 18:27, Sten Carlsen wrote: > >> Hi >> >> These two addresses are both in the same pool, so nothing illegal is >> happening. It is still odd that it sometimes gets one address and then the >> other, this should not happen. >> >> Consider the leases file as a historical document, each time something >> happens, the leases file gets added to. Once in a while it gets regenerated >> with just the current status of all leases. >> >> So for this sequence of events you should be able to reconstruct what >> happened by looking into this file. >> >> One thing that comes to mind is timing. The release and the discover >> happens in the same second, so what if the server could not write to the >> leases file before being asked about a new lease - this is not extending an >> existing lease as the discover indicates that the device does not have an >> address at this moment. >> >> Would it be possible to add a pause of a few seconds between the release >> and the discover? at least for an experiment. If that works, some timing is >> at the bottom of this. >> >> Possibly a wireshark trace could reveal the exact timing of these two >> messages. >> >> The leases file snippet did also not have both addresses as active, which >> could uncover other interesting things. >> >> -- >> Best regards >> Sten Carlsen >> >> A pessimist is a person that can find a problem for every solution. >> >> >> On 29 Mar 2021, at 12.05, Wayne Gemmell | Connect < >> wayne at connect-mobile.co.za> wrote: >> >> Hi Sten >> >> One of the host I've been testing with in the kannel pool alternates >> between the following >> >> inet 10.3.2.36/16 >> inet 10.3.2.60/16 >> >> Leases look as follows. I don't really understand why each would be both >> free and active. >> >> Here's the log file of the responsible peer: >> https://pastebin.com/UP6M1Lic >> >> DHCP Lease list on responsible peer. The other one has similar data but >> no host names. https://pastebin.com/WX3NwkM2 >> >> Here's snippet of the lease file https://pastebin.com/fKFiZpQ0 >> >> >> >> >> On Fri, 26 Mar 2021 at 19:32, Sten Carlsen wrote: >> >>> >>> Thanks >>> >>> Sten >>> >>> On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect < >>> wayne at connect-mobile.co.za> wrote: >>> >>> Thanks Sten >>> >>> I've moved my class out of the subnet and the issue still persists. >>> >>> >>> Well, that is one can of worms out of the picture. >>> >>> What are the two addresses? >>> >>> >>> >>> >>> >>> >>> >>> On Thu, 25 Mar 2021 at 17:51, Sten Carlsen wrote: >>> >>>> You define the class kannel inside the subnet, so if there are any >>>> other subnets, it will be defined there as well. Class definitions are >>>> global always, defining them inside a subnet may have some "interesting" >>>> side effects as some options are taken from that subnet even if the host >>>> gets an address in a different subnet - routers is one of them. >>>> >>>> So one thought is, if the backup address is not in this subnet, the >>>> host will be given incorrect information. >>>> >>>> -- >>>> Best regards >>>> Sten Carlsen >>>> >>>> -------------------------------------------------- >>>> Aoccdrnig to rseerach at Cmabrigde Uinervtisy, >>>> it deosn't mttaer in waht oredr the ltteers in a >>>> wrod are, the olny iprmoatnt tihng is taht the >>>> frist and lsat lteter be at the rghit pclae. >>>> The rset can be a ttoal mses and you can slitl >>>> raed it wotihut porbelm. Tihs is bcuseae the >>>> hmuan mnid deos not raed ervey lteter by istlef, >>>> but the wrod as a wlohe. Amzanig, huh? >>>> -------------------------------------------------- >>>> >>>> On 25 Mar 2021, at 13.01, Wayne Gemmell | Connect < >>>> wayne at connect-mobile.co.za> wrote: >>>> >>>> I tried it. No change. The issue still persists. >>>> >>>> >>>> >>>> >>>> >>>> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect < >>>> wayne at connect-mobile.co.za> wrote: >>>> >>>>> I'll give it a try, thanks. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, 23 Mar 2021 at 01:32, Bill Shirley < >>>>> bill at c3po.polymerindustries.biz> wrote: >>>>> >>>>>> Try: >>>>>> update-optimization off; >>>>>> >>>>>> Bill >>>>>> On 3/19/2021 2:22 AM, Wayne Gemmell | Connect wrote: >>>>>> >>>>>> Hi >>>>>> >>>>>> When my dhcp server gets a DHCPRELEASE followed by a DHCPDISCOVER >>>>>> then it randomly allocates the IP address or the backup IP address that are >>>>>> assigned to the host in the lease file to the host. The assignments always >>>>>> got to the correct host and the mac address doesn't change. >>>>>> >>>>>> When this backup IP address is allocated then dynamic DNS isn't >>>>>> updated and my container is unreachable. >>>>>> >>>>>> I've put all the relevant details in the link below but am more than >>>>>> happy enough to furnish anything that is missing. Can anyone help please? >>>>>> >>>>>> https://gitlab.isc.org/isc-projects/dhcp/-/issues/172 >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 listdhcp-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users >>>>>> >>>>>> _______________________________________________ >>>>>> 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 at lists.isc.org >>>>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>>>> >>>>> _______________________________________________ >>>> 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 at lists.isc.org >>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>> >>>> >>>> _______________________________________________ >>>> 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 at lists.isc.org >>>> https://lists.isc.org/mailman/listinfo/dhcp-users >>>> >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> >>> >>> _______________________________________________ >>> 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 at lists.isc.org >>> https://lists.isc.org/mailman/listinfo/dhcp-users >>> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> >> >> _______________________________________________ >> 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 at lists.isc.org >> https://lists.isc.org/mailman/listinfo/dhcp-users >> > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > > > _______________________________________________ > 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 at lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: