dhcp6 client receives lease but interface doesn't get configured

Mike Cross mike at qacafe.com
Thu Jul 16 18:55:00 UTC 2009


Hi,

I'm running dhcp-4.1.1b1 server and clients.  I'm finding that my client is
getting a lease, but it doesn't get configured as an address on the
interface.

So here's my server config:

##
default-lease-time 2592000;
preferred-lifetime 604800;
option dhcp-renewal-time 3600;
option dhcp-rebinding-time 7200;
allow leasequery;
option dhcp6.name-servers 2001:4978:245::1;
option dhcp6.domain-search "digitalsushi.com";
option dhcp6.preference 255;
option dhcp6.info-refresh-time 21600;
dhcpv6-lease-file-name "/usr/local/var/db/dhcpd6.leases";

subnet6 2001:4978:245::/64 {
    range6 2001:4978:245::20 2001:4978:245::22;
}
##

I start the server up with
/usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd-dhcpv6.conf -6 -d -f -tf eth1

Then on my client, another physical machine, I run
/usr/local/sbin/dhclient -6 -d -cf /dev/null eth0
and get this output:
Listening on Socket/eth0
Sending on   Socket/eth0
PRC: Soliciting for leases (INIT).
XMT: Forming Solicit, 0 ms elapsed.
XMT:  X-- IA_NA d1:25:4c:0c
XMT:  | X-- Request renew in  +3600
XMT:  | X-- Request rebind in +5400
XMT: Solicit on eth0, interval 1030ms.
RCV: Advertise message on eth0 from fe80::21b:21ff:fe22:f832.
RCV:  X-- Preference 255.
RCV:  X-- IA_NA d1:25:4c:0c
RCV:  | X-- starts 1247769840
RCV:  | X-- t1 - renew  +3600
RCV:  | X-- t2 - rebind +7200
RCV:  | X-- [Options]
RCV:  | | X-- IAADDR 2001:4978:245::22
RCV:  | | | X-- Preferred lifetime 604800.
RCV:  | | | X-- Max lifetime 2592000.
RCV:  X-- Server ID: 00:01:00:01:11:f2:32:19:00:1b:21:22:f8:32
RCV:  Advertisement immediately selected.
PRC: Selecting best advertised lease.
PRC: Considering best lease.
PRC:  X-- Initial candidate 00:01:00:01:11:f2:32:19:00:1b:21:22:f8:32 (s:
155, p: 255).
XMT: Forming Request, 0 ms elapsed.
XMT:  X-- IA_NA d1:25:4c:0c
XMT:  | X-- Requested renew  +3600
XMT:  | X-- Requested rebind +5400
XMT:  | | X-- IAADDR 2001:4978:245::22
XMT:  | | | X-- Preferred lifetime +7200
XMT:  | | | X-- Max lifetime +7500
XMT:  V IA_NA appended.
XMT: Request on eth0, interval 990ms.
RCV: Reply message on eth0 from fe80::21b:21ff:fe22:f832.
RCV:  X-- Preference 255.
RCV:  X-- IA_NA d1:25:4c:0c
RCV:  | X-- starts 1247769840
RCV:  | X-- t1 - renew  +3600
RCV:  | X-- t2 - rebind +7200
RCV:  | X-- [Options]
RCV:  | | X-- IAADDR 2001:4978:245::22
RCV:  | | | X-- Preferred lifetime 604800.
RCV:  | | | X-- Max lifetime 2592000.
RCV:  X-- Server ID: 00:01:00:01:11:f2:32:19:00:1b:21:22:f8:32
PRC: Bound to lease 00:01:00:01:11:f2:32:19:00:1b:21:22:f8:32.
PRC: Renewal event scheduled in 3600 seconds, to run for 3600 seconds.
PRC: Depreference scheduled in 604800 seconds.
PRC: Expiration scheduled in 2592000 seconds.

That seems good.. but ifconfig doesn't show that address on the interface.
Is there some /proc/sys/net/ipv6/conf bit I need to flip?  Nothing looked
very good in there.   This is kinda like getting a new toy and not having an
adult around to open the plastic wrap.

Hey, thanks for reading.

--mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090716/2738164c/attachment.html>


More information about the dhcp-users mailing list