[Dnsmasq-discuss] proxy dhcp does not send dhcp-options

Simon Kelley simon at thekelleys.org.uk
Mon Apr 9 17:05:09 BST 2012


On 09/04/12 16:42, Jochen Dekeyser wrote:
> Hi,
>
> I want to use dnsmasq as a proxy dhcp at 10.40.1.100: an other
> (windows) dhcp-server is active on the network, and a want to use
> dnsmasq to send only the pxe-boot options for pxe-clients. I use the
> following config-file:
>
> listen-address=10.40.1.100
>
> port=0
>
> log-dhcp
>
> dhcp-boot=/ltsp/i386/pxelinux.0
>
> dhcp-option=3,10.40.1.100
> dhcp-option=6,10.40.1.100
> dhcp-option=15,"ltsp"
> dhcp-option=17,"10.40.1.100:/opt/ltsp/i386"
>
> pxe-prompt="Press F8 for boot menu", 3
> pxe-service=X86PC, "Boot from network", /ltsp/i386/pxelinux
> pxe-service=X86PC, "Boot from local hard disk", 0
>
> dhcp-range=10.40.1.100,proxy
>
>
> dnsmasq does not want to send the dhcp-options to the pxe-clients... I
> did check this in the logs and with Wireshark. When a use dnsmasq as
> full dhcp-server (with dhcp-range=10.40.1.150,10.40.1.200,8h instead
> of dhcp-range=10.40.1.100,proxy), it does send these dhcp-options...
>
> What am I doing wrong?

The problem might be that the option numbers in question are not being 
requested by the client. This is easy to fix by using dhcp-option-force 
intsead of dhcp-option, so  that options are sent anyway.


HTH


Simon.




More information about the Dnsmasq-discuss mailing list