[Dnsmasq-discuss] DNSMASQ - Bootp / tftp help

Martin Volf mv@inv.cz
Thu, 31 Mar 2005 18:03:37 +0200


k6wn ( Dave Bloodgood ) wrote:
> The docs / config file are a little too subtle for me ( or perhaps Im more
> of a newbie than I want to believe )...anyway Ive got a mediaMVP client,
> and Im interested in having it download its image with bootp / tftp...I see
> the DHCP-BOOT parameter in the config file...
> 
> Is the 1st parameter the image name to load ?

If you are not using optional network-ids ("net:blabla"), then the answers is yes.

> Is the 2nd parameter the name of a separate tftp server ?

Yes.

> Is the 3rd parameter the ip address of the machine that is booting ( with
> image in para # 1 ) ?
> Or is 3rd parameter the ip address of the separate
> tftp server ( para # 2 ) ?

It is the ip address of a tftp server. I don't know, why there is both name 
and ip address there.

> Does Dnsmasq provide its own tftp server ?

No, it doesn't (yet?;-)
This one is quite good: http://www.kernel.org/pub/software/network/tftp/

> If I have to have a separate tftp server, what if it is running on the same
> machine as dnsmasq ?

No problem. I have both dnsmasq and tftp server on the same machine 10.1.1.1 
and I have
dhcp-boot=/image.nb,server,10.1.1.1
in dnsmasq.conf and it is working.

HTH,

-- 
Martin