DHCPv6 Option 18 (interface-id) relay problem (fwd)

Christian Kratzer ck-lists at cksoft.de
Mon Nov 12 14:17:52 UTC 2012


Hi,

I just had a quick look and following looks strange to me:

- The pcap file seems to only have the packets from the relay agent to the dhcp server.  I cannot see the answers the dhcp is sending.

- There is no subnet declaration for the link the clients are on.

   This seems to be the subnet the dhcp server is on:

 	subnet6 2001:16e0:0:f::/64 {
 	}

   In the packets capture I see the link address as 2001:16e0:200::

   You are trying to assign a fixed ip of 2001:16e0:111:100::11 which would be in yet another subnet 2001:16e0:111:100::/64.

   I think you should always have a subnet declaration for the subnet the clients are on.

   Also if the link address is different from the subnet the clients are on you should propably use a shared network.

- Are you sure you want to assign a single /128 address and not do prefix delegation to the client ?

- In your host declarations:

 	host TEST1 {
 	    host-identifier option dhcp6.interface-id "Interface-ID: GRE11 eth 2/1/01/03";
 	    fixed-address6 2001:16e0:111:100::11;
 	}

 	host TEST2 {
 	   host-identifier option dhcp6.interface-id "GRE11 eth 2/1/01/03";
 	   fixed-address6 2001:16e0:111:100::12;
 	}


    The second one TEST2 matches the DHCP Packets and would propably also match in the dhcp server if you had a subnet declaration for the respective subnet.

-  Not sure what your network looks like exactly.

    I assume you have a /64 network on the client facing side of the relay agent ?




Greetings
Christian




On Mon, 12 Nov 2012, Andreas Hanke wrote:
> Hello,
>
> here is my dhcpd.config:
>
> -----------------------------------
>
> #################################################################
> # dhcpd.conf                            #
> #                                #
> # Configuration file for ISC dhcpd (see 'man dhcpd.conf')    #
> #################################################################
>
> # That means: log to syslog facility 6, which is the facility of network
> log-facility local6;
>
> # That means: this is the oficial DHCP server into the network
> authoritative;
>
> # That means: the name of the DHCP server
> server-name "DHCP_IPv6";
>
> # That means: no dns server for
> ddns-update-style none;
>
> # Define the max and the default lease time
> max-lease-time 1200;
> default-lease-time 1200;
>
> # The ip of the network interface is not in the ip range for the DHCP range.
> # So we need a subnet declaration for that. But this have no effect.
> subnet6 2001:16e0:0:f::/64 {
> }
>
> host TEST1 {
>    host-identifier option dhcp6.interface-id "Interface-ID: GRE11 eth
> 2/1/01/03";
>    fixed-address6 2001:16e0:111:100::11;
> }
>
> host TEST2 {
>    host-identifier option dhcp6.interface-id "GRE11 eth 2/1/01/03";
>    fixed-address6 2001:16e0:111:100::12;
> }
>
>
> Attached is the .pcap file you need.
>
> Thanks in advanced.
>
> Andreas
>
> R-KOM Regensburger Telekommunikationsgesellschaft mbH & Co. KG,
> Kommanditgesellschaft, Sitz Regensburg, Registergericht Regensburg,
> HRA 5818
> Persönlich haftende Gesellschafterin und Geschäftsführung:
> R-KOM Regensburger Telekommunikationsverwaltungsgesellschaft mbH,
> Sitz Regensburg, Registergericht Regensburg,
> HRB 6764; Geschäftsführer: Dipl.-Inf. (FH) Alfred Rauscher
>

-- 
Christian Kratzer                      CK Software GmbH
Email:   ck at cksoft.de                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer


More information about the dhcp-users mailing list