[Dnsmasq-discuss] PXE Menu routing

Joe Giles jgiles at joeman1.com
Tue Jun 18 17:55:23 BST 2013


Thanks Simon,

I assume, based on the information you provided, we can also filter by 
IP address and/or a range as well?

Thanks again!
Joe Giles

On 2013-06-18 2:39, Simon Kelley wrote:
> On 18/06/13 03:52, Joe Giles wrote:
>> Hi List,
>>
>> Not sure if this is possible, but would we be able to create a 
>> dnsmasq
>> config so that different mac addresses get different PXE menus?
>>
>> We have some new servers that only have a serial connection to pxe 
>> boot
>> so our graphical pxe menus just display garbage on the screen. We 
>> have
>> tested this by disabling the graphical menus and they came up fine. 
>> Only
>> problem is, we don't want to disable the graphical menus for all 
>> machines.
>>
>> So, we were wondering if its possible to create tags with mac 
>> addresses
>> to point certain machines to different pxe menus. One group would 
>> get
>> the graphical menus and the other would get just a basic text menu.
>>
>> If this is possible could you provide some examples?
>>
>> Thanks so much!
>> Joe
>>
>>
>
> It's certainly possible:
>
> set a tag for serial machines with something like
>
> dhcp-mac=set:serial, 01:02:03:04:*:*
>
> Then disable the graphical pxe-service lines with
>
> pxe-service=tag:!serial,"menu text", filename.
>
>
> Which says to use that line only when the "serial" tag is NOT set.
>
>
>
> Cheers,
>
> Simon.
>
> _______________________________________________
> 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