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: DHCPv6: is it possible to have a fixed prefix delegation
      for a host while allowing the IPv6 address assigned to be
      dynamic? (perl-list)
   2. how to upgrade the failover pair? (Aleksey Perov)
   3. Re: how to upgrade the failover pair? (perl-list)
   4. Re: how to upgrade the failover pair? (Simon Hobson)
   5. Re: how to upgrade the failover pair? (??????? ?????)


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

Message: 1
Date: Wed, 30 May 2018 09:01:17 -0400 (EDT)
From: perl-list <perl-l...@network1.net>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: DHCPv6: is it possible to have a fixed prefix delegation
        for a host while allowing the IPv6 address assigned to be dynamic?
Message-ID:
        <1375600413.88553.1527685277107.javamail.zim...@network1.net>
Content-Type: text/plain; charset="utf-8"

Erik, 

This works fine for me. The only difference I see is that I have a range6 
defined that would include the static and i'm not using include. Try a test not 
using include and see if it works for you. 

> From: "Erik Andersen" <eander...@eoni.com>
> To: "Users of ISC DHCP" <dhcp-users@lists.isc.org>
> Sent: Wednesday, May 30, 2018 1:00:00 AM
> Subject: DHCPv6: is it possible to have a fixed prefix delegation for a host
> while allowing the IPv6 address assigned to be dynamic?

> I would like to hand out static DHCPv6 prefix delegations to hosts based
> on their client-id.

> I currently have a system of include files that includes on file for
> each host.

> Those files have something like:

> host 3c906af6703a {
> host-identifier option dhcp6.client-id
> 00:03:00:01:3c:90:6a:f6:70:3c;
> fixed-prefix6 2607:f248:320:130::/60;
> }

> They are included in part of a pool6 in a subnet6:

> pool6 { # For normal/WAN clients, not DOCSIS
> allow unknown-clients;
> deny members of "docsis";

> # Range for clients
> range6 2607:f248:102:10::10 2607:f248:102:10::ffff;

> # Range for clients requesting a temporary address
> range6 2607:f248:102:10::2:0/112 temporary;

> # Include static prefix delegations
> include "/etc/dhcp/staticpdinclude.conf";
> }

> But when a client is requesting a non-temporary address and a prefix
> (and is covered by a host definition), the response packet says there is
> no available address, and the log shows:

> Unable to pick client address: no addresses available - shared network
> 2607:f248:102:10::/64: 0 total, 0 active, 0 abandoned

> Why wouldn't the host directive inherit the range6 definition and use
> something from that range?

> Is it possible to have a dynamically picked non-temporary address
> assigned to a client, along with a fixed delagated prefix? If so, can
> someone share an example configuration that does that?

> Thanks,

> Erik

> _______________________________________________
> 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/20180530/4dabc2bb/attachment-0001.html>

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

Message: 2
Date: Thu, 31 May 2018 10:14:47 +0300
From: Aleksey Perov <a.pe...@sura.ru>
To: dhcp-users@lists.isc.org
Subject: how to upgrade the failover pair?
Message-ID: <80205421-ddef-735c-2269-fa3565072...@sura.ru>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi.

I have two servers running Debian 6.0.5 with ISC DHCP 4.1.1 in a 
failover pair. Now I need to upgrade them to the latest Debian 9 which 
is shipped with ISC DHCP 4.3.5. Since Debian 6 is too old, the only way 
of upgrading is a clean reinstall (which in most cases is better than 
sequential upgrade 6 to 7 to 8 to 9).

I have read 
https://kb.isc.org/article/AA-01043/183/Recommendations-for-restarting-a-DHCP-failover-pair.html
 
and some other articles, but those documents say nothing about the 
upgrade scenario.

So the question is: What is the recommended process of _upgrading_ the 
failover pair?

The draft plan is as follows:

- stop the secondary;
- turn the primary into partner-down;
- reinstall the secondary;
- wait until the primary reclaims all addresses in all pools;
- stop the primary;
- copy leases file from primary to secondary;
- start the secondary in partner-down mode;
- reinstall the primary;
- turn the secondary into normal mode;
- start the primary.

Is anything wrong here?

Any advices and recommendations are welcome. Thanks.




-- 
Aleksey


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

Message: 3
Date: Thu, 31 May 2018 04:35:27 -0400 (EDT)
From: perl-list <perl-l...@network1.net>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: how to upgrade the failover pair?
Message-ID:
        <179781384.102407.1527755727702.javamail.zim...@network1.net>
Content-Type: text/plain; charset="utf-8"

