[Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

russell aspinwall
Hi,

I have successfully configured HA between two Raspberry Pi 3bs running
Ubuntu server 20.04 with repository Kea 1.6 version.

I have configured a DHCP6 range and a pool but the client always has a
::/128 address.

As I have a mixture of staticly assigned  and dhcp6 clients in the same
::/64 subnet, I have specified my ::/64 subnet in the

{
           "id": 2012,
           "pools": [ { "pool": "NNNN:PPPP:QQQQ:T:ffff::/80" } ],
           "subnet": "NNNN:PPPP:QQQQ:T::/64",
           "interface": "eth0",
          "option-data" : [
              {
                 "name": "domain-search",
                 "csv-format": true,
                 "data": "euclid.plato"
              },
              {
                 "name": "dns-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              },
              {
                 "name": "sntp-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              }

       ]

}

How I can I assign a ::/64 address which is selected from only a smaller
portion of the ::/64 subnet so that the client is assigned a ::/64 address.

Thanks

Russell

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

Torbjörn Eklöv
DHCPv6 only gives you an address, RA is the one who gives you the infrastructure.




/Torbjörn Eklöv
Interlan Gefle AB
mobil: 070 - 683 51 75
http://test-ipv6.se

A home without IPv6 is just a house

Från: Kea-users <[hidden email]> för russell aspinwall <[hidden email]>
Skickat: den 1 mars 2021 17:23
Till: [hidden email] <[hidden email]>
Ämne: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04
 
Hi,

I have successfully configured HA between two Raspberry Pi 3bs running
Ubuntu server 20.04 with repository Kea 1.6 version.

I have configured a DHCP6 range and a pool but the client always has a
::/128 address.

As I have a mixture of staticly assigned  and dhcp6 clients in the same
::/64 subnet, I have specified my ::/64 subnet in the

{
           "id": 2012,
           "pools": [ { "pool": "NNNN:PPPP:QQQQ:T:ffff::/80" } ],
           "subnet": "NNNN:PPPP:QQQQ:T::/64",
           "interface": "eth0",
          "option-data" : [
              {
                 "name": "domain-search",
                 "csv-format": true,
                 "data": "euclid.plato"
              },
              {
                 "name": "dns-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              },
              {
                 "name": "sntp-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              }

       ]

}

How I can I assign a ::/64 address which is selected from only a smaller
portion of the ::/64 subnet so that the client is assigned a ::/64 address.

Thanks

Russell

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

Ricardo J. Barberis
Speaking of RA, anyone has any good radvd tutorial to share?

I'm having a hard time assigning a default route to my DHCPv6 clients and all
of the howtos I've seen (granted, it's been more than a few months since I
looked) are pretty basic and don't provide troubleshooting instructions.

Thanks in advance, much appreciated.

El Lunes 01/03/2021 a las 13:30, Torbjörn Eklöv escribió:

> DHCPv6 only gives you an address, RA is the one who gives you the
> infrastructure.
>
>
>
>
> /Torbjörn Eklöv
> Interlan Gefle AB
> mobil: 070 - 683 51 75
> http://test-ipv6.se
>
> A home without IPv6 is just a house
> ________________________________
> Från: Kea-users <[hidden email]> för russell aspinwall
> <[hidden email]> Skickat: den 1 mars 2021 17:23
> Till: [hidden email] <[hidden email]>
> Ämne: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running
> Ubuntu 20.04
>
> Hi,
>
> I have successfully configured HA between two Raspberry Pi 3bs running
> Ubuntu server 20.04 with repository Kea 1.6 version.
>
> I have configured a DHCP6 range and a pool but the client always has a
>
> ::/128 address.
>
> As I have a mixture of staticly assigned  and dhcp6 clients in the same
>
> ::/64 subnet, I have specified my ::/64 subnet in the
>
> {
>            "id": 2012,
>            "pools": [ { "pool": "NNNN:PPPP:QQQQ:T:ffff::/80" } ],
>            "subnet": "NNNN:PPPP:QQQQ:T::/64",
>            "interface": "eth0",
>           "option-data" : [
>               {
>                  "name": "domain-search",
>                  "csv-format": true,
>                  "data": "euclid.plato"
>               },
>               {
>                  "name": "dns-servers",
>                  "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
>               },
>               {
>                  "name": "sntp-servers",
>                  "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
>               }
>
>        ]
>
> }
>
> How I can I assign a ::/64 address which is selected from only a smaller
> portion of the ::/64 subnet so that the client is assigned a ::/64 address.
>
> Thanks
>
> Russell

--
Ricardo J. Barberis
Usuario Linux Nº 250625: http://counter.li.org/
Usuario LFS Nº 5121: http://www.linuxfromscratch.org/
Senior SysAdmin / IT Architect - www.DonWeb.com
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

Norberto Nuñez


Dear Ricardo.
Hope this help you:

# File /etc/radvd.conf
# br1 -> router interface, IP 2803:2a00:2c02:a001::1/64
# DNS information and others, you will need provides through DHCPv6
interface br1 {
        AdvSendAdvert on;
        MinRtrAdvInterval 3;
        MaxRtrAdvInterval 10;
        prefix 2803:2a00:2c02:a001::/64 {
                AdvOnLink on;
                AdvAutonomous on;
                AdvRouterAddr on;
        };
};

Kind regards
                       Norberto Isaac Núñez
Ingeniería de servicios de valor agregado, Núcleo S.A.
Máximo Lira n° 522, Asunción.
Tel.: +595212199396, +595971577190
eMail: [hidden email]
Web: https://www.personal.com.py

________________________________________
De: Kea-users <[hidden email]> en nombre de Ricardo J. Barberis <[hidden email]>
Enviado: lunes, 1 de marzo de 2021 15:50
Para: [hidden email]
Asunto: Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

Speaking of RA, anyone has any good radvd tutorial to share?

I'm having a hard time assigning a default route to my DHCPv6 clients and all
of the howtos I've seen (granted, it's been more than a few months since I
looked) are pretty basic and don't provide troubleshooting instructions.

Thanks in advance, much appreciated.

El Lunes 01/03/2021 a las 13:30, Torbjörn Eklöv escribió:
> DHCPv6 only gives you an address, RA is the one who gives you the
> infrastructure.
>
>
>
>
> /Torbjörn Eklöv
> Interlan Gefle AB
> mobil: 070 - 683 51 75
> http://test-ipv6.se
>
> A home without IPv6 is just a house
> ________________________________
> Från: Kea-users <[hidden email]> för russell aspinwall
> <[hidden email]> Skickat: den 1 mars 2021 17:23
> Till: [hidden email] <[hidden email]>
> Ämne: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running
> Ubuntu 20.04
>
> Hi,
>
> I have successfully configured HA between two Raspberry Pi 3bs running
> Ubuntu server 20.04 with repository Kea 1.6 version.
>
> I have configured a DHCP6 range and a pool but the client always has a
>
> ::/128 address.
>
> As I have a mixture of staticly assigned  and dhcp6 clients in the same
>
> ::/64 subnet, I have specified my ::/64 subnet in the
>
> {
>            "id": 2012,
>            "pools": [ { "pool": "NNNN:PPPP:QQQQ:T:ffff::/80" } ],
>            "subnet": "NNNN:PPPP:QQQQ:T::/64",
>            "interface": "eth0",
>           "option-data" : [
>               {
>                  "name": "domain-search",
>                  "csv-format": true,
>                  "data": "euclid.plato"
>               },
>               {
>                  "name": "dns-servers",
>                  "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
>               },
>               {
>                  "name": "sntp-servers",
>                  "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
>               }
>
>        ]
>
> }
>
> How I can I assign a ::/64 address which is selected from only a smaller
> portion of the ::/64 subnet so that the client is assigned a ::/64 address.
>
> Thanks
>
> Russell

--
Ricardo J. Barberis
Usuario Linux Nº 250625: http://counter.li.org/
Usuario LFS Nº 5121: http://www.linuxfromscratch.org/
Senior SysAdmin / IT Architect - www.DonWeb.com
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users



AVISO LEGAL: Esta información es privada y confidencial y está dirigida únicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información por favor elimine el mensaje. La distribución o copia de este mensaje está estrictamente prohibida. Esta comunicación es sólo para propósitos de información y no debe ser considerada como propuesta, aceptación ni como una declaración de voluntad oficial de NUCLEO S.A. La transmisión de e-mails no garantiza que el correo electrónico sea seguro o libre de error. Por consiguiente, no manifestamos que esta información sea completa o precisa. Toda información está sujeta a alterarse sin previo aviso.

This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from NUCLEO S.A. . Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

russell aspinwall
In reply to this post by Torbjörn Eklöv
Hi

Thanks for the feedback, my router is pfsense firewall and I haveconfigured the LAN side Router Advertisements as
Managed -RA Flags [managed. other stateful], Prefix flags [onlink, router]  but the dhcp6 client get a ::/128 address
I have also configured the correct RA subnet for the interface but while the clients get an IPv6 address from the pool, the subnet is still wrong.

Thanks

Russell



On 01/03/2021 16:30, Torbjörn Eklöv wrote:
DHCPv6 only gives you an address, RA is the one who gives you the infrastructure.




/Torbjörn Eklöv
Interlan Gefle AB
mobil: 070 - 683 51 75
http://test-ipv6.se

A home without IPv6 is just a house

Från: Kea-users [hidden email] för russell aspinwall [hidden email]
Skickat: den 1 mars 2021 17:23
Till: [hidden email] [hidden email]
Ämne: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04
 
Hi,

I have successfully configured HA between two Raspberry Pi 3bs running
Ubuntu server 20.04 with repository Kea 1.6 version.

I have configured a DHCP6 range and a pool but the client always has a
::/128 address.

As I have a mixture of staticly assigned  and dhcp6 clients in the same
::/64 subnet, I have specified my ::/64 subnet in the

{
           "id": 2012,
           "pools": [ { "pool": "NNNN:PPPP:QQQQ:T:ffff::/80" } ],
           "subnet": "NNNN:PPPP:QQQQ:T::/64",
           "interface": "eth0",
          "option-data" : [
              {
                 "name": "domain-search",
                 "csv-format": true,
                 "data": "euclid.plato"
              },
              {
                 "name": "dns-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              },
              {
                 "name": "sntp-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              }

       ]

}

How I can I assign a ::/64 address which is selected from only a smaller
portion of the ::/64 subnet so that the client is assigned a ::/64 address.

Thanks

Russell

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users



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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

Gibbins, John (IM&T, Black Mountain)

Hi Russell,

 

Is this a problem?  Our systems running with the old ISC DHCP server report /128 on Ubuntu boxes for addresses handed out by DHCPv6 even though link local addresses appear as /64.

In a sense all host addresses are /128 entries.  The important thing is that the routing table includes a route for the /64 block containing the address.  As long as that is there your system should work properly.  That should be learnt from the RA rather than DHCP.

 

Regards

johng

 

From: Kea-users <[hidden email]> On Behalf Of russell aspinwall
Sent: Tuesday, 2 March 2021 7:32 AM
To: Torbjörn Eklöv <[hidden email]>; [hidden email]; [hidden email]
Subject: Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

 

Hi

Thanks for the feedback, my router is pfsense firewall and I haveconfigured the LAN side Router Advertisements as
Managed -RA Flags [managed. other stateful], Prefix flags [onlink, router]  but the dhcp6 client get a ::/128 address
I have also configured the correct RA subnet for the interface but while the clients get an IPv6 address from the pool, the subnet is still wrong.

Thanks

Russell



On 01/03/2021 16:30, Torbjörn Eklöv wrote:

DHCPv6 only gives you an address, RA is the one who gives you the infrastructure.

 

 



/Torbjörn Eklöv
Interlan Gefle AB
mobil: 070 - 683 51 75
http://test-ipv6.se

 

A home without IPv6 is just a house


Från: Kea-users [hidden email] för russell aspinwall [hidden email]
Skickat: den 1 mars 2021 17:23
Till: [hidden email] [hidden email]
Ämne: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

 

Hi,

I have successfully configured HA between two Raspberry Pi 3bs running
Ubuntu server 20.04 with repository Kea 1.6 version.

I have configured a DHCP6 range and a pool but the client always has a
::/128 address.

As I have a mixture of staticly assigned  and dhcp6 clients in the same
::/64 subnet, I have specified my ::/64 subnet in the

{
           "id": 2012,
           "pools": [ { "pool": "NNNN:PPPP:QQQQ:T:ffff::/80" } ],
           "subnet": "NNNN:PPPP:QQQQ:T::/64",
           "interface": "eth0",
          "option-data" : [
              {
                 "name": "domain-search",
                 "csv-format": true,
                 "data": "euclid.plato"
              },
              {
                 "name": "dns-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              },
              {
                 "name": "sntp-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              }

       ]

}

How I can I assign a ::/64 address which is selected from only a smaller
portion of the ::/64 subnet so that the client is assigned a ::/64 address.

Thanks

Russell

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

 


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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

russell aspinwall
Hi

95% of the devices have fixed IPv4 and IPv6 addresses and are working perfectly. DHCPv4 is also working perfectly for the small number of devices that need it.
DHCPv6 is working, clients are being assigned an IP address from the correct pool but with a ::/128 address but are unable to communicate with any other IPv6 device on the network.

I have used wireshark to capture the RA from the pfsense firewall

ICMPv6
     Managed address configuration: Set
     Other Configuration : Set
     Home Agent : Not Set
     Prf (Default Router Preference): Medium (0)
     Proxy : Not Set
     Reserved : 0
        ICMPv6 Option (Prefix information  :   NNNN::/64 )        subnet is correct
        ICMPv6 Option (Route Information : Medium    ::/0) 
        ICMPv6 Option (Recursive DNS Server    NNNN:::AAAA)   dns server is correct
        ICMPv6 Option (DNS Search List Option  euclid.plato )   dns search is correct
        ICMPv6 Option (MTU :1492)
        ICMPv6 Option (Source link-layer :  pfsense LAN mac)

What I am missing that is stopping the DHCPv6 (Linuxmint 20) from correctly assigning the ::/64  netmask which is identified in the ICMPv6 Prefix Information Option instead of the ::/128 netmask which it is actually using?

Thanks

Russell


On 01/03/2021 21:08, Gibbins, John (IM&T, Black Mountain) wrote:

Hi Russell,

 

Is this a problem?  Our systems running with the old ISC DHCP server report /128 on Ubuntu boxes for addresses handed out by DHCPv6 even though link local addresses appear as /64.

In a sense all host addresses are /128 entries.  The important thing is that the routing table includes a route for the /64 block containing the address.  As long as that is there your system should work properly.  That should be learnt from the RA rather than DHCP.

 

Regards

johng

 

From: Kea-users [hidden email] On Behalf Of russell aspinwall
Sent: Tuesday, 2 March 2021 7:32 AM
To: Torbjörn Eklöv [hidden email]; [hidden email]; [hidden email]
Subject: Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

 

Hi

Thanks for the feedback, my router is pfsense firewall and I haveconfigured the LAN side Router Advertisements as
Managed -RA Flags [managed. other stateful], Prefix flags [onlink, router]  but the dhcp6 client get a ::/128 address
I have also configured the correct RA subnet for the interface but while the clients get an IPv6 address from the pool, the subnet is still wrong.

Thanks

Russell



On 01/03/2021 16:30, Torbjörn Eklöv wrote:

DHCPv6 only gives you an address, RA is the one who gives you the infrastructure.

 

 



/Torbjörn Eklöv
Interlan Gefle AB
mobil: 070 - 683 51 75
http://test-ipv6.se

 

A home without IPv6 is just a house


Från: Kea-users [hidden email] för russell aspinwall [hidden email]
Skickat: den 1 mars 2021 17:23
Till: [hidden email] [hidden email]
Ämne: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

 

Hi,

I have successfully configured HA between two Raspberry Pi 3bs running
Ubuntu server 20.04 with repository Kea 1.6 version.

I have configured a DHCP6 range and a pool but the client always has a
::/128 address.

As I have a mixture of staticly assigned  and dhcp6 clients in the same
::/64 subnet, I have specified my ::/64 subnet in the

{
           "id": 2012,
           "pools": [ { "pool": "NNNN:PPPP:QQQQ:T:ffff::/80" } ],
           "subnet": "NNNN:PPPP:QQQQ:T::/64",
           "interface": "eth0",
          "option-data" : [
              {
                 "name": "domain-search",
                 "csv-format": true,
                 "data": "euclid.plato"
              },
              {
                 "name": "dns-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              },
              {
                 "name": "sntp-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              }

       ]

}

How I can I assign a ::/64 address which is selected from only a smaller
portion of the ::/64 subnet so that the client is assigned a ::/64 address.

Thanks

Russell

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

 



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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

Francis Dupont
In reply to this post by russell aspinwall
As explained by other persons who answered Kea only provides an address:
the associated prefix is not in its scope but is handled by the DHCP client.
Note that in ISC DHCP some shell scripts are distribited with the client.
During years there was a debate about what prefix length to use: /64 or
/128: /64 is convenient but /128 is the real legal value...

In conclusion this thread is about how to use Kea but not about Kea itself.

Regards

Francis Dupont <[hidden email]>

PS: as DHCP does not provide the local prefix length the right protocol is
the Neighbor Discovery or simply static config.
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|

Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

russell aspinwall
In reply to this post by russell aspinwall
Hi

Problem resolved, on Linuxmint 20 configuring IPv6 as automatic, addresses only results in the client obtaining an IPv6 address which is ::/128, however it is possible to ping6 any device in the ::/64 subnet. Thanks for pointing out about what should be learnt from RA rather than DHCP. I mistakingly thought RA was only used to indicate that DHCP was to be used.

Thanks

Russell

On 02/03/2021 11:35, russell aspinwall wrote:
Hi

95% of the devices have fixed IPv4 and IPv6 addresses and are working perfectly. DHCPv4 is also working perfectly for the small number of devices that need it.
DHCPv6 is working, clients are being assigned an IP address from the correct pool but with a ::/128 address but are unable to communicate with any other IPv6 device on the network.

I have used wireshark to capture the RA from the pfsense firewall

ICMPv6
     Managed address configuration: Set
     Other Configuration : Set
     Home Agent : Not Set
     Prf (Default Router Preference): Medium (0)
     Proxy : Not Set
     Reserved : 0
        ICMPv6 Option (Prefix information  :   NNNN::/64 )        subnet is correct
        ICMPv6 Option (Route Information : Medium    ::/0) 
        ICMPv6 Option (Recursive DNS Server    NNNN:::AAAA)   dns server is correct
        ICMPv6 Option (DNS Search List Option  euclid.plato )   dns search is correct
        ICMPv6 Option (MTU :1492)
        ICMPv6 Option (Source link-layer :  pfsense LAN mac)

What I am missing that is stopping the DHCPv6 (Linuxmint 20) from correctly assigning the ::/64  netmask which is identified in the ICMPv6 Prefix Information Option instead of the ::/128 netmask which it is actually using?

Thanks

Russell


On 01/03/2021 21:08, Gibbins, John (IM&T, Black Mountain) wrote:

Hi Russell,

 

Is this a problem?  Our systems running with the old ISC DHCP server report /128 on Ubuntu boxes for addresses handed out by DHCPv6 even though link local addresses appear as /64.

In a sense all host addresses are /128 entries.  The important thing is that the routing table includes a route for the /64 block containing the address.  As long as that is there your system should work properly.  That should be learnt from the RA rather than DHCP.

 

Regards

johng

 

From: Kea-users [hidden email] On Behalf Of russell aspinwall
Sent: Tuesday, 2 March 2021 7:32 AM
To: Torbjörn Eklöv [hidden email]; [hidden email]; [hidden email]
Subject: Re: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

 

Hi

Thanks for the feedback, my router is pfsense firewall and I haveconfigured the LAN side Router Advertisements as
Managed -RA Flags [managed. other stateful], Prefix flags [onlink, router]  but the dhcp6 client get a ::/128 address
I have also configured the correct RA subnet for the interface but while the clients get an IPv6 address from the pool, the subnet is still wrong.

Thanks

Russell



On 01/03/2021 16:30, Torbjörn Eklöv wrote:

DHCPv6 only gives you an address, RA is the one who gives you the infrastructure.

 

 



/Torbjörn Eklöv
Interlan Gefle AB
mobil: 070 - 683 51 75
http://test-ipv6.se

 

A home without IPv6 is just a house


Från: Kea-users [hidden email] för russell aspinwall [hidden email]
Skickat: den 1 mars 2021 17:23
Till: [hidden email] [hidden email]
Ämne: [Kea-users] Kea 1.6 DHCP6 configuration on Raspberry Pi 3b running Ubuntu 20.04

 

Hi,

I have successfully configured HA between two Raspberry Pi 3bs running
Ubuntu server 20.04 with repository Kea 1.6 version.

I have configured a DHCP6 range and a pool but the client always has a
::/128 address.

As I have a mixture of staticly assigned  and dhcp6 clients in the same
::/64 subnet, I have specified my ::/64 subnet in the

{
           "id": 2012,
           "pools": [ { "pool": "NNNN:PPPP:QQQQ:T:ffff::/80" } ],
           "subnet": "NNNN:PPPP:QQQQ:T::/64",
           "interface": "eth0",
          "option-data" : [
              {
                 "name": "domain-search",
                 "csv-format": true,
                 "data": "euclid.plato"
              },
              {
                 "name": "dns-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              },
              {
                 "name": "sntp-servers",
                 "data": "NNNN:PPPP:QQQQ:T:8213:1132:6645:2222"
              }

       ]

}

How I can I assign a ::/64 address which is selected from only a smaller
portion of the ::/64 subnet so that the client is assigned a ::/64 address.

Thanks

Russell

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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

 




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

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users