[Dibbler] Problems with "accept-only"

Christian Carlowitz ccarlowitz at chome.ath.cx
Mon Mar 14 20:42:39 CET 2005


Hello!


I want to use Dibbler for assigning static IPv6-addresses to clients. Dibbler
is supposed to assign a certain address to each client (the one which maps to
the correct DNS-Name in reverse DNS). So I tried to run a Dibbler-server
(0.31) with the config listed below on a Debian/Linux-machine in order to
assign the address 2001:6f8:12ff::2 to a WinXP-client (dibbler-client 0.31).
The server config is based on a hint in the manual on page 15/16 which says
that a problem like "Client with fe80::200:39ff:fe4b:1abc link-local address
should get his static address 2000::2f." can be solved by using a
"accept-only" statement in connection with an one-address-pool.
But according to the output (see below), the server refuses to assign the
specified address though the client successfully bound to the correct
link-local-address. If I remove the "accept-only", the address is assigned. 

Any idea?


In advance, thank you for your help.

Regards,

Christian Carlowitz




Dibbler-server config:
----------------------

log-level 7
log-mode short

iface eth0 {
        T1 1000
        T2 2000

        class {
                accept-only fe80::208:74ff:fe03:f419
                pool 2001:6f8:12ff::2
        }

        option dns-server 2001:6f8:12ff::1
}


Dibbler-WinXP-client config:
----------------------------

log-mode short
iface "LAN-Verbindung"
{
	option dns-server
	IA
}


Debian/Linux-server ifconfig eth0:
----------------------------------

eth0      Link encap:Ethernet  HWaddr 00:0C:F1:74:7F:6C
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:f1ff:fe74:7f6c/64 Scope:Link
          inet6 addr: 2001:6f8:12ff::1/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2323157 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3100581 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1113537077 (1.0 GiB)  TX bytes:3504952931 (3.2 GiB)
          Base address:0xdcc0 Memory:fe9e0000-fea00000



WinXP-client ipconfig before the test:
------------------------------------

Ethernetadapter LAN-Verbindung:

        Physikalische Adresse . . . . . . : 00-08-74-03-F4-19
        DHCP aktiviert. . . . . . . . . . : Ja
        Autokonfiguration aktiviert . . . : Ja
        IP-Adresse. . . . . . . . . . . . : 192.168.0.2
        Subnetzmaske. . . . . . . . . . . : 255.255.255.0
        IP-Adresse. . . . . . . . . . . . : fe80::208:74ff:fe03:f419%5
        Standardgateway . . . . . . . . . : 192.168.0.1
        DHCP-Server . . . . . . . . . . . : 192.168.0.1
        DNS-Server. . . . . . . . . . . . : 192.168.0.1
                                            fec0:0:0:ffff::1%1
                                            fec0:0:0:ffff::2%1
                                            fec0:0:0:ffff::3%1
        Lease erhalten. . . . . . . . . . : Montag, 14. März 2005 19:48:49
        Lease läuft ab. . . . . . . . . . : Montag, 14. März 2005 20:08:49




