Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2010 12:40:24 +0930
From:      Indexer <indexer@internode.on.net>
To:        freebsd-questions@freebsd.org
Subject:   ISC-DHCP6 does not send replies
Message-ID:  <141EE0AF-42C0-4455-BB4A-85C07ED784C0@internode.on.net>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have been trying to setup DHCPV6 between two systems. I have my =
gateway, with a correctly assigned prefix from my ISP, and a client who =
has ipv6 enabled, and dhcp6c installed.

When i activate the dhcpd, it starts correctly but when i try to gain a =
lease from my client, it recieves the solicit message, but does not =
appear to send a response.

Client

Aug/29/2010 12:34:12: extracted an existing DUID from =
/var/db/dhcp6c_duid: 00:01:00:01:14:0b:f3:79:64:b9:e8:b7:b4:6a
Aug/29/2010 12:34:12: failed to open /usr/local/etc/dhcp6cctlkey: No =
such file or directory
Aug/29/2010 12:34:12: failed initialize control message authentication
Aug/29/2010 12:34:12: skip opening control port
Aug/29/2010 12:34:12: cfparse: fopen(/usr/local/etc/dhcp6c.conf): No =
such file or directory
Aug/29/2010 12:34:12: reset a timer on en1, state=3DINIT, timeo=3D0, =
retrans=3D383
Aug/29/2010 12:34:13: a new XID (74e55f) is generated
Aug/29/2010 12:34:13: set client ID (len 14)
Aug/29/2010 12:34:13: set elapsed time (len 2)
Aug/29/2010 12:34:13: send solicit to ff02::1:2
Aug/29/2010 12:34:13: reset a timer on en1, state=3DSOLICIT, timeo=3D0, =
retrans=3D1088
Aug/29/2010 12:34:14: set client ID (len 14)
Aug/29/2010 12:34:14: set elapsed time (len 2)
Aug/29/2010 12:34:14: send solicit to ff02::1:2
Aug/29/2010 12:34:14: reset a timer on en1, state=3DSOLICIT, timeo=3D1, =
retrans=3D2151
Aug/29/2010 12:34:16: set client ID (len 14)
Aug/29/2010 12:34:16: set elapsed time (len 2)
Aug/29/2010 12:34:16: send solicit to ff02::1:2
Aug/29/2010 12:34:16: reset a timer on en1, state=3DSOLICIT, timeo=3D2, =
retrans=3D4283

Server

Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
WARNING: Host declarations are global.  They are not limited to the =
scope you declared them in.
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Bound to *:547
Listening on Socket/5/em0/fe80:1::216:e6ff:fe7f:972e/128
Sending on   Socket/5/em0/fe80:1::216:e6ff:fe7f:972e/128
Solicit message from fe80::226:bbff:fe1a:2d2e port 546, transaction ID =
0x5FE57400
Solicit message from fe80::226:bbff:fe1a:2d2e port 546, transaction ID =
0x5FE57400
Solicit message from fe80::226:bbff:fe1a:2d2e port 546, transaction ID =
0x5FE57400

I have tried this, having disabled PF on both systems to make sure that =
it was not that as an issue. the results were the same in both cases (my =
pf rules allow all outgoing traffic, and all from fe80 regardless).

Here is my dhcpd config

option domain-name "chocolate.lan";
option domain-search =
"chocolate.lan","dhcp.chocolate.lan","concrete.lan";
option domain-name-servers nemo.chocolate.lan;
option dhcp-server-identifier nemo.chocolate.lan;
default-lease-time 129600;
max-lease-time 1296000;
authoritative;

subnet6 fe80:1::216:e6ff:fe7f:972e/128 {
        range6 2001:44b8:7988:c60::10 2001:44b8:7988:c60::110;
        prefix6  2001:44b8:7988:c60::  2001:44b8:7988:c60:: /64;

        host mai {
                host-identifier option dhcp6.client-id =
00:01:00:01:14:0b:f3:79:64:b9:e8:b7:b4:6a;
                fixed-address6 2001:44b8:7988:c60::9;
        }
}

So my questions are thus

What have i missed or done wrong to prevent replies being sent to the =
client, and have i done anything wrong with this dhcpd config? =
Documentation about this subject is also rather sparse, especially about =
errors and configurations.=20

William Brown

pgp.mit.edu



-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iQIcBAEBAgAGBQJMec+kAAoJEHF16AnLoz6JqY8QAIMKq+V0PRoslFwgy53lVvkj
+SZ5Q09ObD3I4MoU2fn9T+m1boTP2m65IpceXi9E2ZaT57v5HrqDr0ubUVE+D9KX
tA/Xc5U5etdXaV/Ebw0B9gpTA84K/JSwcw8GRurpWkP8MBN2tmI7r2Q2DTEmukMn
/8/3fx76x7Vvh47QruwIGI0A3pBlW5s9vV5DYM39cRMHLNZ26sgUa1smAbynZhJH
tVVUsarfQMcr5+671m643y2L7VbARVJqh/2jN24muMtdUw2DhWy8aSxocZRF41Ee
hqJUqHkyyaHWaX/jpDsbToCejiokzpcNOt4hwyUm7+WHmGOF7PIptij8lOl/fs3/
cU3hbkl1iNc3qN20jZzVlC/aAM/R2ewG2ZKbbOsyKOsA2JAeMJ9QQafGrxql17ef
vZMWLOkbb9WCTfk6ZeaHyb2hSyKHy7YXF1UAGGsiUprYE5LlHIa/yMZMFqneRqC5
XU3+vswbKV87ftVVj53kwQ+X8OXKX3CMpmDFRbWmePigIJz/zMeOJLMcR8ugwikf
CuMQ88hg5ki3r+39AfrE54ie2icYS8HH9SINC7/3Xi7DiDTLjWJMBaybUJL+STG+
OFoO6dyJNPsJBSbJfxZEt+Z5DDAgq2c7zAOpG5zNMBzxqkRUQSi02Zb4M6kDmP29
sZ++zRJcJFApMJCx12/f
=3DnOJi
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?141EE0AF-42C0-4455-BB4A-85C07ED784C0>