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. Problem with DHCP during boot - Devuan Beowulf (Simon Hobson)
   2. Re: Problem with DHCP during boot - Devuan Beowulf
      (glenn.satch...@uniq.com.au)


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

Message: 1
Date: Wed, 15 Jul 2020 22:10:59 +0100
From: Simon Hobson <si...@thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Problem with DHCP during boot - Devuan Beowulf
Message-ID: <cc6ae806-7373-46cb-8513-746311a1e...@thehobsons.co.uk>
Content-Type: text/plain; charset=us-ascii

I think this is more an OS question than a DHCP one, but I'm hoping someone 
here might have an idea.

I've got a VM running Devuan Beowulf that was upgraded from Debian Wheezy (via 
Devuan Ascii). Devuan being "Debian without SystemD".

The problem I have is that it keeps getting different IP addresses during boot, 
never the one the DHCP server is configured (reserved lease) to give it. On 
tracing packets, I see that it's using a different DUID value during boot than 
it uses if I manually take the interface down and back up (ifdown eth0;ifup 
eth0 when the system is running). Also, during boot I see the message 
"Configuring network interfaces...ifup: interface eth0 already configured".

This suggests to me that something is bringing up the interface early during 
boot, using a different or non-existant DHCP Client config. I suspect 
non-existant since the address leased changes every boot which suggests a 
different DUID. I just can't see how/where the interface is being brought up .


>From my packet trace, I'm seeing the client sending :
   Option: (61) Client identifier
       Length: 19
       IAID: 3e10c4f2
       DUID type: link-layer address plus time (1)
       Hardware type: Ethernet (1)
       Time: 648121466
       Link-layer address: 02:16:3e:10:c4:f2

Time: 648121466 is what I consistently get bringing up the interface manually 
*after* booting. During boot I get different Time values - so the DUID is 
different, so the DHCP server treats it as a different client.
Looking at two different packet traces, I see values of 648143408 and 
648121466, puts them about 75 minutes apart which ties in with the timestamps 
of my packet capture files.

Can anyone give me any hint as to what is bringing up the network before it is 
supposed to be ?

Simon



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

Message: 2
Date: Thu, 16 Jul 2020 10:46:08 +1000
From: glenn.satch...@uniq.com.au
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Problem with DHCP during boot - Devuan Beowulf
Message-ID: <8ba616f78aa93a5f5a1838152de43...@uniq.com.au>
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi SImon,

I'm no Devuan expert, but your suggestion seems reasonable.

Is there some Debian interface config left behind that needs to be 
removed? Perhaps the upgrade wasn't perfect and should have cleaned this 
up? Without systemd I guess it is using the sysv scripts, so look in 
/etc/init.d for things that call dhcp and also in the runtime 
directories (/etc/rc*.d usually) to see if there is something that needs 
to be unlinked?

regards,
-glenn

On 2020-07-16 07:10, Simon Hobson wrote:
> I think this is more an OS question than a DHCP one, but I'm hoping
> someone here might have an idea.
> 
> I've got a VM running Devuan Beowulf that was upgraded from Debian
> Wheezy (via Devuan Ascii). Devuan being "Debian without SystemD".
> 
> The problem I have is that it keeps getting different IP addresses
> during boot, never the one the DHCP server is configured (reserved
> lease) to give it. On tracing packets, I see that it's using a
> different DUID value during boot than it uses if I manually take the
> interface down and back up (ifdown eth0;ifup eth0 when the system is
> running). Also, during boot I see the message "Configuring network
> interfaces...ifup: interface eth0 already configured".
> 
> This suggests to me that something is bringing up the interface early
> during boot, using a different or non-existant DHCP Client config. I
> suspect non-existant since the address leased changes every boot which
> suggests a different DUID. I just can't see how/where the interface is
> being brought up .
> 
> 
> From my packet trace, I'm seeing the client sending :
>    Option: (61) Client identifier
>        Length: 19
>        IAID: 3e10c4f2
>        DUID type: link-layer address plus time (1)
>        Hardware type: Ethernet (1)
>        Time: 648121466
>        Link-layer address: 02:16:3e:10:c4:f2
> 
> Time: 648121466 is what I consistently get bringing up the interface
> manually *after* booting. During boot I get different Time values - so
> the DUID is different, so the DHCP server treats it as a different
> client.
> Looking at two different packet traces, I see values of 648143408 and
> 648121466, puts them about 75 minutes apart which ties in with the
> timestamps of my packet capture files.
> 
> Can anyone give me any hint as to what is bringing up the network
> before it is supposed to be ?
> 
> 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@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


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

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 141, Issue 4
******************************************

Reply via email to