1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomato DHCP server with PXE boot server

Discussion in 'Tomato Firmware' started by schnappi, Sep 3, 2014.

  1. schnappi

    schnappi Serious Server Member

    Is the following all that needs to be added to the Dnsmasq custom configuration in order to use Tomato as the DHCP server?

    next-server SERVER IP;
    filename "pxelinux.0";
     
  2. koitsu

    koitsu Network Guru Member

    The answer is no. What you have pasted is obviously taken from ISC's DHCP server configuration (e.g. dhcpd.conf) -- I can tell just from arguments and syntax (and yes I know what they do, I have a lot of familiarity with TFTP and PXE booting, if this documentation I wrote isn't proof :) ).

    For dnsmasq, you need to look at the pxe-service directive per the dnsmasq documentation. You'll need to run your own TFTP server somewhere (on wherever "SERVER IP" is), otherwise consider using dnsmasq's internal TFTP server and look into the tftp-* directives for configuring how the TFTP server piece can be used to serve files.

    But all in all, these are questions for the dnsmasq mailing list and are not Tomato-specific questions.
     
  3. schnappi

    schnappi Serious Server Member

  4. rs232

    rs232 Network Guru Member

    For TFTP booting this is all I use in dnsmasq:

    Code:
    dhcp-boot=pxelinux.0,,192.168.1.4
    Where .4 is the address of the TFTP hosting syslinux in my case
     
    koitsu likes this.

Share This Page