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. cannot renew IPV6 address (Jean-Max Reymond)
   2. Re: cannot renew IPV6 address (Simon Hobson)
   3. Re: cannot renew IPV6 address (Brice Abba)
   4. Re: cannot renew IPV6 address (Jean-Max Reymond)
   5. Re: cannot renew IPV6 address (Simon Hobson)
   6. Re: cannot renew IPV6 address (Jean-Max Reymond)


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

Message: 1
Date: Thu, 26 Jan 2017 16:53:40 +0100
From: Jean-Max Reymond <jmreym...@ckr-solutions.com>
To: dhcp-users@lists.isc.org
Subject: cannot renew IPV6 address
Message-ID: <f7c670a5-d3f2-0f99-59a5-a66698570...@ckr-solutions.com>
Content-Type: text/plain; charset=iso-8859-15; format=flowed

Hi,
I am running dhclient 4.3.5 (from isc site) on ubuntu 16.04 LTS
When starting my server, all is OK, I have an IPV6 address, I can ping, 
ssh, etc.
After 12 hours, the interface is down and I cannot obtain a new IPV6 adress.

# cat /etc/dhcp/dhclient6.conf
interface "eno1" {
    send dhcp6.client-id 00:03:00:01:73:41:e0:29:71:a3;
}

$ /usr/local/sbin/dhclient -cf /etc/dhcp/dhclient6.conf -6 -P -v eno1
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on Socket/eno1
Sending on   Socket/eno1
PRC: Confirming active lease (INIT-REBOOT).
XMT: Forming Rebind, 0 ms elapsed.
XMT:  X-- IA_PD 35:07:ad:18
XMT:  | X-- Requested renew  +3600
XMT:  | X-- Requested rebind +5400
XMT:  | | X-- IAPREFIX 2001:bc8:344f:200::/56
XMT:  | | | X-- Preferred lifetime +7200
XMT:  | | | X-- Max lifetime +7500
XMT:  V IA_PD appended.
XMT: Rebind on eno1, interval 1030ms.
RCV: Reply message on eno1 from fe80::fe5b:39ff:fe72:9fff.
RCV:  X-- Preference 255.
RCV:  X-- IA_PD 35:07:ad:18
RCV:  | X-- starts 1485444775
RCV:  | X-- t1 - renew  +43200
RCV:  | X-- t2 - rebind +172800
RCV:  | X-- [Options]
RCV:  | | X-- IAPREFIX 2001:bc8:344f:200::/56
RCV:  | | | X-- Preferred lifetime 7200.
RCV:  | | | X-- Max lifetime 43200.
RCV:  X-- Server ID: 00:01:00:01:1b:ac:bc:2d:10:60:4b:9b:0a:f4
PRC: Bound to lease 00:01:00:01:1b:ac:bc:2d:10:60:4b:9b:0a:f4.

and

# ifconfig eno1
eno1      Link encap:Ethernet  HWaddr 54:9f:35:07:ad:18
           inet addr:62.210.247.117  Bcast:62.210.247.255 
Mask:255.255.255.0
           inet6 addr: fe80::569f:35ff:fe07:ad18/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:25519061 errors:0 dropped:0 overruns:0 frame:0
           TX packets:52829191 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:1920059401 (1.9 GB)  TX bytes:79910066020 (79.9 GB)
           Interrupt:16

For my ISP, all is good but I have no IPV6 connection.
thanks for your tips,

-- 
Jean-Max Reymond
CKR Solutions Open Source https://www.ckr-solutions.com


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

Message: 2
Date: Thu, 26 Jan 2017 16:01:18 +0000
From: Simon Hobson <dh...@thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: cannot renew IPV6 address
Message-ID: <b52a9d8f-2684-4cbf-bf1d-251275240...@thehobsons.co.uk>
Content-Type: text/plain; charset=us-ascii

Jean-Max Reymond <jmreym...@ckr-solutions.com> wrote:

> After 12 hours, the interface is down and I cannot obtain a new IPV6 adress.

> $ /usr/local/sbin/dhclient -cf /etc/dhcp/dhclient6.conf -6 -P -v eno1

> ...
> RCV:  | | | X-- Max lifetime 43200.

OK, your lease is 12 hours, at the end of the lease you lose the address. Are 
you leaving the dhcp client running ? Is it sending any renewal requests ? Are 
you running a firewall that could be blocking DHCP6 ?

The basic troubleshooting at this point is to narrow it down to one of 3 things 
:

1) Your client isn't attempting to renew

2) Your client is attempting to renew but the server isn't responding

