[Dibbler] Per client address assignment problem

Stephen Worthington stephen at jsw.gen.nz
Tue Sep 18 11:44:35 CEST 2012


I have just started to use Dibbler as a DHCPv6 server on my home network,
since I discovered that my Cisco 877 router is unable to do per-client
address assignments for me.  Dibbler runs on my Windows Vista PC, as that
is the router between my Inner and Outer network segments and can provide
DHCP services to my whole network.

To configure Dibbler, I initially followed what I normally do for my
DHCPv4 servers - create manual address assignments for all the IP
addresses that I have in my DNS server, then create a pool of available
addresses that allow other devices to be plugged into my network on a
temporary basis (eg my brother's laptop when he visits).  The pool
addresses do not overlap the address space used for manual assignments,
so that I can add manual assignments for new permanent devices without
worrying if the address may already be assigned via the pool.

But when I tried the same scheme using Dibbler, I got errors on the
manual addresses when their matching DUIDs were received - they were
assigned random pool addresses instead.  As best I can tell, it appears
that Dibbler does not allow manual addresses to be outside the allocated
pool address space.  Below is the working server.conf file I am using
currently.  For the Inner interface, I am having to use "pool
2001:470:f3e2:2::/64" - the commented out "pool
2001:470:f3e2:2:F001::/80" above it is what I really want to be able to
do there.

Can anyone see a way of configuring things to do what I want?  Or is this
really a limitation in how Dibbler currently works?


# Logging level range: 1(Emergency)-8(Debug)
# 
log-level 8

log-mode full


iface "Outer" {

  # Common configuration options, provided for all clients.
  option dns-server 2001:470:f3e2:2::2,2001:470:f3e2:2::4
  option domain jsw.gen.nz
  option ntp-server 2001:470:F3E2:2::2,2001:470:F3E2:2::4

  class {
    pool 2001:470:f3e2:1:F000::/80
  }

}


iface "Inner" {

  class {
    #reject-clients 0x00030001001fc62464ce
    #pool 2001:470:f3e2:2:F000::/80
    pool 2001:470:f3e2:2::/64
  }

  # Common configuration options, provided for all clients.
  option dns-server 2001:470:f3e2:2::2,2001:470:f3e2:2::4
  option domain jsw.gen.nz
  option ntp-server 2001:470:F3E2:2::2,2001:470:F3E2:2::4

  # Manually assigned addresses - must match DNS addresses.
  client duid 00:03:00:01:00:07:e9:11:c5:95 {
    address 2001:470:f3e2:2::1
  }
  client duid 00:03:00:01:00:1f:c6:24:64:ce {
    address 2001:470:f3e2:2::2  
  }
  client duid 00:03:00:01:c8:60:00:15:81:76 {
    address 2001:470:f3e2:2::4  
  }
  client duid 00:03:00:01:00:1d:60:ae:35:2a {
    address 2001:470:f3e2:2::5  
  }
  client duid 00:03:00:01:00:13:e8:d2:fb:59 {
    address 2001:470:f3e2:2::6  
  }
  client duid 00:03:00:01:00:24:be:73:51:ec {
    address 2001:470:f3e2:2::7  
  }
  client duid 00:03:00:01:6c:f0:49:01:59:cb {
    address 2001:470:f3e2:2::8  
  }
  client duid 00:03:00:01:d8:a2:5e:2c:35:20 {
    address 2001:470:f3e2:2::9  
  }
  client duid 00:03:00:01:00:18:bd:5d:9f:03 {
    address 2001:470:f3e2:2::10 
  }
  client duid 00:03:00:01:98:0c:82:7b:1e:4d {
    address 2001:470:f3e2:2::11 
  }
  client duid 00:03:00:01:00:18:f3:4c:c9:31 {
    address 2001:470:f3e2:2::12 
  }
  client duid 00:03:00:01:8C:89:A5:01:24:B5 {
    # iaid 1
    address 2001:470:f3e2:2::14 
  }
  client duid 00:03:00:01:68:5D:43:18:01:5F {
    address 2001:470:f3e2:2::15 
  }

}


iface "VirtualBox Host-Only Network" {

  # Common configuration options, provided for all clients.
  option dns-server 2001:470:f3e2:2::2,2001:470:f3e2:2::4
  option domain jsw.gen.nz
  option ntp-server 2001:470:F3E2:2::2,2001:470:F3E2:2::4

  class {
    pool 2001:470:f3e2:3:F000::/80
  }

}

--
Stephen Worthington stephen at jsw.gen.nz
Telephone: +64-6-357-4275  Mobile: +64-27-671-8316


More information about the Dibbler mailing list