Quick and dirty DHCP and TFTP Server

  • Install dnsmasq
  • Identify network device ìp link
  • set temporary static ip address ip a add 192.168.0.66/24 dev <devicename>
  • Run
    sudo dnsmasq -d -i <devicename> -p 5333 --listen-address=192.168.0.66 -K --dhcp-range 192.168.0.100,192.168.0.200,12h --enable-tftp --tftp-root=</path/to/tftp/dir/>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.