Telephony · Lesson 3 of 4
DHCP for the Voice VLAN: Option 150, Option 66 and ip helper
The phone is already in the voice VLAN. Now it needs an IP and to know where to download its configuration from.
In a nutshell
The voice VLAN needs its own DHCP pool. Besides IP and gateway, the phone receives the address of the call server TFTP server (option 150 on Cisco or option 66) to download its configuration.
In this lesson
What a phone needs from DHCP
- IP, mask and gateway of the voice VLAN.
- DNS (if the call server is configured by name).
- The address of the call server TFTP server (CUCM, Asterisk, etc.) to download its configuration file.
Option 150 vs option 66
| Option | What it carries | Who uses it |
|---|---|---|
| 150 | One or more TFTP server IPs | Cisco proprietary (Cisco phones) |
| 66 | A TFTP server name or IP (text) | Standard; used by most vendors |
Many networks configure both to support phones from different vendors.
Pool on a router or Layer 3 switch
R1(config)# ip dhcp excluded-address 10.150.0.1 10.150.0.10
R1(config)# ip dhcp pool VOICE
R1(dhcp-config)# network 10.150.0.0 255.255.255.0
R1(dhcp-config)# default-router 10.150.0.1
R1(dhcp-config)# dns-server 10.1.1.53
R1(dhcp-config)# option 150 ip 10.1.1.20 10.1.1.21 ← primary and secondary TFTP
R1(dhcp-config)# option 66 ascii 10.1.1.20
DHCP on another network: ip helper-address
If the DHCP server is in the data center, the voice VLAN gateway must relay DHCP broadcasts with ip helper-address. It is configured on the voice VLAN SVI or subinterface, not on the data one.
SW-CORE(config)# interface vlan 150
SW-CORE(config-if)# ip address 10.150.0.1 255.255.255.0
SW-CORE(config-if)# ip helper-address 10.1.1.67
Very common real mistake
Putting ip helper-address only on the data VLAN. PCs get an IP and phones stay at "Configuring IP".
What you must remember
- The voice VLAN needs its own DHCP pool.
- Option 150 (Cisco): TFTP IPs. Option 66 (standard): TFTP name or IP.
- ip helper-address goes on the voice VLAN gateway.
- Configure both options if you have phones from several vendors.
Check what you learned
4 exam-style questions. Some have one answer and others ask you to choose several. Answer them all to complete the lesson.