nedd help with option 150

Allie M Hopkins allie at lsu.edu
Fri Jul 28 13:25:16 UTC 2006





I'm not sure about the option 150, but for the tftp-server-name the ip
should be in quotes:

option tftp-server-name "10.3.184.46";



|---------+---------------------------->
|         |           Schachmann       |
|         |           <schachmann at gmx.d|
|         |           e>               |
|         |           Sent by:         |
|         |           dhcp-users-bounce|
|         |           @isc.org         |
|         |                            |
|         |                            |
|         |           07/28/2006 06:54 |
|         |           AM               |
|         |           Please respond to|
|         |           dhcp-users       |
|         |                            |
|---------+---------------------------->
  >-----------------------------------------------------------------------------------------------------------------|
  |                                                                                                                 |
  |       To:       dhcp-users at isc.org                                                                              |
  |       cc:       (bcc: Allie M Hopkins/allie/LSU)                                                                |
  |       Subject:  nedd help with option 150                                                                       |
  >-----------------------------------------------------------------------------------------------------------------|




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