[Kea-users] Can't get KEA to work here

Jonis Maurin Ceara jonis at fearp.usp.br
Mon May 16 13:15:05 UTC 2016


Another example of log and a registry on database: 

2016-05-16 10:02:01.754 DEBUG [kea-dhcp4.packets/30560] DHCP4_SUBNET_SELECTED [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7: the subnet with ID 1025 was selected for client assignments 
2016-05-16 10:02:01.754 DEBUG [kea-dhcp4.packets/30560] DHCP4_SUBNET_DATA [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7: the selected subnet details: 143.107.158.0/24 
2016-05-16 10:02:01.754 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID get one host with IPv4 reservation for subnet id 1025, HWADDR hwtype=1 6c:62:6d:bd:1a:18, DUID 01:6c:62:6d:bd:1a:18 
2016-05-16 10:02:01.754 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ALL_HWADDR_DUID get all hosts with reservations for HWADDR hwtype=1 6c:62:6d:bd:1a:18 and DUID 01:6c:62:6d:bd:1a:18 
2016-05-16 10:02:01.754 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: hwaddr=6c:62:6d:bd:1a:18 
2016-05-16 10:02:01.754 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier hwaddr=6c:62:6d:bd:1a:18, found 0 host(s) 
2016-05-16 10:02:01.754 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ALL_IDENTIFIER get all hosts with reservations using identifier: duid=01:6c:62:6d:bd:1a:18 
2016-05-16 10:02:01.754 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ALL_IDENTIFIER_COUNT using identifier duid=01:6c:62:6d:bd:1a:18, found 0 host(s) 
2016-05-16 10:02:01.755 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ONE_SUBNET_ID_HWADDR_DUID_NULL host not found using subnet id 1025, HW address hwtype=1 6c:62:6d:bd:1a:18 and DUID 01:6c:62:6d:bd:1a:18 
2016-05-16 10:02:01.755 DEBUG [kea-dhcp4.hosts/30560] HOSTS_MGR_ALTERNATE_GET4_SUBNET_ID_HWADDR_DUID trying alternate source for host using subnet id 1025, HWADDR hwtype=1 6c:62:6d:bd:1a:18, DUID01:6c:62:6d:bd:1a:18 
2016-05-16 10:02:01.755 DEBUG [kea-dhcp4.ddns/30560] DHCP4_CLIENT_FQDN_PROCESS [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7: processing Client FQDN option 
2016-05-16 10:02:01.755 DEBUG [kea-dhcp4.ddns/30560] DHCP4_CLIENT_FQDN_DATA [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7: Client sent FQDN option: type=81 (CLIENT_FQDN), flags: (N=0, E=0, O=0, S=0), domain-name='REC-LUCINDA.fea-rp.local' (partial) 
2016-05-16 10:02:01.756 DEBUG [kea-dhcp4.ddns/30560] DHCP4_RESPONSE_FQDN_DATA [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7: including FQDN option in the server's response: type=81 (CLIENT_FQDN), flags: (N=1, E=0, O=0, S=0), domain-name='REC-LUCINDA.fea-rp.local.' (full) 
2016-05-16 10:02:01.756 DEBUG [kea-dhcp4.dhcpsrv/30560] DHCPSRV_MYSQL_GET_SUBID_CLIENTID obtaining IPv4 lease for subnet ID 1025 and client ID 01:6c:62:6d:bd:1a:18 
2016-05-16 10:02:01.756 DEBUG [kea-dhcp4.dhcpsrv/30560] DHCPSRV_MYSQL_GET_SUBID_HWADDR obtaining IPv4 lease for subnet ID 1025 and hardware address hwtype=1 6c:62:6d:bd:1a:18 
2016-05-16 10:02:01.757 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4 get one host with reservation for subnet id 1025 and IPv4 address 143.107.205.133 
2016-05-16 10:02:01.757 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ALL_ADDRESS4 get all hosts with reservations for IPv4 address 143.107.205.133 
2016-05-16 10:02:01.757 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ALL_ADDRESS4_COUNT using address 143.107.205.133, found 0 host(s) 
2016-05-16 10:02:01.757 DEBUG [kea-dhcp4.hosts/30560] HOSTS_CFG_GET_ONE_SUBNET_ID_ADDRESS4_NULL host not found using subnet id 1025 and address 143.107.205.133 
2016-05-16 10:02:01.757 DEBUG [kea-dhcp4.hosts/30560] HOSTS_MGR_ALTERNATE_GET4_SUBNET_ID_ADDRESS4 trying alternate source for host using subnet id 1025 and address 143.107.205.133 
2016-05-16 10:02:01.758 DEBUG [kea-dhcp4.dhcpsrv/30560] DHCPSRV_MYSQL_GET_ADDR4 obtaining IPv4 lease for address 143.107.205.133 
2016-05-16 10:02:01.759 DEBUG [kea-dhcp4.alloc-engine/30560] ALLOC_ENGINE_V4_REQUEST_OUT_OF_POOL client [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7, which doesn't have a reservation, requested address 143.107.205.133 out of the dynamic pool 
2016-05-16 10:02:01.759 DEBUG [kea-dhcp4.bad-packets/30560] DHCP4_PACKET_NAK_0004 [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7: failed to grant a lease, client sent ciaddr 0.0.0.0, requested-ip-address 143.107.205.133 
2016-05-16 10:02:01.759 DEBUG [kea-dhcp4.options/30560] DHCP4_PACKET_PACK [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7: preparing on-wire format of the packet to be sent 
2016-05-16 10:02:01.759 DEBUG [kea-dhcp4.packets/30560] DHCP4_PACKET_SEND [hwtype=1 6c:62:6d:bd:1a:18], cid=[01:6c:62:6d:bd:1a:18], tid=0x1fcfffa7: trying to send packet DHCPNAK (type 6) from 143.107.158.44:67 to 255.255.255.255:68 on interface eth0 

Registry: 

Jonis Maurin Ceará 
Analista de Sistemas 
FEA-RP 
Help Desk +55 (16) 3315-3898 
Audiovisual +55 (16) 3315-3927 
Desenv. Sistemas +55 (16) 3315-4485 
Infraestrutura +55 (16) 3315-8539 / 0672 
Atendimento Web: http://suporte.fearp.usp.br 

----- Mensagem original -----

> De: "Jonis Maurin Ceara" <jonis at fearp.usp.br>
> Para: kea-users at lists.isc.org
> Enviadas: Segunda-feira, 16 de Maio de 2016 10:06:44
> Assunto: Re: [Kea-users] Can't get KEA to work here

> Unfortunately, did not worked :(
> Even correcting the config file (for networks) some machines still
> not getting IP, even if their registry exists in lease4 table. I
> don't know why.
> Is there any limitation with DCP without pool?

> Jonis Maurin Ceará
> Analista de Sistemas
> FEA-RP
> Help Desk +55 (16) 3315-3898
> Audiovisual +55 (16) 3315-3927
> Desenv. Sistemas +55 (16) 3315-4485
> Infraestrutura +55 (16) 3315-8539 / 0672
> Atendimento Web: http://suporte.fearp.usp.br

> ----- Mensagem original -----

> > De: "Jonis Maurin Ceara" <jonis at fearp.usp.br>
> 
> > Para: kea-users at lists.isc.org
> 
> > Enviadas: Sexta-feira, 13 de Maio de 2016 17:19:44
> 
> > Assunto: Re: [Kea-users] Can't get KEA to work here
> 

> > Please, forget my lat message. The problem is a 'cut/paste'
> > problem....hehehehe
> 
> > In the config there was 2 networks '143.107.205.0/24' but the
> > second
> > one should be '10.107.205.0/24'....my mistake.
> 
> > I'll try again next week.
> 

> > Jonis Maurin Ceará
> 
> > Analista de Sistemas
> 
> > FEA-RP
> 
> > Help Desk +55 (16) 3315-3898
> 
> > Audiovisual +55 (16) 3315-3927
> 
> > Desenv. Sistemas +55 (16) 3315-4485
> 
> > Infraestrutura +55 (16) 3315-8539 / 0672
> 
> > Atendimento Web: http://suporte.fearp.usp.br
> 

> > ----- Mensagem original -----
> 

> > > De: "Jonis Maurin Ceara" <jonis at fearp.usp.br>
> > 
> 
> > > Para: kea-users at lists.isc.org
> > 
> 
> > > Enviadas: Sexta-feira, 13 de Maio de 2016 15:40:18
> > 
> 
> > > Assunto: [Kea-users] Can't get KEA to work here
> > 
> 

> > > Hi!
> > 
> 

> > > After some tests in isolated VLAN's, I decided to migrate my
> > > current
> > > working setup (freeradius as DHCP) to Kea. I managed to configure
> > > and import all my hosts to KEA database and everything looks
> > > fine,
> > > until I swiched my production to Kea and didn't worked.
> > 
> 

> > > I have on server (paola1) with local MySQL database (for now) and
> > > Kea
> > > configure in 2 interfaces: "eth0" (network 143.107.158.0) and
> > > "eth0.209" (network 143.107.205.0). The clients are reaching my
> > > Kea
> > > server and KEa can communicate with DB, but I got no ip on
> > > client.....just in some, but just some! Also, my LEASE database
> > > are
> > > increasing, like everything was working fine....but it wasn't!
> > 
> 
> > > These are my configuration and log files:
> > > https://app.fearp.usp.br/owncloud/public.php?service=files&t=8feb8247d4f6c12ce1500d1240d53460
> > 
> 
> > > the .7zip are the KEA log in debug mode. Also I have included my
> > > SQL
> > > data for all my hosts.
> > 
> 

> > > All my hosts are static and I don't have 'dynamic' leases, only
> > > static (that's why I don't have 'pool' in configuration).
> > 
> 

> > > What am I doing wrong? I could not figure it out.
> > 
> 

> > > Jonis Maurin Ceará
> > 
> 
> > > Analista de Sistemas
> > 
> 
> > > FEA-RP
> > 
> 
> > > Help Desk +55 (16) 3315-3898
> > 
> 
> > > Audiovisual +55 (16) 3315-3927
> > 
> 
> > > Desenv. Sistemas +55 (16) 3315-4485
> > 
> 
> > > Infraestrutura +55 (16) 3315-8539 / 0672
> > 
> 
> > > Atendimento Web: http://suporte.fearp.usp.br
> > 
> 

> > > _______________________________________________
> > 
> 
> > > Kea-users mailing list
> > 
> 
> > > Kea-users at lists.isc.org
> > 
> 
> > > https://lists.isc.org/mailman/listinfo/kea-users
> > 
> 

> > _______________________________________________
> 
> > Kea-users mailing list
> 
> > Kea-users at lists.isc.org
> 
> > https://lists.isc.org/mailman/listinfo/kea-users
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20160516/de0972fc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kea_problem.png
Type: image/png
Size: 82498 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20160516/de0972fc/attachment.png>


More information about the Kea-users mailing list