Robert Braeutigam wrote:
> Hello,
> I want to configure our ISC dhcpd (3.x) in a way that Devices with a
> MAC-Adress starting with a specific vendor code (in this case Alcatel
> IP-Phones) get an IP-Adress from a specified IP-Range.
> The Idea is that the IP-Phones are all in a IP-Range of their own.
> Can anyone give me a hint or maybe even an example on how to do this
?
The documentation for dhcpd, etc. is a bit scattered for my taste. The
man pages are fairly complete but hard to navigate. You might want to
use the html man page versions here:
http://default.co.yu/~bc/rtfm/index....and=&display=D
There are several ways in which you can set up this sort of thing and
the one that you go with will depend on what you will need to take into
account before assigning client net configuration.
Check out class, subclass, match, option, DATA EXPRESSIONS (hardware)
in these pages:
class, subclass, match:
http://default.co.yu/~bc/rtfm/index....and=dhcpd.conf
conditional evaluation dicussion (maybe more than you need):
http://default.co.yu/~bc/rtfm/index....mand=dhcp-eval
complete list of option statements:
http://default.co.yu/~bc/rtfm/index....d=dhcp-options
Two things I see as potential gothchas:
-- are MAC OID bytes _really_ identical (probably, but some makers have
more than one number or may use same number for more than one kind of
device)?
-- if you have multiple subnets, can you know ahead of time where in
the network (which subnet) the IP phone clients are located or do you
have a solution for this (eg., all IP phones on a single vlan)?
If you come up with some appropriate way to identify IP phones, and
figure out how to distribute IPs/netmasks, one of the available
test/assign examples in the docs above should work. You might
want/need to sniff the packets on the wire as the phones come up and
send dhcp requests. Ethereal is good for this (or tcpdump if you can
read the output

.
hth,
prg