Hi,

I'm working on setup where ip address reservation is made only by
circtuid-id value.
I've added respective config values:
"host-reservation-identifiers": [ "circuit-id" ]
I've added proper host reservation in MYSQL:
mysql> select * from hosts \G
*************************** 1. row ***************************
              host_id: 1
      dhcp_identifier: 0x657468322E333334
 dhcp_identifier_type: 2
      dhcp4_subnet_id: 1
      dhcp6_subnet_id: NULL
         ipv4_address: 170459147

First reservation is ok, when I change mac address of a device connecte to
given switch port (circuit-id stays the same) I'm getting different IP
address with following messsage in logs:
ALLOC_ENGINE_V4_DISCOVER_ADDRESS_CONFLICT [hwtype=1 52:83:2d:59:89:08],
cid=[01:52:83:2d:59:89:08], tid=0x42ae0700: conflicting reservation for
address 10.41.0.11 with existing lease

What I want to achieve is that ip reservation is selected based on
circuit-id not MAC in DISCOVER message. Customer changes his device - gets
the same IP.

rgds,

-- 
Marcin
-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to