[Dnsmasq-discuss] dhcp-proxy and mac address
Simon Kelley
simon at thekelleys.org.uk
Sun Aug 1 21:45:38 BST 2010
Cristiano Cumer wrote:
> So,
>
> I have tried this config
>
> dhcp-range=tag:linux,10.10.144.0,proxy,255.255.240.0
> dhcp-range=10.10.160.0,proxy,255.255.240.0
> #dhcp-range=10.10.112.21,proxy,255.255.240.0
>
> pxe-prompt=tag:linux,"Press F8 for boot menu", 6
> pxe-service=tag:linux,x86PC,"netinstall",pxelinux,10.10.20.7
> dhcp-hostsfile=/etc/netboot/linux.conf
>
> log-dhcp
>
> but dnsmasq always replies with a PXE packet even if the mac address is unknown.
>
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 available DHCP subnet: 10.10.144.0/255.255.240.0
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 vendor class: PXEClient:Arch:00000:UNDI:002001
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 PXE(eth0) 18:a9:05:c3:f3:48 proxy
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 tags: eth0
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 broadcast response
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 sent size: 1 option: 53:message-type 02
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 sent size: 4 option: 54:server-identifier 10.7.20.21
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 sent size: 9 option: 60:vendor-class 50:58:45:43:6c:69:65:6e:74
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 sent size: 17 option: 97:client-machine-id 00:78:e6:3b:4e:27:65:df:11:bb:da:05:c3...
> Jul 28 19:56:52 sdcuti01 dnsmasq-dhcp[4697]: 147059528 sent size: 10 option: 43:vendor-encap 06:01:08:0a:04:00:50:58:45:ff
> Jul 28 19:57:00 sdcuti01 dnsmasq-dhcp[4697]: 147059528 available DHCP subnet: 10.10.144.0/255.255.240.0
> Jul 28 19:57:00 sdcuti01 dnsmasq-dhcp[4697]: 147059528 vendor class: PXEClient:Arch:00000:UNDI:002001
>
> in this case then the machine boots form the hd as it can't find/use a tftp server.
>
> It works as expected if I add dhcp-ignore=#known to the config but this is not what I want.
>
> C.
>
> On Jul 28, 2010, at 2:12 AM, Cristiano Cumer wrote:
>
>> Maybe it could work this way:
>>
>>
>> dhcp-range=tag:custompxe,10.10.160.0.proxy
>> dhcp-host=00:20:e0:3b:13:af,set: tag:custompxe
>> pxe-service=tag:custompxex86PC,"netinstall",pxelinux,10.10.160.4
>>
>> Comments?
>>
Looks like a bug. I'll work on fixing it, but it may take a week or so,
I'm away from home at the moment with only a netbook to work on.
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list