Hi Michael,

Rolling your own dnsmasq.conf is a non-trivial matter and possibly would make 
the Network tab confusing if many things no longer worked.

Over all the years, I don't recall having particular DHCP options set on a 
"data" LAN subnet has ever proven to be an issue.

As Christopher reported, even if a device (Intel NUC) had PXE booting ahead of 
Disk booting it should still work, of course having Disk ahead of PXE would be 
best.

Regardless what the DHCP response contains, it is up to the client 
configuration what it does with them.

Lonnie
 


On Jun 14, 2017, at 5:47 PM, Michael Knill <michael.kn...@ipcsolutions.com.au> 
wrote:

> Hi Lonnie
> 
> Im not sure that Option 66 is actually the issue here now I have done further 
> testing however I would certainly rather not be sending out this Option at 
> all.
> Unfortunately you can only add or change items with dnsmasq.static, you 
> cannot remove them.
> 
> Looks like the best option is to roll my own.
> 
> Thanks everyone for your help.
> 
> Regards
> Michael Knill
> 
> -----Original Message-----
> From: Lonnie Abelbeck <li...@lonnie.abelbeck.com>
> Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net>
> Date: Thursday, 15 June 2017 at 12:07 am
> To: AstLinux List <astlinux-users@lists.sourceforge.net>
> Subject: Re: [Astlinux-users] Dnsmasq, TFTP Option 66 and PXE Boot
> 
> Michael,
> 
> First, I have never heard of an issue like this.
> 
> The DHCP option 66 is sent regardless if the TFTP server is enabled or not, 
> as it can be used for HTTP and HTTPS services as well.
> 
> Can't you disable PXE booting in the BIOS of your Intel NUC’s ?  It would 
> seem to me that is where the problem is.
> 
> Lonnie
> 
> 
> 
> On Jun 14, 2017, at 12:27 AM, Michael Knill 
> <michael.kn...@ipcsolutions.com.au> wrote:
> 
>> So is my only option here to maintain my own copy of dnsmasq.conf or is 
>> there a better way e.g. edit the init process to remove the TFTP options?
>> Maybe a TFTP checkbox on the Network Tab against the interface or something 
>> similar?
>> 
>> Regards
>> Michael Knill
>> 
>> -----Original Message-----
>> From: Michael Keuter <li...@mksolutions.info>
>> Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net>
>> Date: Thursday, 8 June 2017 at 8:55 pm
>> To: AstLinux List <astlinux-users@lists.sourceforge.net>
>> Subject: Re: [Astlinux-users] Dnsmasq, TFTP Option 66 and PXE Boot
>> 
>>> Am 08.06.2017 um 10:33 schrieb Michael Knill 
>>> <michael.kn...@ipcsolutions.com.au>:
>>> 
>>> Yes I thought about tags but really I would rather is not be sent at all.
>>> Any other options for doing this?
>>> 
>>> Regards
>>> Michael Knill
>> 
>> I have not tested how setting to null behaves:
>> 
>> dhcp-option=lan,option:tftp-server,""
>> 
>> Needs to be tested.
>> 
>>> -----Original Message-----
>>> From: Michael Keuter <li...@mksolutions.info>
>>> Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net>
>>> Date: Thursday, 8 June 2017 at 6:20 pm
>>> To: AstLinux List <astlinux-users@lists.sourceforge.net>
>>> Subject: Re: [Astlinux-users] Dnsmasq, TFTP Option 66 and PXE Boot
>>> 
>>>> Am 08.06.2017 um 09:48 schrieb Michael Knill 
>>>> <michael.kn...@ipcsolutions.com.au>:
>>>> 
>>>> Hi Michael
>>>> So I already have enable-tftp=eth1.100,tun0 and the data interface is 
>>>> eth1. I think this command is for turning ON TFTP when DHCP is turned OFF.
>>>> /etc/dnsmasq.conf has the tftp-server option included so I assume that it 
>>>> will still be there.
>>>> 
>>>> Is there any way I can look at the actual config? 
>>>> I think I might plug a machine in and really see what I am getting. 
>>>> 
>>>> Regards
>>>> Michael Knill
>>> 
>>> OK, there might be another way around this with tags.
>>> E.g.:
>>> 
>>> ----
>>> dhcp-mac=set:yealink,00:15:65:*:*:*
>>> dhcp-mac=set:phones,00:15:65:*:*:*
>>> dhcp-option=tag:yealink,option:tftp-server,"http://192.168.102.1/phoneprov/yealink/";
>>> 
>>> dhcp-mac=set:snom,00:04:13:*:*:*
>>> dhcp-mac=set:phones,00:04:13:*:*:*
>>> dhcp-option=tag:snom,option:tftp-server,"http://192.168.102.1/phoneprov/snom/";
>>> 
>>> #dhcp-boot=tag:!phones,thinstation/pxelinux.0,pbx3,192.168.100.3
>>> ----
>>> 
>>> This way only "non-phones" would get the last "dhcp-boot" option
>>> You could of course make other (more useful) tags.
>>> 
>>> Just keep in mind "/etc/dnsmasq.conf" is automatically created and then 
>>> "/mnt/kd/dnsmasq.static" is included into it.
>>> 
>>>> -----Original Message-----
>>>> From: Michael Keuter <li...@mksolutions.info>
>>>> Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net>
>>>> Date: Thursday, 8 June 2017 at 5:39 pm
>>>> To: AstLinux List <astlinux-users@lists.sourceforge.net>
>>>> Subject: Re: [Astlinux-users] Dnsmasq, TFTP Option 66 and PXE Boot
>>>> 
>>>>> Am 08.06.2017 um 09:29 schrieb Michael Knill 
>>>>> <michael.kn...@ipcsolutions.com.au>:
>>>>> 
>>>>> Hi group
>>>>> 
>>>>> What is the best way to provide DHCP on an interface but turn off TFTP?
>>>>> I have some Intel NUC’s on my data VLAN and I am providing DHCP and I 
>>>>> suspect they are having bootup issues because they are trying to do a PXE 
>>>>> boot from Option 66 which is being passed to them on the data VLAN!
>>>>> 
>>>>> Can I set it to NULL e.g. dhcp-option=lan,option:tftp-server,""
>>>>> 
>>>>> Has anyone had this issue before?
>>>>> 
>>>>> Regards
>>>>> Michael Knill
>>>> 
>>>> Hi Michael,
>>>> 
>>>> from our AstLinux changelog :-)
>>>> 
>>>> -- dnsmasq, version bump to 2.68, new feature allows "enable-tftp=" to 
>>>> define allowed interfaces for TFTP.
>>>> More Info: View file "/stat/etc/dnsmasq.static" for syntax and make 
>>>> changes to "/mnt/kd/dnsmasq.static".
>>>> 
>>>> Michael
>>> 
>>> Michael
>> 
>> 
>> Michael
>> 
>> http://www.mksolutions.info
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>> 
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>> 
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to