Configure DHCP on Router and handle VoIP phones

This how to is a continuation of  the previous here . The VoIP configured PacketTracer file can be downloaded from here.

VLAN4

In this how to the router will be configured to also act as a DHCP server. Also the VLAN 150 will converted to be able to handle telephony. Also some minor changes will be done on the switch it self in order for it to handle telephony data. Next on some of the commands below are comments to explain what each command does.

Configure DHCP on the router.

 
configure  terminal 
name of your IP Pool
network 192.168.150.0 255.255.255.0
default-router  192.168.15.1
option 150 ip 192.168.150.1  #set raw DHCP options. the 150 is for telephony.
end

Configure the router to understand Telephony data

 
telephony-service
max-dn 10 #Maximum directory numbers
max-ephones 10 #Maximum phones to support
ip source-address 192.168.150.1 port 2000  #The network IP and the default port used.
auto assign 1 to 9 #Automatically assigns ext number to buttons
end

On the switch Re-configure VLAN-150 from Access port to Voice port and assign port 20 to a phone

 
interface FastEthernet 0/20
switchport mode access
no switchport access vlan 150
switchport voice vlan 150 

Configure the router to assign a dial number to the phone

 
ephone-dn 1 #Configure phone number 1, 2....n etc 
number 62001 #give this extension number to the phone
Share Button