[Dnsmasq-discuss] BOOTP/TFTP config
Simon Kelley
simon at thekelleys.org.uk
Fri Apr 20 19:06:01 BST 2007
David Goodenough wrote:
> I am trying to use dnsmasq (on Debian) to do BOOTP and TFTP in order to
> netboot some Microtik RB112 boards. But I am having some problems.
>
> I have the board on the other end of a USB ethernet adapter, quite
> separate from the rest of my network to keep things simple.
>
> I have configured the usb ethernet adapter to have an address of
> 192.168.6.254.
>
> In a local file I have a stripped down dnsmasq.conf which reads:-
>
> # Configuration file for dnsmasq to boot rb100
> #
>
> interface=usb-rb1xx
> dhcp-boot=vmlinux
> dhcp-host=00:05:42:08:*.*,192.168.6.1
> enable-tftp
> tftp-root=/var/lib/tftpd/rb1xx
>
> I then start dnsmasq with the following command:-
>
> sudo dnsmasq -C dnsmasq.rb100 -d
>
> But it never replies to the BOOTP request.
>
> Anyone got any ideas as to how to get this running?
>
You need to give a DHCP range, even if you only want explicitly
allocated addresses. The presence of the dhcp-range flag enables the
DHCP server for a particular subnet.
Add
dhcp-range=192.168.6.0,static
and it will fly....
Cheers,
Simon.
> David
>
> _______________________________________________
> 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