[Dnsmasq-discuss] dhcp: mac address as "range selector"?

Lutz Pressler Lutz at Pressler.DE
Fri Feb 17 21:54:33 GMT 2006


Hello,

I have a setup with normal (workstations) and telephony devices,
which have to get adresses from different ranges/networks on the
same interface.

This does work (since 2.26) with a configuration including

  dhcp-vendorclass=tel,alcatel.noe.0
  dhcp-range=net:tel,192.168.71.2,192.168.71.5,255.255.255.248,12h
  dhcp-range=192.168.169.80,192.168.169.99,255.255.255.0,12h
  dhcp-boot=net:tel,,,192.168.70.3

Now I have the problem that SNOM telephones are not sending
any vendorclass in the requests.
I try to differenciate by ethernet address (00:04:13:*:*:*)
as a work around.
But how to select usage of the appropriate range?

  dhcp-host=00:04:13:*:*:*,net:snom,192.168.71.2

does work for a single client, but

  dhcp-host=00:04:13:*:*:*,net:snom

does not have the effect of using range and option definitions where
network-id snom matches - which I think would be a logical extension.
Is there a way to reach my goal that I don't see? If it's not possible
at the moment: Simon, would you implement it?

As a side note a related "issue": The definitions above do give "tel"
devices an address from the normal range if the "tel" range is exhausted.
I see no way to change that as it's not possible to negate network-id
usage or mapping.

Thanks,
  Lutz
 

-- 
Lutz Preßler, Göttingen, Germany 



More information about the Dnsmasq-discuss mailing list