Can I change the the user-class option value of ....
Srinivas Rao
sri.rao at usa.net
Mon Sep 6 17:31:49 UTC 1999
Hi dhcp-hackers,
Can I change the user-class option value of client's packet and send it to the
rest of the code so that the client gets an IP address based on that class?
My dhcpd is interested in MAC address to class binding and this MAC address to
class binding is dynamic - for instance
the the sysadmin( or any user) can log in from any machine (MAC address)
in the subnet. So IP address assignment must be based on his class which
the the authentication service (it's not a registration application but
a Directory Service like Novell's Directory Service which is a repository
for information storage etc ....) informs dhcpd.
The vital point here is the USER-CLASS binding is static, but the MAC-CLASS
(or MAC-USER) binding can be very dynamic and it depends on which user
logged in from which machine.
Since the USER to MAC ( or CLASS to MAC) binding is dynamic (just because
any user can login to the Directory Service, say Novell's Directory Service),
any time from any machine, I have established a connection between the
dhcpd and NDS - so that whenever there is a renewal request from a DHCP client
from any machine, it will contact NDS giving the MAC address of the renewal
requested client and get back the corresponding class_id.
In other words, the IP address that a machine gets will depend on the class of
the
user using the machine at the time, and that people will move from machine to
machine
on a fairly regular basis - every day, or even more often.
Now the server's job is to change the user-class option value of the packet
and send it to the rest of the code.
Can u people help in identifying that part of the server code which will help
me in accomplishing the above task?
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
More information about the dhcp-hackers
mailing list