Hello,<br>I am trying to make DHCPv6-server wint ISC-DHCP 4.2.1-P1 under OpenBSD 4.9 amd64. <br>I use a simple config file:<br><br>subnet6 2001:0db8:0:a::/64 {<br>range6 2001:0db8:0:a:1::<span class="Object" id="OBJ_PREFIX_DWT1270"><span class="Object" id="OBJ_PREFIX_DWT1271">01 2a02</span></span>:5800:0:a:1::99;<br>
option dhcp6.name-servers 2001:0db8:0:a::144:1;                             <br>}  <br><br>Server starts with "/usr/sbin/dhcpd -6 -f -d -cf /home/dhcpd6.conf re0"<br>and then I see attempts to get address from Win7 client:<br>
<br>Internet Systems Consortium DHCP Server 4.2.1-P1<br>Copyright <span class="Object" id="OBJ_PREFIX_DWT1272"><span class="Object" id="OBJ_PREFIX_DWT1273">2004-2011</span></span> Internet Systems Consortium.<br>All rights reserved.<br>
For info, please visit <span class="Object" id="OBJ_PREFIX_DWT1274"><span class="Object" id="OBJ_PREFIX_DWT1275"><a target="_blank" href="https://www.isc.org/software/dhcp/">https://www.isc.org/software/dhcp/</a></span></span><br>
Wrote 0 leases to leases file.<br>Bound to *:547<br>Listening on Socket/7/re0/2001:0db8:0:a::/64<br>Sending on   Socket/7/re0/2001:0db8:0:a::/64<br>Solicit message from fe80::74c5:96cb:ac0c:c065 port 546, transaction ID 0xAF9AE000<br>
Picking pool address 2001:0db8:0:a:1::99<br>Sending Advertise to fe80::74c5:96cb:ac0c:c065 port 546<br>send_packet6:
 Invalid argument                 
 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<!!!!!!!!!<<<<<<<<<<<<<<br>dhcpv6: send_packet6() sent -1 of 109 bytes<br>
<br>Tcpdump shows received packets and no transmitted.. Firewall is turned off.<br><br>Could
 You please help me with "Invalid argument"? I googled for a few hours, 
and did not find solution. I installed this DHCP server on another 
server (32bit) and got the same result.<br>The only thing I found suspictious is in config.log, but it did not print any error messages on screen during installation.<br><br>configure:7535: gcc -c -g -O2  conftest.c >&5                                                                                <br>
In file included from conftest.c:35:                                                                                         <br>/usr//include/sys/socket.h:105: error: expected specifier-qualifier-list before 'off_t'                                      <br>
/usr//include/sys/socket.h:162: error: expected specifier-qualifier-list before 'u_int8_t'                                   <br>/usr//include/sys/socket.h:180: error: expected specifier-qualifier-list before 'u_int8_t'                                   <br>
/usr//include/sys/socket.h:249: error: expected specifier-qualifier-list before 'uid_t'                                      <br>/usr//include/sys/socket.h:394: error: expected specifier-qualifier-list before 'socklen_t'                                  <br>
/usr//include/sys/socket.h:420: error: expected specifier-qualifier-list before 'socklen_t'                                  <br>/usr//include/sys/socket.h:476: error: expected specifier-qualifier-list before 'caddr_t'                                    <br>
In file included from conftest.c:35:                                                                                         <br>/usr//include/sys/socket.h:491: error: expected declaration specifiers or '...' before 'socklen_t'                           <br>
/usr//include/sys/socket.h:492: error: expected declaration specifiers or '...' before 'socklen_t'                           <br>/usr//include/sys/socket.h:493: error: expected declaration specifiers or '...' before 'socklen_t'                           <br>
/usr//include/sys/socket.h:494: error: expected declaration specifiers or '...' before 'uid_t'                               <br>/usr//include/sys/socket.h:494: error: expected declaration specifiers or '...' before 'gid_t'                               <br>
/usr//include/sys/socket.h:495: error: expected declaration specifiers or '...' before 'socklen_t'                           <br>/usr//include/sys/socket.h:496: error: expected declaration specifiers or '...' before 'socklen_t'                           <br>
/usr//include/sys/socket.h:497: error: expected declaration specifiers or '...' before 'socklen_t'                           <br>/usr//include/sys/socket.h:499: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'recv'                        <br>
/usr//include/sys/socket.h:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'recvfrom'                    <br>/usr//include/sys/socket.h:501: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'recvmsg'                     <br>
/usr//include/sys/socket.h:502: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'send'                        <br>/usr//include/sys/socket.h:503: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sendto'                      <br>
/usr//include/sys/socket.h:505: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sendmsg'                     <br>/usr//include/sys/socket.h:506: error: expected declaration specifiers or '...' before 'socklen_t'                           <br>
conftest.c: In function 'main':                                                                                              <br>conftest.c:41: error: 'struct sockaddr' has no member named 'sa_len'                                                         <br>
configure:7541: $? = 1                                                                                                       <br>configure: failed program was:                                                                                               <br>
| /* confdefs.h.  */             <br><br><br>I used usual installation procedure: ./configure, gmake, gmake install.<br>What is my mistake?<br><br>Val.<br>