[Dibbler] Static DHCPv6 address support
Tomasz Mrugalski
thomson at klub.com.pl
Wed May 10 01:45:56 CEST 2006
On Tue, 9 May 2006 somebody known as Burden, Ken wrote:
> 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.
Take a look at server-relay.conf example config file. If you are going to
use more than one relay, please take a look 2relays-*.conf files.
Your config file should (more or less) look like this:
-------------------
log-level 7
log-mode short
iface eth0 {
# dummy class (an ugly workaround)
class { pool ::-:: }
}
iface relay1 {
relay eth0
interface-id 27
# 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 0x0001000100d257440014220f5116
pool 2001:1890:1109:2::40
}
option dns-server 2001:1890:1109::10
option domain vcd.ipv6.hp.com
}
----------------------
Let me explain, how this works. You have physical interface eth0, which
has logical interface relay1 defined on it. (This logical interface is
dibbler specific and is not seen in the system). This means that packets
from the link designated as interface-id=27 can only be received via eth0
interface.
Also a word of explanation about dummy class defined on the eth0
directly. This is a unfortunate feature of the dibbler parser. It won't
allow to define empty (without any addresses) interface. I have submited
a bug for this: http://klub.com.pl/cgi-bin/bugzilla/show_bug.cgi?id=123
> Also, what is the correct syntax for a DUID for the accept-only
> statement?
Ahhh, the docs seem not to be updated. The proper format is as follows:
accept-only 0x0001000100d257440014220f5116
Best regards,
--
Tomasz Mrugalski, | " Talk is cheap. Show me the code." |
thomson(at)klub(dot)com(dot)pl | Linus Torvalds |
More information about the Dibbler
mailing list