<div dir="ltr">2008/7/15 Roque Gagliano <<a href="mailto:roque@lacnic.net">roque@lacnic.net</a>>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Hola,<div><br></div><div>Mande esta pregunta al foro de los programadores del wide-dhcp6 pero no me contestaron, a ver si aquí alguien tiene experiencia en el tema y me puede dar una mano.</div><div><br></div>
<div>gracias!</div><div>Roque<br><div><br><div>Begin forwarded message:</div><br><blockquote type="cite"><div><div style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 0, 0);" color="#000000" face="Helvetica" size="3"><b>From: </b></font><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3">Roque Gagliano <<a href="mailto:roque@lacnic.net" target="_blank">roque@lacnic.net</a>></font></div>
<div style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 0, 0);" color="#000000" face="Helvetica" size="3"><b>Date: </b></font><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3">July 14, 2008 10:54:22 AM GMT-03:00</font></div>
<div style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 0, 0);" color="#000000" face="Helvetica" size="3"><b>To: </b></font><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"><a href="mailto:wide-dhcpv6-developers@lists.sourceforge.net" target="_blank">wide-dhcpv6-developers@lists.sourceforge.net</a></font></div>
<div style="margin: 0px;"><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 0, 0);" color="#000000" face="Helvetica" size="3"><b>Subject: </b></font><font style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"><b>configuring dhcp6s as a stateless server: transmit reply to fe80::dc93:49bf:da71:d1cd%bge1 failed</b></font></div>
<div style="margin: 0px; min-height: 14px;"><br></div> </div><div>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hi,<br><br>I am using a dhcp6s server in a FreeBSD environment just to provide DNS info to clients (I am using stateless autoconf with raflag 0x40). I can see the "DHCP Information Request" from the customers at the server (using tcpdump) and the service up using sockstat but the server is not responding them. I tried to debug but the only message that I get is:<br>
<br>Jul 11 17:29:28 fwi dhcp6s[77211]: server6_send: transmit reply to fe80::dc93:49bf:da71:d1cd%bge1 failed<br><br>My configuration file is:<br><br>[root@fwi /usr/local/etc]# more /usr/local/etc/dhcp6s.conf<br># The followings are a sample configuration to provide a DNS server address<br>
# for every client as well as to delegate a permanent IPv6 prefix<br># 2001:db8:1111::/48 to a client whose DUID is 00:01:00:01:aa:bb.<br><br>option domain-name-servers 2001:13c7:7001:4224::224;<br>option domain-name-servers 2001:13c7:7001:4225::225;<br>
option domain-name "<a href="http://lacnic.net.uy" target="_blank">lacnic.net.uy</a>";<br>[root@fwi /usr/local/etc]#<br><br>[root@fwi ~]# sockstat -6<br>USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS<br>
root dhcp6s 88992 5 udp6 *:547 *:*<br>root dhcp6s 88992 6 udp6 *:62256 *:*<br>root dhcp6s 88992 7 tcp6 ::1:5547 *:*<br><br>Do you have any idea of what could be hapenning?<br>
<br>thanks for your help,<br>Roque<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.8 (Darwin)<br><br>iEYEARECAAYFAkh7Wo8ACgkQnk+WSgHpbO4wugCglpPp4dYsITV7VsjQR9/EhIFg<br>p7cAoNTG3OfsUxXHoLOzITi6sBDVKNj7<br>=J8NM<br>
-----END PGP SIGNATURE-----<br></div></blockquote></div><br></div></div><br>_______________________________________________<br>
LACTF mailing list<br>
<a href="mailto:LACTF@lacnic.net">LACTF@lacnic.net</a><br>
<a href="https://mail.lacnic.net/mailman/listinfo/lactf" target="_blank">https://mail.lacnic.net/mailman/listinfo/lactf</a><br>
<br></blockquote></div><br>No utilizo wide-dhcpv6 , pero veamos si te puedo ayudar.<br><br>Donde se genera el error es en :<br><br>error = sendto(s, buf, len, 0, sa, sysdep_sa_len(sa)); /** file common.c **/<br><br>Segun el man sendto(2) , los errores que pueden ser retornados :<br>
<br> [EHOSTUNREACH] The remote host was unreachable.<br> [EISCONN] A destination address was specified and the socket is already connected.<br> [ECONNREFUSED] The socket received an ICMP destination unreachable<br>
message from the last message sent. This typically<br> means that the receiver is not listening on the remote<br> port.<br> [EHOSTDOWN] The remote host was down.<br>
[ENETDOWN] The remote network was down.<br><br><br>Me inclino por que no puede alcanzar la red de origen del cliente que genera el information request ¿ Puedes mostrarme un dump de un request DHCP desde un cliente ?<br clear="all">
<br>-- <br>Jorge Niedbalski R.<br>-----------------------------------------<br>
</div>