LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   ISC-DHCPD v3 and agent.circuit-id (https://www.linuxquestions.org/questions/linux-server-73/isc-dhcpd-v3-and-agent-circuit-id-559332/)

wjonline 06-05-2007 10:02 AM

ISC-DHCPD v3 and agent.circuit-id
 
hi

I am trying to get a dhcpd server up to dish out ips based on the agent.circuit-id that is passed from the relay agent.

I have the following requirements.

1. based on the agent.circuit-id either give the customer a fixed ip or assign them one from a pool.
2. limit the dynamic ones to a single IP.
3. This is for an ISP envirnoment so I dont want to have to use the customers MAC address unless no other way.


I have taken a look at spawning classes which looks like it will solve the dynamic IPs with number of lease limits.

But I cant see how to either do a host declaration or some other method of assigning a fixed ip with selection based on the circuit-id???


any ideas?

example of what I have:

class "dynamic-customer" {
spawn with option agent.circuit-id;
lease limit 1;
}

pool {
allow members of "dynamic-customer";
range x.x.x.x y.y.y.y
blah blah blah
}

thanks


All times are GMT -5. The time now is 04:20 PM.