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

Tomato dishing out DHCP with TFTP info via dnsmasq

Discussion in 'Tomato Firmware' started by Devileyezz, May 3, 2008.

  1. Devileyezz

    Devileyezz LI Guru Member

    Hi,

    I'm trying to give out DHCP leases with option 33, supplying the IP of a TFTP server as well.

    I put dhcp-option=66,192.168.1.2 in the custom field after selecting custom as the option.

    I don't know if its working or not. Because it's supposed to give an IP to a VoIP phone and obviously send the TFTP IP as well, yet the phone is not polling the TFTP server.

    Code:
    May  2 20:41:48 unknown daemon.info dnsmasq[7140]: started, version 2.40 cachesize 150
    May  2 20:41:48 unknown daemon.info dnsmasq[7140]: compile time options: no-IPv6 GNU-getopt no-RTC no-ISC-leasefile no-DBus no-I18N no-TFTP
    May  2 20:41:48 unknown daemon.info dnsmasq[7140]: DHCP, IP range 192.168.1.2 -- 192.168.1.10, lease time 6d22h39m
    May  2 20:41:48 unknown daemon.info dnsmasq[7140]: reading /etc/resolv.dnsmasq
    May  2 20:41:48 unknown daemon.info dnsmasq[7140]: using nameserver 208.67.220.220#53
    May  2 20:41:48 unknown daemon.info dnsmasq[7140]: using nameserver 208.67.222.222#53
    May  2 20:41:48 unknown daemon.info dnsmasq[7140]: read /etc/hosts - 0 addresses
    May  2 20:41:48 unknown daemon.info dnsmasq[7140]: read /etc/hosts.dnsmasq - 2 addresses
    Please help.
     
  2. Devileyezz

    Devileyezz LI Guru Member

    Solution!

    dhcp-option=66,"192.168.1.2" in the options. You're good to go.
     
  3. HennieM

    HennieM Network Guru Member

    You'll have to use a sniffer to see what exactly gets dished out. A good one is Ethereal, which now goes by another name I can't remember.... You get Ethereal for Linux and for Windoze.
     
  4. kzrssk

    kzrssk LI Guru Member

    Wireshark
     

Share This Page