[Dnsmasq-discuss] Ignoring unknown clients in Proxy DHCP mode?
Simon Kelley
simon at thekelleys.org.uk
Tue Sep 1 20:14:12 BST 2009
Niels Basjes wrote:
> Hi Richard,
>
>>> I would like to run a Proxy DHCP (PXE) server next to the corporate DHCP server.
>>> I would also like the Pxory DHCP to ONLY respond to "my" systems and
>>> ignore everyone else.
>>>
>>> So I tried this config:
>>>
>>> domain=lan.basjes.nl,172.21.13.0/24
>>> dhcp-range=172.21.13.0,proxy
>>> dhcp-host=00:0c:29:99:4E:92,pxetest
>>> dhcp-ignore=#known
>>> pxe-service=x86PC, "Boot PXElinux", pxelinux
>>>
>>> The booting works fine .... for EVERY client.
>>>
>>> How do I correctly do the ignoring?
>
>> pxe-service=net:known, x86PC, "Boot PXElinux", pxelinux
>
> I tried our suggestion.
> The effect of this is that the client DOES receive some boot
> information. Only the menu item is held back.
> I checked with wireshark and it seems that an 'empty' PXE menu is returned.
> The VMware Server bios fails with "PXE-E76: Bad or missing multicast
> discovery address".
> Your suggestion does mean I can create tags for groups of clients and
> customize the menu by hiding/showing options. Very usefull feature
> for the future.
>
> I've also tried this:
> domain=lan.basjes.nl,172.21.13.0/24
> dhcp-range=net:known,172.21.13.0,proxy
> dhcp-host=00:0c:29:99:4E:92
> dhcp-ignore=#known
> dhcp-boot=net:known,pxelinux.0
>
> But that had the same effect as
> pxe-service=net:known, x86PC, "Boot PXElinux", pxelinux
>
Niels,
Please could you download and try
http://www.thekelleys.org.uk/dnsmasq/test-releases/dnsmasq-2.51test3.tar.gz
which should work OK with the first configuration you tried.
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list