Re: [Dnsmasq-discuss] Netbooting OS X and PXE with the same conf

2013-08-27 Thread Alex Silva
Hello,

On Sun, Jun 30, 2013 at 9:26 PM, Simon Kelley si...@thekelleys.org.ukwrote:

 On 27/06/13 11:13, Alex Silva wrote:


 Thanks for the reply. Yes, I want the exact same thing that happens with
 PXE: To send back an IP address of 0.0.0.0 and the netboot DHCP options.
 The other DHCP server in the network will return the correct IP address.
 I just can't find a way to make this work with dnsmasq.


 I'm pretty sure there is not way to make dnsmasq do that. The way PXE
 proxy works gives  that effect, but not via the mechanism of returning
 0.0.0.0 to the DHCP request.



I have returned to this and created a patch for dnsmasq that allows it to
netboot both older and newer Macs. The patch is attached to this email. An
example of configuration is:

dhcp-vendorclass=set:apple-boot,AAPLBSDPC/i386
osx-netboot=tag:apple-boot,nfs:10.2.3.181:
/imaging/netboot:NetBoot/NetBootSP0/Image.nbi/NetBoot.dmg,NetBoot/NetBootSP0/Image.nbi/i386/booter

Cheers,
-- 
Alex Queiroz
Developer
--
FileWave (Europe) GmbH
email: al...@filewave.com
Chat : asandroq (Skype)
http://www.filewave.com/


dnsmasq-osxnetboot.patch
Description: Binary data
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Netbooting OS X and PXE with the same conf

2013-06-30 Thread Simon Kelley

On 27/06/13 11:13, Alex Silva wrote:

Hello Simon,

On Wed, Jun 26, 2013 at 10:14 PM, Simon Kelley si...@thekelleys.org.uk
mailto:si...@thekelleys.org.uk wrote:



I'm not sure there is: the proxy function (ie get boot parameters
from one DHCP/PXE server, IP address from another DHCP server) is
PXE specific, I  think. Unless the Apple  boot protocol implements
the same thing somehow, what you want is not possible.



Thanks for the reply. Yes, I want the exact same thing that happens with
PXE: To send back an IP address of 0.0.0.0 and the netboot DHCP options.
The other DHCP server in the network will return the correct IP address.
I just can't find a way to make this work with dnsmasq.


I'm pretty sure there is not way to make dnsmasq do that. The way PXE 
proxy works gives  that effect, but not via the mechanism of returning 
0.0.0.0 to the DHCP request.


Cheers,

Simon.




___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Netbooting OS X and PXE with the same conf

2013-06-27 Thread Alex Silva
Hello Simon,

On Wed, Jun 26, 2013 at 10:14 PM, Simon Kelley si...@thekelleys.org.ukwrote:



 I'm not sure there is: the proxy function (ie get boot parameters from one
 DHCP/PXE server, IP address from another DHCP server) is PXE specific, I
  think. Unless the Apple  boot protocol implements the same thing somehow,
 what you want is not possible.



Thanks for the reply. Yes, I want the exact same thing that happens with
PXE: To send back an IP address of 0.0.0.0 and the netboot DHCP options.
The other DHCP server in the network will return the correct IP address. I
just can't find a way to make this work with dnsmasq.

Cheers,
-- 
Alex Queiroz
Developer
--
FileWave (Europe) GmbH
email: al...@filewave.com
Chat : asandroq (Skype)
http://www.filewave.com/
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Netbooting OS X and PXE with the same conf

2013-06-26 Thread Simon Kelley

On 25/06/13 11:20, Alex Silva wrote:

Hello list,

I am trying to use dnsmasq in an appliance that I intend to drop into
a network for network booting both OS X and PXE. I have attached the
current configuration file that I have. While it works for PXE, it does
not work for OS X. The problem seems to be with DHCP proxying, because
netbooting OS X works if I change the dhcp-range line to allocate IP
addresses in a given range. But I don't want the appliance to conflict
with the networks's authoritative DHCP server. Is there anyway this
could be done?



I'm not sure there is: the proxy function (ie get boot parameters from 
one DHCP/PXE server, IP address from another DHCP server) is PXE 
specific, I  think. Unless the Apple  boot protocol implements the same 
thing somehow, what you want is not possible.



Caveat: I know nothing of the Apple Boot protocol. so I may have missed 
something.


Simon.



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss