Chad wrote:
> Does anyone know if it is possible to assign a certain range of IP
> numbers to a certain range of MAC addresses? I'm not sure if this is
> possible but I don't see why it wouldn't be. I need to do it so that
I
> can have my IP Phones on a different scope than my PC's. I don't
wanna
> manually enter them as reservec clients as this would take forever.
> Thanks,
> Chad
I started to respond earlier till I realized that I had no way of
finding out how your IP phones are connected (ethernet, wireless?),
what brand/model phone you have, and what if anything the maker reveals
about its initializtion process. It sounds like -- but you don't say
-- that you are trying to use dhcp to _assign_ them IPs. Is it even
possible? Or are you trying to _avoid_ assigning to other, dynamically
assigned, nics the IPs used by the IP phones?
If -- a big if -- you are assigning the phones dynamic IPs via dhcp,
then the _phone_ must send the dhcp server some kind of
client-identifier. The phone may do this already. Check the phones
docs for what they send in a lesae request. No docs? Sniff the wire
and read the packets. What are they sending that would identify them?
Read the man pages for all the dhcp related entries. Things like:
dhcpd
dhcpd.conf
dhclient
dhclient.conf
dhcpcd
dhcpcd.conf
dhcp-options
Which ones you have will depend on your distro and what dhcp software
you are running. I use ISC software, so ymmv.
Once you have an identifier that will work use a class statement (or
equivalent) together with a match expression in the dhcpd.conf. This
can be made to work in the second case mentioned above also.
hth,
prg
email above disabled
|