<div>Hi,</div>
<div> </div>
<div>Can any one please let me know how to get this working?</div>
<div> </div>
<div>Thanks,</div>
<div>Mukund<br><br></div>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mukund Deshpande</b> <span dir="ltr"><<a href="mailto:sai.mukund.sagar@gmail.com">sai.mukund.sagar@gmail.com</a>></span><br>
Date: Fri, Aug 19, 2011 at 2:29 PM<br>Subject: DHCP Server send_packet6: Network Unreachable<br>To: <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><br><br>
<div> </div>
<div> </div>
<div>Hi,</div>
<div> </div>
<div>I was trying to configure DHCP for IPV6 on a Virtual PC Setup.</div>
<div> </div>
<div>10.11.22.31 being DHCP server (ISC 4.2.2) and </div>
<div>client on 10.11.22.32 (dhclient which comes with ISC 4.2.2)</div>
<div> </div>
<div><strong>Server is running on eth1</strong></div>
<div> </div>
<div>[root@VPC-1 dhcp-4.2.2]# /root/dhcp-4.2.2/server/dhcpd -6 -d -cf /etc/dhcpd.conf eth1<br></div>
<div>Here is the conf file</div>
<div> </div>
<div>default-lease-time 600;<br>max-lease-time 7200;<br>log-facility local7;<br>subnet6 2002:2002::/48 {<br> # Range for clients<br> range6 2002:2002:: 2002:2002:ffff::;<br> # Additional options<br> option dhcp6.name-servers fec0:0:0:1::1;<br>
option dhcp6.domain-search "domain.example";<br> # Prefix range for delegation to sub-routers<br> #prefix6 fe80:5054:0:100:: fe80:5054:0:f00:: /56;<br> # Example for a fixed host address<br>
}<br># host specialclient {<br># host-identifier option dhcp6.client-id 00:01:00:01:4a:1f:ba:e3:60:b9:1f:01:23:45;<br># fixed-address6 fe80:5054:0:1::127;<br># </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>[root@VPC-1 ~]# ifconfig eth1<br>eth1 Link encap:Ethernet HWaddr 52:54:00:5A:EC:AA<br> inet6 addr: 2002:2002::1/64 Scope:Global<br> inet6 addr: fe80::5054:ff:fe5a:ecaa/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:7242 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:1371 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000<br> RX bytes:2108700 (2.0 MiB) TX bytes:234818 (229.3 KiB)<br>
Interrupt:10 Base address:0xa000<br></div>
<div> </div>
<div> </div>
<div>[root@VPC-1 dhcp-4.2.2]# /root/dhcp-4.2.2/server/dhcpd -6 -d -cf /etc/dhcpd.conf eth1<br>Internet Systems Consortium DHCP Server 4.2.2<br>Copyright 2004-2011 Internet Systems Consortium.<br>All rights reserved.<br>For info, please visit <a href="https://www.isc.org/software/dhcp/" target="_blank">https://www.isc.org/software/dhcp/</a><br>
Wrote 0 leases to leases file.<br>Bound to *:547<br>Listening on Socket/5/eth1/2002:2002::/48<br>Sending on Socket/5/eth1/2002:2002::/48<br>Solicit message from fe80::5054:ff:fe1b:233f port 546, transaction ID 0xC81CE00<br>
Picking pool address 2002:2002:fffe:9265:3c05:a838:5b80:5133<br>Sending Advertise to fe80::5054:ff:fe1b:233f port 546<br><strong>send_packet6: Network is unreachable <---------------------------------------------------------------------------------------------<br>
dhcpv6: send_packet6() sent -1 of 124 bytes <---------------------------------------------------------------------------------------------<br></strong>Solicit message from fe80::5054:ff:fe1b:233f port 546, transaction ID 0xC81CE00<br>
Picking pool address 2002:2002:fffe:9265:3c05:a838:5b80:5133<br>Sending Advertise to fe80::5054:ff:fe1b:233f port 546<br>send_packet6: Network is unreachable<br>dhcpv6: send_packet6() sent -1 of 124 bytes<br>Solicit message from fe80::5054:ff:fe1b:233f port 546, transaction ID 0xC81CE00<br>
Picking pool address 2002:2002:fffe:9265:3c05:a838:5b80:5133<br>Sending Advertise to fe80::5054:ff:fe1b:233f port 546<br>send_packet6: Network is unreachable<br>dhcpv6: send_packet6() sent -1 of 124 bytes<br>Solicit message from fe80::5054:ff:fe1b:233f port 546, transaction ID 0xC81CE00<br>
Picking pool address 2002:2002:fffe:9265:3c05:a838:5b80:5133<br>Sending Advertise to fe80::5054:ff:fe1b:233f port 546<br>send_packet6: Network is unreachable<br>dhcpv6: send_packet6() sent -1 of 124 bytes<br></div>
<div> </div>
<div> </div>
<div><strong>On client</strong></div>
<div><strong></strong> </div>
<div>[root@VPC-2 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth1<br></div>
<div><strong>DEVICE=eth1<br>ONBOOT=yes<br>BOOTPROTO=dhcp6<br>PERSISTENT_DHCLIENT=1</strong></div>
<div><strong></strong> </div>
<div><strong></strong> </div>
<div><strong></strong> </div>
<div>[root@VPC-2 ~]# vi /root/dhcp-4.2.2/client/dhclient.conf<br></div>
<div># Client configuration file example for DHCPv6</div>
<div># The client side command to enable rapid-commit (2 packet exchange)<br>#send dhcp6.rapid-commit;</div>
<div># name-servers and domain-search are requested by default.<br># here is the way to request sip-servers-addresses too<br>also request dhcp6.sip-servers-addresses;</div>
<div># Likely to be useful: the script path<br>script "/usr/local/etc/dhclient-script";</div>
<div> </div>
<div>[root@VPC-2 ~]# /root/dhcp-4.2.2/client/dhclient -6 -d -cf /root/dhcp-4.2.2/client/dhclient.conf eth1<br>Internet Systems Consortium DHCP Client 4.2.2<br>Copyright 2004-2011 Internet Systems Consortium.<br>All rights reserved.<br>
For info, please visit <a href="https://www.isc.org/software/dhcp/" target="_blank">https://www.isc.org/software/dhcp/</a></div>
<div>Bound to *:546<br>Listening on Socket/eth1<br>Sending on Socket/eth1<br>PRC: Soliciting for leases (INIT).<br>XMT: Forming Solicit, 0 ms elapsed.<br>XMT: X-- IA_NA 00:1b:23:3f<br>XMT: | X-- Request renew in +3600<br>
XMT: | X-- Request rebind in +5400<br>XMT: Solicit on eth1, interval 1060ms.<br>XMT: Forming Solicit, 1060 ms elapsed.<br>XMT: X-- IA_NA 00:1b:23:3f<br>XMT: | X-- Request renew in +3600<br>XMT: | X-- Request rebind in +5400<br>
XMT: Solicit on eth1, interval 2040ms.<br>XMT: Forming Solicit, 3110 ms elapsed.<br>XMT: X-- IA_NA 00:1b:23:3f<br>XMT: | X-- Request renew in +3600<br>XMT: | X-- Request rebind in +5400<br>XMT: Solicit on eth1, interval 4080ms.<br>
XMT: Forming Solicit, 7190 ms elapsed.<br>XMT: X-- IA_NA 00:1b:23:3f<br>XMT: | X-- Request renew in +3600<br>XMT: | X-- Request rebind in +5400<br>XMT: Solicit on eth1, interval 8190ms.<br>XMT: Forming Solicit, 15390 ms elapsed.<br>
</div>
<div> </div>
<div>I have connected both VPC's eth1 </div>
<div> </div>
<div>eth1--- eth1 (connect vpc1_eth1 vpc2_eth1)</div>
<div> </div>
<div> </div>
<div> </div>
<div>I can also share tethereal logs if necessary please help me regarding this error</div>
<div><br clear="all"><br>-- <br>Regards,</div>
<div>Mukund</div><font color="#888888"><br></font></div><br><br clear="all"><br>-- <br>Regards,
<div>Mukund</div><br>