[Dnsmasq-discuss] dhcp-proxy and mac address
Cristiano Cumer
ccumer at inf.unibz.it
Wed Jul 28 19:00:26 BST 2010
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?
>
> Cristiano
>
> On Jul 28, 2010, at 1:32 AM, Cristiano Cumer wrote:
>
>> Hello,
>>
>> its possible to enable the dhcp-proxy function only for specific mac address? I have some windows dhcp servers already configured for network boot to citrix provisioning servers, but sometimes I need to perform other kinds of network boots, and I can't change the windows dhcp settings. Dhcp-proxy works perfectly but it changes the network boot behavior for all my devices, so the question is: it's possible to specify a list of mac address for the proxy function?
>>
>> Thanks in advance
>>
>> Cristiano
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list