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