IPv6 and option 18

Paolo Prandini prandini at spe.net
Wed Dec 1 19:04:54 UTC 2010


I would like to add that I found the problem.
The code in server/dhcpv6.c ( I am referring to 4.2.0 ) is broken in
regards to treatment of option 18 ( interface-id).
I wrote a fix, if anyone is interested I can release it on the list,
it is about 20 lines of code.

Il 30/11/2010 11.27, Paolo Prandini ha scritto:
> I would like to use the option 18 inserted by the dhcp relay agent
> (a string like "AT2/1.0") to identify an host, I tried with:
>
> host AVM {
>         host-identifier option dhcp6.interface-id "AT2/1.0";
>
>         fixed-address6 2a00:19a8:1::2;
>         fixed-prefix6 2a00:19a8:101:: /48;
> }
>
> I get no syntax errors, but even if the interface-id is correctly set ( I checked
> with tcpdump ) no lease is assigned.
>
> of course with client-id it works correcty:
>
> host AVM {
>         host-identifier option dhcp6.client-id 01:03:00:01:00:1e:be:bc:5d:c2;
>
>         fixed-address6 2a30:19a8:1::2;
>         fixed-prefix6 2a30:19a8:101:: /48;
> }
>
> Where is the fault?
> Thanks a lot!
>


-- 
Dr.Ing.Paolo Prandini

Dr.Paolo Prandini
Rottendorfer Str. 1
A-9560 Lindl
Austria
Telefon +43 (0)42765105
Fax     +43 (0)427637590

S.P.E.Sistemi e Progetti Elettronici s.a.s.
Via Liguria 5
I-25125 Brescia
Italia
Telefono +39 0302427266
Fax      +39 02700406565

Email prandini at spe.net
Web http://www.spe.net
CA https://ra.spe.net/pub/cacert/cacert.crt
-------------------------------------------
The information contained in this e-mail message is confidential and intended
exclusively for the addressee. Persons receiving this e-mail message who are
not the named addressee (or his/her co-workers, or persons authorized to take
delivery) must not use, forward or reproduce its contents.
If you have received this e-mail message by mistake, please contact us immediately
and delete this e-mail message beyond retrieval.

Die Information dieses e-Mails ist vertraulich und ausschliesslich fuer den
Adressaten bestimmt. Der Empfanger dieses e-Mails, der nicht der Adressat ist,
(sowie einer seiner Mitarbeiter oder seiner Empfangsberechtigter), darf den
Inhalt nicht verwenden, weitergeben oder reproduzieren.
Sollten Sie dieses e-Mail irrtuemlich erhalten haben, informieren Sie uns
bitte unverzueglich und loeschen Sie das e-Mail unwiederbringlich.

Questo messaggio contiene informazioni riservate e confidenziali. Se non
siete i destinatari del messaggio (o se avete ricevuto il messaggio per
errore) Vi preghiamo di darcene immediata comunicazione ritornandoci il
messaggio stesso. Qualsiasi copia, riproduzione in genere, uso o
distribuzione del materiale contenuto o allegato al presente messaggio è
severamente proibito.




More information about the dhcp-users mailing list