[Dnsmasq-discuss] Restricting dhcp-range to certain MAC prefixes?
jima at beer.tclug.org
Thu Jun 14 15:12:08 BST 2007
Some shots in the dark... :-)
On Thu, 14 Jun 2007, Dermot Bradley wrote:
> Now if I change the dhcp-range line to be
> then dnsmasq will provide DHCP allocations to "unknown" Aastra devices
> as well as any existing entries in /etc/ethers.
> However I want to do this sort of thing for *multiple* vendors.
I've never tried this, but do either of these work?
(or maybe with different IP ranges...not sure)
According to the man page: "The optional network-id is a alphanumeric
label which marks this network so thatdhcp options may be specified on a
per-network basis. When it is prefixed with net: then its meaning changes
from setting a tag to matching it. Only one tag may be set, but more than
one tag may be matched." That, to me, suggests that my first suggestion
ought to work.
> Secondly, I notice that DNSMASQ recently added TFTPD functionality. I've
> been using TFTPD-HPA so far but was considering using DNSMASQ for this
> in future. However I now need some specific functionality that neither
> DNSMASQ or TFTPD-HPA provide and so I've switched to WVTFTPD. This
> functionality allows the tftpd server to map tftp filename requests to
> differing actual filenames based on the requestor's IP address.
You can't pass the filename-to-request to the client via DHCP? :-(
More information about the Dnsmasq-discuss