nedd help with option 150

Tom Greaser tgreaser at hsc.wvu.edu
Fri Jul 28 12:23:02 UTC 2006


here is what my voip stuff looks like
in global i have
option option-150 code 150 = array of ip-address;         ## notice its
an array.

under my groups i have
option tftp-server-name "10.2.2.11";         #  keep this in here..
just incase...
option option-150 10.2.2.11, 10.2.2.7;





>>> Schachmann <schachmann at gmx.de> 7/28/2006 7:54:27 AM >>>
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.
                            ^
/var/lib/dhcp///etc/dhcpd.conf line 43: expecting string.
option tftp-server-name 10.
                        ^
Configuration file errors encountered -- exiting


can anyone help me?

Thanks a lot!
 Peter



More information about the dhcp-users mailing list