[Kea-users] KEA 1.1.0 vs. isc-dhcp-server 4.3.3

Thomas Markwalder tmark at isc.org
Wed Dec 7 16:18:28 UTC 2016


On 12/7/16 10:04 AM, Ralf Hildebrandt wrote:
> We're trying to replace a working installation of isc-dhcp-server
> 4.3.3 with KEA 1.1.0 on the same box.
>
> * isc-dhcp hands out IP addresses AND the client accepts them - all is
>   well
>
> * KEA on the other hand does hand out IP addresses: 
>
> 2016-12-07 15:59:02.562 INFO  [kea-dhcp4.leases/35075] DHCP4_LEASE_ADVERT [hwtype=1 40:6c:8f:52:7d:60], cid=[01:40:6c:8f:52:7d:60], tid=0x1194bc8e: lease 10.31.192.5 will be advertised
> 2016-12-07 15:59:18.596 INFO  [kea-dhcp4.leases/35075] DHCP4_LEASE_ADVERT [hwtype=1 40:6c:8f:52:7d:60], cid=[01:40:6c:8f:52:7d:60], tid=0x1194bc8f: lease 10.31.192.6 will be advertised
> 2016-12-07 15:59:34.627 INFO  [kea-dhcp4.leases/35075] DHCP4_LEASE_ADVERT [hwtype=1 40:6c:8f:52:7d:60], cid=[01:40:6c:8f:52:7d:60], tid=0x1194bc90: lease 10.31.192.7 will be advertised
> 2016-12-07 15:59:50.659 INFO  [kea-dhcp4.leases/35075] DHCP4_LEASE_ADVERT [hwtype=1 40:6c:8f:52:7d:60], cid=[01:40:6c:8f:52:7d:60], tid=0x1194bc91: lease 10.31.192.8 will be advertised
>
>   and these DHCPOFFERS arrive at the client. But then the client
>   doesn't seem to accept them at all. It just keeps asking over and over
>   again.
>   
> On the same box, we basically shut down KEA, start up ISC-DHCPD and
> vice versa. We're currently using wireshark to record the traffic, but
> in the meantime: anbody got an idea what might be wrong?
>
Hello:


If you can share your config and the packet capture that would be
helpful.  What client software are you using?  You might try running
ISC_DHCP's dhclient in the foreground/debug mode (add -d to the command
line).  This dumps a fair amount of information to the console.  If you
like, you can give it the attached script, hollow_client.sh, as the
client script.  This script is essentially a NOP that just echos the
environment variables that dhclient exports when it invokes the script. 
The script doesn't altering any of the OS configuration the way the live
script does.


    dhclient -d -v -4 -1 -cf <your config file>  -sf <path>/hollow_client.sh


Sincerely,

Thomas Markwalder

ISC Software Engineering





-------------- next part --------------
A non-text attachment was scrubbed...
Name: hollow_client.sh
Type: application/x-sh
Size: 1422 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20161207/29cd94e2/attachment.sh>


More information about the Kea-users mailing list