[Dnsmasq-discuss] Ignoring unknown clients in Proxy DHCP mode?

Niels Basjes dnsmasq at basjes.nl
Wed Aug 26 07:53:09 BST 2009


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

-- 
Met vriendelijke groeten,

Niels Basjes



More information about the Dnsmasq-discuss mailing list