Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#5575 closed task (invalid)

Option82 with IPv4

Reported by: bakip Owned by:
Priority: medium Milestone: Kea1.4
Component: agent Version: 1.1.0
Keywords: relay agent information, option82 Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

I want to use option82 in KEA. I read KEA document but I cannot understand how to do. Now I use ISC DHCP and I use option82 successfully.

The structure I am currently using is as follows:
Example for one user;
I have class file /etc/dhcp/class/example and it contains a class like the following.

class "ABCD"{
match if (substring (option agent.circuit-id,2, 2) = 00:1A) --->vlan number type hex (00:1A=26)
and (substring( option agent.remote-id, 2, 10) = 12:34:AB:CD:56:78)--->remote-id type hex
and (suffix (option agent.circuit-id, 1) = 09) --->port number in switch
and(substring (hardware, 1, 6) = 34:17:eb:bc:6e:33); --->mac address
}

I have pool file /etc/dhcp/pool/example and it contains a pool like the following.

pool {
allow members of "ABCD"; ---> Matching class name
range 192.168.1.50; ---> Giving this IP address if it matches informations in the class

I define pool and class in the file (etc/dhcp/dhcpd.conf) as follows.

include "etc/dhcp/class/example";
shared-network EXAMPLE{

subnet 192.168.100.100 netmask 255.255.255.255 {}
subnet 192.168.1.0 netmask 255.255.255.0 {

option routers 192.168.1.1;

}

include "etc/dhcp/pool/example";
}

And this works. The person with this MAC address will get this IP address if it sends a request from this port of this switch.

How to similar structure in KEA?

Subtickets

Change History (2)

comment:1 Changed 20 months ago by tomek

  • Milestone changed from Kea-proposed to Kea1.4
  • Resolution set to invalid
  • Status changed from new to closed

This question is also posted to kea-users. Here's the answer:

https://lists.isc.org/pipermail/kea-users/2018-March/001685.html

Please do not create tickets that are questions. Mailing list is much better venue for this.

comment:2 Changed 20 months ago by bakip

Thank you for response, I will continue from mailing list.

Note: See TracTickets for help on using tickets.