Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: Dhcpd randomly returns the IP address or the backup IP
      (Wayne Gemmell | Connect)


----------------------------------------------------------------------

Message: 1
Date: Mon, 29 Mar 2021 12:05:22 +0200
From: "Wayne Gemmell | Connect" <wa...@connect-mobile.co.za>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Dhcpd randomly returns the IP address or the backup IP
Message-ID:
        <cafk6eittj+opk7g0tojqkvgiyrecxn3s+gxovu+7bkcjxfg...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

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

<https://connect-mobile.co.za/mobile_marketing_solutions/>


On Fri, 26 Mar 2021 at 19:32, Sten Carlsen <st...@s-carlsen.dk> wrote:

>
> Thanks
>
> Sten
>
> On 26 Mar 2021, at 08.43, Wayne Gemmell | Connect <
> wa...@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?
>
>
>
>
> <https://connect-mobile.co.za/mobile_marketing_solutions/>
>
>
> On Thu, 25 Mar 2021 at 17:51, Sten Carlsen <st...@s-carlsen.dk> 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 <
>> wa...@connect-mobile.co.za> wrote:
>>
>> I tried it. No change. The issue still persists.
>>
>>
>> <https://connect-mobile.co.za/mobile_marketing_solutions/>
>>
>>
>> On Tue, 23 Mar 2021 at 16:19, Wayne Gemmell | Connect <
>> wa...@connect-mobile.co.za> wrote:
>>
>>> I'll give it a try, thanks.
>>>
>>>
>>> <https://connect-mobile.co.za/mobile_marketing_solutions/>
>>>
>>>
>>> On Tue, 23 Mar 2021 at 01:32, Bill Shirley <
>>> b...@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
>>>>
>>>> <https://connect-mobile.co.za/mobile_marketing_solutions/>
>>>>
>>>> _______________________________________________
>>>> 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-us...@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@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@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@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@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@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20210329/742521c8/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 149, Issue 14
*******************************************

Reply via email to