nedd help with option 150

John Hascall john at iastate.edu
Fri Jul 28 13:18:25 UTC 2006


> Hello,
>  i have read a lot of mailing lists about option 150 for Cisco IP Phones 
> Tftp Server
> 
> here is my Config File:
> option tftp-server code 150 = ip-address ;
> option domain-name "voip";
> option domain-name-servers 1******;
> option routers 10.******;
> default-lease-time 6000;
> ddns-update-style none;
> group {
>   host PC2 {
>     hardware ethernet 00:00:39:f2:71:8a;
>     fixed-address 10.30.0.20;
>   }
>   host 7912Phone {
>     hardware ethernet 00:16:46:0d:ee:b7;
>     option tftp-server = 10.30.0.10 ;
>     fixed-address 10.30.0.21;
> }
> 
> subnet 10.30.0.0 netmask 255.255.252.0 {
> option tftp-server-name 10.*******;
>   range 10.******** 10*********;
>   default-lease-time 6000;
>   max-lease-time 9000;
> }
> 
> error log:
> /var/lib/dhcp///etc/dhcpd.conf line 17: semicolon expected.
>     option tftp-server = 10.
>                             ^

     (drop the '=' in this line)


> /var/lib/dhcp///etc/dhcpd.conf line 43: expecting string.
> option tftp-server-name 10.
>                         ^
> Configuration file errors encountered -- exiting

    tftp-server-name != tftp-server


John


More information about the dhcp-users mailing list