3) Something else - such as server responding but client doesn't accept it

You probably need to run a packet sniffer on the relevant interface and capture 
DHCP6 packets. That should answer the questions: Is the client trying to renew 
? Is the server replying ?



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

Message: 3
Date: Thu, 26 Jan 2017 20:07:08 +0400
From: Brice Abba <bricea...@gmail.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: cannot renew IPV6 address
Message-ID:
        <CABYY8cav_SD0orYsKh=vmpaaokewcascd4k7ltruxwvahj4...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Jean,


   1. Ensure the server is running with "ps cmd"
   2. play with this value to test " Max lifetime 43200"
   3. Ensure the router on the link advertise "management config flag"




2017-01-26 19:53 GMT+04:00 Jean-Max Reymond <jmreym...@ckr-solutions.com>:

> Hi,
> I am running dhclient 4.3.5 (from isc site) on ubuntu 16.04 LTS
> When starting my server, all is OK, I have an IPV6 address, I can ping,
> ssh, etc.
> After 12 hours, the interface is down and I cannot obtain a new IPV6
> adress.
>
> # cat /etc/dhcp/dhclient6.conf
> interface "eno1" {
>    send dhcp6.client-id 00:03:00:01:73:41:e0:29:71:a3;
> }
>
> $ /usr/local/sbin/dhclient -cf /etc/dhcp/dhclient6.conf -6 -P -v eno1
> Internet Systems Consortium DHCP Client 4.3.5
> Copyright 2004-2016 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
>
> Listening on Socket/eno1
> Sending on   Socket/eno1
> PRC: Confirming active lease (INIT-REBOOT).
> XMT: Forming Rebind, 0 ms elapsed.
> XMT:  X-- IA_PD 35:07:ad:18
> XMT:  | X-- Requested renew  +3600
> XMT:  | X-- Requested rebind +5400
> XMT:  | | X-- IAPREFIX 2001:bc8:344f:200::/56
> XMT:  | | | X-- Preferred lifetime +7200
> XMT:  | | | X-- Max lifetime +7500
> XMT:  V IA_PD appended.
> XMT: Rebind on eno1, interval 1030ms.
> RCV: Reply message on eno1 from fe80::fe5b:39ff:fe72:9fff.
> RCV:  X-- Preference 255.
> RCV:  X-- IA_PD 35:07:ad:18
> RCV:  | X-- starts 1485444775
> RCV:  | X-- t1 - renew  +43200
> RCV:  | X-- t2 - rebind +172800
> RCV:  | X-- [Options]
> RCV:  | | X-- IAPREFIX 2001:bc8:344f:200::/56
> RCV:  | | | X-- Preferred lifetime 7200.
> RCV:  | | | X-- Max lifetime 43200.
> RCV:  X-- Server ID: 00:01:00:01:1b:ac:bc:2d:10:60:4b:9b:0a:f4
> PRC: Bound to lease 00:01:00:01:1b:ac:bc:2d:10:60:4b:9b:0a:f4.
>
> and
>
> # ifconfig eno1
> eno1      Link encap:Ethernet  HWaddr 54:9f:35:07:ad:18
>           inet addr:62.210.247.117  Bcast:62.210.247.255 Mask:255.255.255.0
>           inet6 addr: fe80::569f:35ff:fe07:ad18/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:25519061 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:52829191 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1920059401 (1.9 GB)  TX bytes:79910066020 (79.9 GB)
>           Interrupt:16
>
> For my ISP, all is good but I have no IPV6 connection.
> thanks for your tips,
>
> --
> Jean-Max Reymond
> CKR Solutions Open Source https://www.ckr-solutions.com
> _______________________________________________
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>



-- 
------------------------------
Brice ABBA
www.afrinic.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20170126/2dc365d9/attachment-0001.html>

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

Message: 4
Date: Thu, 26 Jan 2017 17:13:40 +0100
From: Jean-Max Reymond <jmreym...@ckr-solutions.com>
To: dhcp-users@lists.isc.org
Subject: Re: cannot renew IPV6 address
Message-ID: <41a1e2dc-6765-c455-909f-792258cf2...@ckr-solutions.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Le 26/01/2017 ? 17:01, Simon Hobson a ?crit :
> Jean-Max Reymond <jmreym...@ckr-solutions.com> wrote:
>
>> After 12 hours, the interface is down and I cannot obtain a new IPV6 adress.
>
>> $ /usr/local/sbin/dhclient -cf /etc/dhcp/dhclient6.conf -6 -P -v eno1
>
>> ...
>> RCV:  | | | X-- Max lifetime 43200.
>
> OK, your lease is 12 hours, at the end of the lease you lose the address. Are 
> you leaving the dhcp client running ? Is it sending any renewal requests ? 
> Are you running a firewall that could be blocking DHCP6 ?
>

