[v6] Beginner with fixed-address6

Stephane Bortzmeyer bortzmeyer at nic.fr
Tue Jan 22 16:07:59 UTC 2008


I'm trying DHCP v4.0.0 for the first time (on an AMD64 Dell machine
running Debian "etch" with Linux 2.6.22) and, while I can make it run
with IPv6 (and lease addresses from a range6 pool), I did not succeed
yet in the use of fixed-address6. Client and server are both ISC's
DHCP.

This configuration:

host lilith {
  hardware ethernet 00:19:b9:e4:25:f9;
  fixed-address6 2001:DB8:DEAD:BABE::2;
}

is accepted but I do not get the fixed address, just an address from
the pool.

I tried to use the option dhcp6.client-id but it's a nightmare, since
the client uses by default "Link-layer Address Plus Time" DUID (I
would prefer "Link-layer Address" but I do not find a way to set it up
this way. After reading RFC 3315, section 9.2, with the help of
Wireshark - which violates the RFC by decoding the DUID in detail -
and of the output of dhclient ("starts 1201021494"), I made:

host lilith {
  host-identifier option dhcp6.client-id 00:01:00:01:47:96:21:F7:F5:00:19:b9:e4:25:f9;
  fixed-address6 2001:DB8:DEAD:BABE::2;
}

But the result is the same.

Did anyone succeed with fixed-address6?


More information about the dhcp-users mailing list