Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

DHCP option 150 and DHCP option 66



Article ID: KB16352 KB Last Updated: 02 Jul 2013Version: 2.0
This article provides an understanding for configuring option 150 and to use option 66 for EX Switches.DHCP Option 150 is Cisco proprietary. Option 66 is an IEEE standard.

For Cisco phones IP addresses can be assigned manually or by using DHCP. Devices also require access to a TFTP server that contains device configuration name files (.cnf file format), which enables the device to communicate with Cisco Call Manager.

Cisco IP Phones download their configuration from a TFTP server. When a Cisco IP Phone starts, if it does not have both the IP address and TFTP server IP address pre configured, it sends a request with option 150 to the DHCP server to obtain this information.

DHCP Option 150 is Cisco proprietary. The IEEE standard that matches with this requirement is Option 66. Like option 150, option 66 is used to specify the Name of the TFTP server.

Option 66 is an open standard juniper supports it. RFC 2132 defines option 66.

Difference between option 150 and option 66

•DHCP option 150 supports a list of TFTP servers (Multiple Server IPs)

•DHCP option 66 only supports the IP address or the hostname of a single TFTP server.

The following configuration can be used to achieve this requirement:

set system services dhcp pool boot-file test.cnf            // option 67
set system services dhcp pool next-server  // option 66

We can specify the next-server (tftp server) both globally or specific to a pool. If the next server is configured in both places then the IP specified under the pool will be used.

NOTE: Please also reference the "option" function available under the {edit system services dhcp] stanza.  The dhcp option along with byte-stream allows further option flexibility.  The "byte-stream" option is available in JUNOS software release 9.5R3 and higher.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search