> I'll assume that you have an other DHCP serverdishing out IP addresses.

I do and proxyDHCP is going to be my only option.

>If you want Dnsmasq to provide dhcp and PXE booting, you might want  to remove 
>'proxy' from the above range.

I mean, sure, but I'm not even to the point of worrying about PXE booting. I 
can't get a basic GET from the TFTP server which is the issue. If the TFTP 
server isn't working, then nothing else down the chain of PXE is going to work. 
I guess what I'm saying is, I'm not worried about configuring up dhcpProxy and 
PXE yet since TFTP isn't even operating correctly (and I don't know why).

amb

-----Original Message-----
From: john doe <johndoe65...@mail.com> 
Sent: Wednesday, June 9, 2021 03:25
To: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Problem with TFTP in dnsmasq

On 6/8/2021 10:54 PM, Brown, Aaron M. wrote:
> Hello all,
>
> I'm having trouble getting dnsmasq and tftp to work and I'm tearing my hair 
> out. I'm hoping someone can potentially hit me with the clue by four and 
> point out what dumb thing I'm missing.
>
> In the bigger scope, I'm trying to get PXE booting setup on a server, but at 
> the moment before I even get to anything more complicated, I'm struggling 
> just to get TFTP to work. I have set up my /etc/dnsmasq.conf file as the 
> following:
>
> interface=bond0
> port=0
> enable-tftp
> tftp-root=/tftp
> log-dhcp
> dhcp-range=<serverIPAddress>,proxy
 >

 From (1):

"Dnsmasq supports PXE "proxy-DHCP", in this case another DHCP server on the 
network is responsible for allocating IP addresses, and dnsmasq simply provides 
the information given in --pxe-prompt and --pxe-service to allow netbooting. 
This mode is enabled using the proxy keyword in --dhcp-range."

I'll assume that you have an other DHCP serverdishing out IP addresses.

 > dhcp-no-override
 >
> dnsmasq is up and running without errors. I put a simple file in /tftp called 
> "test.txt". The /tftp directory has been set to 755 permissions.
>

If you want Dnsmasq to provide dhcp and PXE booting, you might want  to remove 
'proxy' from the above range.


HTH.

1)  https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

--
John Doe


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to