Dibbler-server log (started with 'dibbler-server run' in console:
-----------------------------------------------------------------

2005.03.14 19:59:26 Server Emergency | Dibbler - a portable DHCPv6, version
0.3.1 (SERVER)
2005.03.14 19:59:26 Server Notice    Detected iface ppp0/243, flags=4305,
MAC=54:86:4b:e3.
2005.03.14 19:59:26 Server Notice    Detected iface ip6/239, flags=209,
MAC=54:86:4b:e3.
2005.03.14 19:59:26 Server Notice    Detected iface ip6tnl0/8, flags=128,
MAC=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00.
2005.03.14 19:59:26 Server Notice    Detected iface sit0/7, flags=128,
MAC=00:00:00:00.
2005.03.14 19:59:26 Server Notice    Detected iface tunl0/6, flags=128,
MAC=00:00:00:00.
2005.03.14 19:59:26 Server Notice    Detected iface eth1/5, flags=4163,
MAC=00:50:bf:d4:49:25.
2005.03.14 19:59:26 Server Notice    Detected iface dummy0/4, flags=130,
MAC=fe:b6:20:57:4d:01.
2005.03.14 19:59:26 Server Notice    Detected iface tap0/3, flags=4226,
MAC=fe:fd:00:00:00:00.
2005.03.14 19:59:26 Server Notice    Detected iface lo/2, flags=73,
MAC=00:00:00:00:00:00.
2005.03.14 19:59:26 Server Notice    Detected iface eth0/1, flags=4163,
MAC=00:0c:f1:74:7f:6c.
59:26 Info      Interface eth0/1 configuration has been loaded.
59:26 Notice    Running in stateful mode.
59:26 Info      My duid is 00:01:00:00:42:35:9b:f4:00:50:bf:d4:49:25.
59:26 Notice    Creating multicast (ff02::1:2) socket on eth0/1 interface.
59:26 Notice    Accepting connections. Next event in 2147483647 second(s).
59:45 Notice    Received SOLICIT on eth0/1,TransID=0x2622, 4 opts: 1 3 8 6
59:45 Notice    Client with DUID=0x80d6558/addr=0x80d49e8 was rejected (due to
accept-only or reject-client).
59:45 Notice    Accepting connections. Next event in 2147483647 second(s).
59:46 Notice    Received SOLICIT on eth0/1,TransID=0x2622, 4 opts: 1 3 8 6
59:46 Notice    Client with DUID=0x80d6a48/addr=0x80d49e8 was rejected (due to
accept-only or reject-client).
59:46 Notice    Accepting connections. Next event in 2147483647 second(s).
59:48 Notice    Received SOLICIT on eth0/1,TransID=0x2622, 4 opts: 1 3 8 6
59:48 Notice    Client with DUID=0x80d6558/addr=0x80d49e8 was rejected (due to
accept-only or reject-client).
59:48 Notice    Accepting connections. Next event in 2147483647 second(s).
59:52 Notice    Received SOLICIT on eth0/1,TransID=0x2622, 4 opts: 1 3 8 6
59:52 Notice    Client with DUID=0x80d6a48/addr=0x80d49e8 was rejected (due to
accept-only or reject-client).
59:52 Notice    Accepting connections. Next event in 2147483647 second(s).
59:59 Critical  Signal received. Shutting down.
59:59 Warning   Service SHUTDOWN.
59:59 Notice    Accepting connections. Next event in 0 second(s).
59:59 Notice    Bye bye.



Dibbler-client log (started with 'dibbler-client.exe run -d PATH' in console):
(the client has been shut down with <ctrl+c>)
------------------------------------------------------------------------------

2005.03.14 19:59:42 Client Critical  | Dibbler - a portable DHCPv6, version
0.3.1(CLIENT)
2005.03.14 19:59:42 Client Critical  | Authors : Tomasz
Mrugalski<thomson at klub.com.pl>,Marek Senderski<msend at o2.pl>
2005.03.14 19:59:42 Client Critical  | Licence : GNU GPL v2 or later.
Developed at Gdansk University of Technology.
2005.03.14 19:59:42 Client Critical  | Homepage: http://klub.com.pl/dhcpv6/
2005.03.14 19:59:42 Client Notice    Detected iface LAN-Verbindung/5, flags=5,
MAC=00:08:74:03:f4:19.
2005.03.14 19:59:42 Client Notice    Detected iface Teredo Tunneling
Pseudo-Interface/4, flags=0, MAC=ff:ff:ff:ff:ff:ff:ff:ff.
2005.03.14 19:59:42 Client Notice    Detected iface 6to4 Pseudo-Interface/3,
flags=5, MAC=ff:ff:ff:ff.
2005.03.14 19:59:42 Client Notice    Detected iface Automatic Tunneling
Pseudo-Interface/2, flags=5, MAC=c0:a8:00:02.
2005.03.14 19:59:42 Client Notice    Detected iface Loopback
Pseudo-Interface/1, flags=13, MAC=.
59:42 Info      Interface LAN-Verbindung/5 configuation has been loaded.
59:42 Info      Bind reuse disabled.
59:42 Notice    Creating socket (addr=fe80::208:74ff:fe03:f419) on the
LAN-Verbindung/5 interface.
59:42 Info      Socket bound to fe80::208:74ff:fe03:f419/port=546
59:42 Info      Creating SOLICIT message  on LAN-Verbindung interface.
59:42 Notice    Sleeping for 1 second(s).
59:43 Info      Processing msg (SOLICIT,transID=0x2622,opts: 1 3 8 6)
59:43 Notice    Sleeping for 1 second(s).
59:44 Info      Processing msg (SOLICIT,transID=0x2622,opts: 1 3 8 6)
59:44 Notice    Sleeping for 2 second(s).
59:46 Info      Processing msg (SOLICIT,transID=0x2622,opts: 1 3 8 6)
59:46 Notice    Sleeping for 4 second(s).
59:50 Info      Processing msg (SOLICIT,transID=0x2622,opts: 1 3 8 6)
59:50 Notice    Sleeping for 8 second(s).
59:52 Warning   Sending SHUTDOWN packet on the LAN-Verbindung/5
(addr=fe80::208:74ff:fe03:f419).
59:52 Warning   Control message received.
59:52 Notice    Shutting down entire client.
59:52 Notice    Sleeping for 1 second(s).
59:53 Notice    Bye bye.



More information about the Dibbler mailing list