thanks for your fast answer. dhcp client is always running but I cannot 
ping6 another server.
I have no messages in /var/log/syslog and no firewall.
At boot, IPV6 is OK.
So I suspect this bug
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1551351
but after updating with dhcpclient 4.3.5, same issue

> The basic troubleshooting at this point is to narrow it down to one of 3 
> things :
>
> 1) Your client isn't attempting to renew
>
> 2) Your client is attempting to renew but the server isn't responding
>
> 3) Something else - such as server responding but client doesn't accept it
>
> You probably need to run a packet sniffer on the relevant interface and 
> capture DHCP6 packets. That should answer the questions: Is the client trying 
> to renew ? Is the server replying ?

OK, I suspect answer 1 because I have no traces in /var/log/syslog but 
restarting dhclient give answer 2
I start a sniffer client to capture DHCP6 packets

-- 
Jean-Max Reymond
CKR Solutions Open Source https://www.ckr-solutions.com


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

Message: 5
Date: Thu, 26 Jan 2017 16:42:30 +0000
From: Simon Hobson <dh...@thehobsons.co.uk>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: cannot renew IPV6 address
Message-ID: <98f6282c-2b4b-4d8d-8506-0d1038c41...@thehobsons.co.uk>
Content-Type: text/plain; charset=windows-1252

Brice Abba <bricea...@gmail.com> wrote:

> Hi Jean,
> 
>       ? Ensure the server is running with "ps cmd"
>       ? play with this value to test " Max lifetime 43200"
>       ? Ensure the router on the link advertise "management config flag"

I read it as the server is the ISP's, so he has no access to check things like 
that.
Besides, if he is getting an address initially (and I assume, after a reboot), 
then the server must be running.



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

Message: 6
Date: Thu, 26 Jan 2017 17:54:43 +0100
From: Jean-Max Reymond <jmreym...@ckr-solutions.com>
To: dhcp-users@lists.isc.org
Subject: Re: cannot renew IPV6 address
Message-ID: <3022cc87-eb0c-f0de-a2cd-3897e2a61...@ckr-solutions.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Le 26/01/2017 ? 17:42, Simon Hobson a ?crit :
> Brice Abba <bricea...@gmail.com> wrote:
>
>> Hi Jean,
>>
>>      ? Ensure the server is running with "ps cmd"
>>      ? play with this value to test " Max lifetime 43200"
>>      ? Ensure the router on the link advertise "management config flag"
>
> I read it as the server is the ISP's, so he has no access to check things 
> like that.
> Besides, if he is getting an address initially (and I assume, after a 
> reboot), then the server must be running.

yes, that's correct. My ISP gives me an IPV6 adress at boot and reboot

dhclient write a file /var/db/dhclient6.leases

# cat /var/db/dhclient6.leases
default-duid "\000\001\000\001 \033\313$T\2375\007\255\030";
lease6 {
   interface "eno1";
   ia-pd 35:07:ad:18 {
     starts 1485445025;
     renew 43200;
     rebind 172800;
     iaprefix 2001:bc8:344f:200::/56 {
       starts 1485445025;
       preferred-life 7200;
       max-life 43200;
     }
   }
   option dhcp6.client-id 0:3:0:1:73:41:e0:29:71:a3;
   option dhcp6.server-id 0:1:0:1:1b:ac:bc:2d:10:60:4b:9b:a:f4;
   option dhcp6.name-servers 2001:bc8:401::3,2001:bc8:1::16;
   option dhcp6.domain-search "online.net.";
}
lease6 {
   interface "eno1";
   ia-pd 35:07:ad:18 {
     starts 1485445038;
     renew 43200;
     rebind 172800;
     iaprefix 2001:bc8:344f:200::/56 {
       starts 1485445038;
       preferred-life 7200;
       max-life 43200;
     }
   }
   option dhcp6.client-id 0:3:0:1:73:41:e0:29:71:a3;
   option dhcp6.server-id 0:1:0:1:1b:ac:bc:2d:10:60:4b:9b:a:f4;
   option dhcp6.name-servers 2001:bc8:401::3,2001:bc8:1::16;
   option dhcp6.domain-search "online.net.";
}


-- 
Jean-Max Reymond
CKR Solutions Open Source https://www.ckr-solutions.com


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

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 99, Issue 12
******************************************

Reply via email to