[Dibbler] Static DHCPv6 address support
Burden, Ken
ken.burden at hp.com
Tue May 9 20:29:08 CEST 2006
Hi,
Thanks for the reply. I had thought of this but wasn't sure if there
was another option.
Next question - I am using a Cisco router to relay the DHCP messages
from another subnet/link to the Dibbler server. I am seeing errors in
the log file and would appreciate help figuring out what I am missing in
the config file.
Here is my config file.
#
# Note T1 <= T2 <= reconf-grace-period <= plt <= vlt
#
log-level 7
log-mode short
iface eth0 {
# clients should renew every half an hour
T1 1800
T2 2000
prefered-lifetime 3600
valid-lifetime 7200
unicast 2001:1890:1109:4:230:6eff:fef2:dc19
class {
# accept-only 0001000100d257440014220f5116
pool 2001:1890:1109:2::40
}
option dns-server 2001:1890:1109::10
option domain vcd.ipv6.hp.com
}
The log file has the following errors:
16:52:09 Emergency | Dibbler - a portable DHCPv6, version 0.4.2 (SERVER,
Linux port)
16:52:09 Notice My pid (11212) is stored in
/var/lib/dibbler/server.pid
16:52:09 Notice Detected iface sit0/3, MAC=00:00:00:00.
16:52:09 Notice Detected iface eth0/2, MAC=00:30:6e:f2:dc:19.
16:52:09 Notice Detected iface lo/1, MAC=00:00:00:00:00:00.
16:52:09 Notice Parsing /etc/dibbler/server.conf config file...
16:52:09 Info Interface eth0/2 configuration has been loaded.
16:52:09 Notice Running in stateful mode.
16:52:09 Info My duid is 00:01:00:00:44:5b:da:53:00:30:6e:f2:dc:19.
16:52:09 Notice Creating unicast
(2001:1890:1109:4:230:6eff:fef2:dc19) socket on eth0/2 interface.
16:52:09 Notice Creating multicast (ff02::1:2) socket on eth0/2
(eth0/2) interface.
16:52:09 Notice Accepting connections. Next event in 4294967295
second(s).
16:54:09 Info RELAY_FORW was decapsulated:
link=2001:1890:1109:2::6, peer=fe80::f1c1:cb40:a306:c60, interfaceID=27
16:54:09 Warning No relay interface defined on the eth0/2
16:54:09 Error Unable to find relay interface with interfaceID=27
defined on the eth0/2 interface.
16:54:09 Notice Accepting connections. Next event in 4294967295
second(s).
Also, what is the correct syntax for a DUID for the accept-only
statement?
The PDF file for Dibbler shows 2 sets of quotes for one example but no
quotes for the Link-Local Address example.
Regards,
Ken Burden
HP IPv6 Test Bed Project Lead
Vancouver, WA, USA
-----Original Message-----
From: dibbler-bounces at klub.com.pl [mailto:dibbler-bounces at klub.com.pl]
On Behalf Of Sob
Sent: Friday, May 05, 2006 5:34 PM
To: Dibbler users list
Subject: Re: [Dibbler] Static DHCPv6 address support
Hi,
if you create a class with single ipv6 address in server config and
set 'accept-only' to link address of your host, it will work as needed:
iface <iface> {
class { # reserved address for single client:
accept-only <host_link_address>
pool <single_address>
}
class { #other clients get addresses from here:
pool <start_address>-<end_address>
}
}
At 01:48 6.5.2006, you wrote:
>Reading the Dibbler User guide gave me the impression the server
>does not support static (reserved) DHCPv6 addresses. Specifically I
>am interested in being able to assign a specific address to a
>specific host/device.
_______________________________________________
Dibbler mailing list
Dibbler at klub.com.pl
http://klub.com.pl/cgi-bin/mailman/listinfo/dibbler
More information about the Dibbler
mailing list