This is a layman's opinion as i've not done the described procedure below, but 
I would think you would want to retain the dhcpd.leases file from the secondary 
and primary and put those back after re-install. 

In other words, do not attempt to copy leases file from primary to secondary as 
you listed in steps below, but rather retain the dhcpd.leases file from the 
original install. Copy that file back into place before you start the DHCP 
server on the secondary. 

I think there are some differences between the primary and secondary leases 
files such that you would not want one copied to the other. 

> From: "Aleksey Perov" <a.pe...@sura.ru>
> To: "Users of ISC DHCP" <dhcp-users@lists.isc.org>
> Sent: Thursday, May 31, 2018 3:14:47 AM
> Subject: how to upgrade the failover pair?

> Hi.

> I have two servers running Debian 6.0.5 with ISC DHCP 4.1.1 in a
> failover pair. Now I need to upgrade them to the latest Debian 9 which
> is shipped with ISC DHCP 4.3.5. Since Debian 6 is too old, the only way
> of upgrading is a clean reinstall (which in most cases is better than
> sequential upgrade 6 to 7 to 8 to 9).

> I have read
> https://kb.isc.org/article/AA-01043/183/Recommendations-for-restarting-a-DHCP-failover-pair.html
> and some other articles, but those documents say nothing about the
> upgrade scenario.

> So the question is: What is the recommended process of _upgrading_ the
> failover pair?

> The draft plan is as follows:

> - stop the secondary;
> - turn the primary into partner-down;
> - reinstall the secondary;
> - wait until the primary reclaims all addresses in all pools;
> - stop the primary;
> - copy leases file from primary to secondary;
> - start the secondary in partner-down mode;
> - reinstall the primary;
> - turn the secondary into normal mode;
> - start the primary.

> Is anything wrong here?

> Any advices and recommendations are welcome. Thanks.

> --
> Aleksey
> _______________________________________________
> 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/20180531/5ac822d3/attachment-0001.html>

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

Message: 4
Date: Thu, 31 May 2018 10:41:40 +0100
From: Simon Hobson <dh...@thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: how to upgrade the failover pair?
Message-ID: <81f4024f-3da0-4aaf-81f4-866e1dc30...@thehobsons.co.uk>
Content-Type: text/plain; charset=us-ascii

Aleksey Perov <a.pe...@sura.ru> wrote:

> The draft plan is as follows:
> 
> - stop the secondary;
> - turn the primary into partner-down;
> - reinstall the secondary;
> - wait until the primary reclaims all addresses in all pools;
> - stop the primary;
> - copy leases file from primary to secondary;
> - start the secondary in partner-down mode;
> - reinstall the primary;
> - turn the secondary into normal mode;
> - start the primary.
> 
> Is anything wrong here?

Isn't the simplest - provided they are using the same level of failover 
protocol - to simply start up a clean upgraded secondary and allow it to 
transfer leases from the primary ? So :

Stop one partner, put the remaining one into partner down state.
Create new upgraded clean partner.
Start up new partner and allow the pair to synchronise.

Repeat for the other partner.




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

Message: 5
Date: Thu, 31 May 2018 13:40:59 +0300
From: ??????? ????? <a.pe...@sura.ru>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: how to upgrade the failover pair?
Message-ID: <7ba955bb-4c6e-ffd2-af71-b25e97883...@sura.ru>
Content-Type: text/plain; charset=utf-8; format=flowed

You mean 4.1.1 and 4.3.5 use the same failover protocol and can talk to 
each other without any issue?


31.05.2018 12:41, Simon Hobson ?????:
> Aleksey Perov <a.pe...@sura.ru> wrote:
> 
>> The draft plan is as follows:
>>
>> - stop the secondary;
>> - turn the primary into partner-down;
>> - reinstall the secondary;
>> - wait until the primary reclaims all addresses in all pools;
>> - stop the primary;
>> - copy leases file from primary to secondary;
>> - start the secondary in partner-down mode;
>> - reinstall the primary;
>> - turn the secondary into normal mode;
>> - start the primary.
>>
>> Is anything wrong here?
> 
> Isn't the simplest - provided they are using the same level of failover 
> protocol - to simply start up a clean upgraded secondary and allow it to 
> transfer leases from the primary ? So :
> 
> Stop one partner, put the remaining one into partner down state.
> Create new upgraded clean partner.
> Start up new partner and allow the pair to synchronise.
> 
> Repeat for the other partner.
> 
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
> 

-- 
Aleksey


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

Subject: Digest Footer

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


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

End of dhcp-users Digest, Vol 115, Issue 9
******************************************

Reply via email to