dhcpv6 server configuration

Yeung, Pauline Pauline.Yeung at sciatl.com
Sun Nov 25 01:48:36 UTC 2007


I used the suggested configuration, and dhcpd exits right away.

Pauline


> ifconfig eth2 add 2002:c0a8:90d4:0001::1/64

> ifconfig eth2
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: 2002:c0a8:90d4:1::1/64 Scope:Global
          inet6 addr: fe80::219:5bff:fe71:3850/64 Scope:Link
          :

I put the following in dhcpd6.conf.

subnet6 2002:c0a8:90d4:0001::/64 {
     range6 2002:c0a8:90d4:0001:8000::/65;
     preferred-lifetime 360;
}

> /home/yeungp/local_dhcp/sbin/dhcpd -6 -d -f -cf
/home/yeungp/local_dhcp/etc/dhcpd6.conf eth2
Internet Systems Consortium DHCP Server 4.0.0b3
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.
Interface eth2 matches multiple shared networks

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server at isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
 

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
Behalf Of Shane Kerr
Sent: Monday, November 19, 2007 8:32 AM
To: dhcp-users at isc.org
Subject: Re: dhcpv6 server configuration

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pauline,

Yeung, Pauline wrote:
> 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;
> }

All of these IPv6 addresses are "link local". You can read about them
here:

http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_7-2/ipv6_
autoconfig.html

In order to use the DHCPv6 server, you need to have addresses with
global scope.
Or "real" IPv6 addresses.

For testing, I sometimes use 6to4 addresses. The interesting thing about
6to4 for testing purposes is that if you have an IPv4 address, you can
convert it to an IPv6 network that you know is available, at least for a
short while (you can see on the bottom of the page):

http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html

So for my computer here I have 199.6.1.234, which is
2002:C706:01EF::/48. For testing I can give my interface an address from
this network:

# ifconfig eth1 add 2002:c706:01ef:0001::1/64

Then I can test the DHCP server by setting the appropriate information
in the configuration file:

subnet6 2002:c706:01ef:0001::1/64 {
     range6 2002:c706:01ef:0001:8000::/65; }

(Your second e-mail, about the core dump, is possibly related, but we
should fail gracefully - I'm looking into that now.)

- --
Shane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHQbp+MsfZxBO4kbQRApJHAKCgQo4VzxPSg8WSd+dhgVFZPllzdQCeKtaG
lsh+25JC0DWmHklpPHYCDy8=
=g8y8
-----END PGP SIGNATURE-----



     - - - - - 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.



More information about the dhcp-users mailing list