dhcpv6 server configuration

Yeung, Pauline Pauline.Yeung at sciatl.com
Sat Nov 17 06:52:17 UTC 2007


I stopped and started the dhclient for the setup in this email thread
and get a SIGSEGV.
 
sbin> gdb ./dhcpd
GNU gdb Red Hat Linux (6.5-15.fc6rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host
libthread_db library "/lib/libthread_db.so.1".
 
(gdb) set args -6 -f -d -cf /usr/local/etc/dhcpd-6.conf eth2
(gdb) r
Starting program: /usr/local/sbin/dhcpd -6 -f -d -cf
/usr/local/etc/dhcpd-6.conf eth2
Internet Systems Consortium DHCP Server 4.0.0b2
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.
Listening on Socket/eth2/fe80::219:5bff:fe71:3850/128
Sending on   Socket/eth2/fe80::219:5bff:fe71:3850/128
Solicit message from fe80::219:5bff:fe71:3c0f port 546, transaction ID
0x61DC6100
Unable to pick client address: no IPv6 pools on this shared network
:
Sending Advertise to fe80::219:5bff:fe71:3c0f port 546
Solicit message from fe80::219:5bff:fe71:3c0f port 546, transaction ID
0x510E5A00
 
Program received signal SIGSEGV, Segmentation fault.
0x0807a14f in lease_to_client (reply_ret=0xbfeaf978, packet=<value
optimized out>,
    client_id=<value optimized out>, server_id=0x0) at dhcpv6.c:983
983                     if (activate_lease6(p, addr, &attempts,
(gdb) bt
#0  0x0807a14f in lease_to_client (reply_ret=0xbfeaf978, packet=<value
optimized out>,
    client_id=<value optimized out>, server_id=0x0) at dhcpv6.c:983
#1  0x0807c64e in build_dhcpv6_reply (reply=0xbfeaf978,
packet=0x9bbd360) at dhcpv6.c:2136
#2  0x0807d047 in dhcpv6 (packet=0x9bbd360) at dhcpv6.c:3418
#3  0x08093dfe in do_packet6 (interface=0x9b89890, packet=0xbfeaf9fc
"\001Z\016Q", len=44, from_port=8706,
    from=0xbfebfa18, was_unicast=isc_boolean_false) at options.c:3736
#4  0x08086c42 in got_one_v6 (h=0x9b89890) at discover.c:1394
#5  0x080b24d1 in omapi_one_dispatch (wo=0x0, t=0x0) at dispatch.c:411
#6  0x08088942 in dispatch () at dispatch.c:89
#7  0x0804bc50 in main (argc=7, argv=0xbfebfda4) at dhcpd.c:710
(gdb)

 
Pauline

________________________________

From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
Behalf Of Yeung, Pauline
Sent: Friday, November 16, 2007 10:04 PM
To: dhcp-users at isc.org
Subject: dhcpv6 server configuration



I'm running dhcp 4.0.0b2 in two linux PC's, each with three NIC's.  The
following shows the information on the server.
 
> uname -rm
2.6.22.9-61.fc6 i686
 
> /usr/local/sbin/dhcpd --version
isc-dhcpd-4.0.0b2
 
> ifconfig
eth0      Link encap:Ethernet  HWaddr 00:90:27:1C:BC:70
          inet addr:172.22.3.212  Bcast:172.22.63.255
Mask:255.255.192.0
          inet6 addr: fe80::290:27ff:fe1c:bc70/64 Scope:Link
:
eth1      Link encap:Ethernet  HWaddr 00:11:25:4F:9E:7B
          inet addr:192.168.99.99  Bcast:192.168.99.255
Mask:255.255.255.0
          inet6 addr: fe80::211:25ff:fe4f:9e7b/64 Scope:Link
:
eth2      Link encap:Ethernet  HWaddr 00:19:5B:71:38:50
          inet addr:192.168.144.212  Bcast:192.168.144.255
Mask:255.255.255.0
          inet6 addr: fe80::219:5bff:fe71:3850/64 Scope:Link
:
 
I'm using the following configuration file

subnet6 fec0:aaaa:bbbb:cccc::/64 {
     range6 fec0:aaaa:bbbb:cccc::10 fec0:aaaa:bbbb:cccc::fd;
     preferred-lifetime 360;
}
 
subnet6 fe80::290:27ff:fe1c:bc70/128 {
}
 
subnet6 fe80::211:25ff:fe4f:9e7b/128 {
}
 
subnet6 fe80::219:5bff:fe71:3850/128 {
}
 
And I'm getting the following error.
 
> /usr/local/sbin/dhcpd -6 -f -d -cf /usr/local/etc/dhcpd-6.conf eth2
Internet Systems Consortium DHCP Server 4.0.0b2
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
<http://www.isc.org/sw/dhcp/> 
Wrote 0 leases to leases file.
Listening on Socket/eth2/fe80::219:5bff:fe71:3850/128
Sending on   Socket/eth2/fe80::219:5bff:fe71:3850/128
Solicit message from fe80::219:5bff:fe71:3c0f port 546, transaction ID
0x23628000
Unable to pick client address: no IPv6 pools on this shared network
Sending Advertise to fe80::219:5bff:fe71:3c0f port 546
Solicit message from fe80::219:5bff:fe71:3c0f port 546, transaction ID
0x23628000
Unable to pick client address: no IPv6 pools on this shared network
Sending Advertise to fe80::219:5bff:fe71:3c0f port 546
 
 
If I add an IPv6 address to eth2, I get the following error.
 
> ifconfig eth2 add fec0:aaaa:bbbb:cccc::fe/64
> /usr/local/sbin/dhcpd -6 -f -d -cf /usr/local/etc/dhcpd-6.conf eth2
Internet Systems Consortium DHCP Server 4.0.0b2
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
<http://www.isc.org/sw/dhcp/> 
Wrote 0 leases to leases file.
Interface eth2 matches multiple shared networks

 
Any help on how to configure dhcpd is appreciated.
 
Thanks
Pauline

 
 

________________________________

      - - - - - Appended by Scientific Atlanta, a Cisco company - - - -
-         
This e-mail and any attachments may contain information which is
confidential, 
proprietary, privileged or otherwise protected by law. The information
is solely 
intended for the named addressee (or a person responsible for delivering
it to 
the addressee). If you are not the intended recipient of this message,
you are 
not authorized to read, print, retain, copy or disseminate this message
or any 
part of it. If you have received this e-mail in error, please notify the
sender 
immediately by return e-mail and delete it from your computer. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20071116/84a37146/attachment.html>


More information about the dhcp-users mailing list