cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2764
Views
0
Helpful
5
Replies

VOIP DHCP Pool not proper-gating to IP Phones

nexusrouter
Level 1
Level 1

Good Evening,

The IP Phones do not get their respective IP addresses from the DHCP pool, however the PC hosts managaes to get their IP addresses from the Data pool. I have written the entire configuration out for you. I have tried all kinds of variations including the IP-helper facility... to no joy.

On the CME Router

Sub-interfaces on fa0/0, too create a voice and data network.

int fa0/0.1

encapsulation dot1q  4

ip address 192.168.10.1 255.255.255.0

exit

int fa0/0.2

encapsulation dot1q 5

ip address 192.168.20.1 255.255.255.0

exit

ip dhcp exclude-address 192.168.10.1 192.168.20.1

ip dhcp pool Data

default-router 192.168.10.1

network 192.168.10.0 255.255.255.0

exit

ip dhcp pool VOIP

default-router 192.168.20.1

network 192.168.20.0 255.255.255.0

option 150 ip 192.168.20.1

exit

--------------------------------------------------------------------------------------------

On the switch...


Creation of Vlan 4 and Vlan 5 respectively

int vlan 4

int vlan 5

on all fa0/0 ports

switchport mode access

switchport access vlan 4

switchport voice vlan 5

exit

On the gigaport connecting to the Communication router

switchport mode trunk

--------------------------------------------------

IP Phones connecting to the switch are straight through as are the PC host's.

At this stage the IP phones should get their IP addresses but don't... however the PC host's manages to get their IP addresses. I also noticed that the IP Phones connected to the switch ports are navigated to the data vlan instead of the VOIP lan.

I am not included the telephony-services, ephone, mx-dn configuration,

telephony-services

ip source-address 192.168.20.1 port 2000

max-dn 10

max-ephone 10

ephone-dn 1

4001

ephone-dn 2

4002

etc etc......

The only configuration I have asertained in regards to the VOIP is below... this is not completed and in a very basic state, mainly due to not getting basic functionality with the DHCP VOIP Pool to the IP phones.

Can anyone please help????

This is all done in Packet Tracer.

5 Replies 5

andrew.prince
Level 10
Level 10

remove

ip dhcp exclude-address 192.168.10.1 192.168.20.1

and replace with

ip dhcp exclude-address 192.168.10.1 192.168.10.1

ip dhcp exclude-address 192.168.20.1 192.168.20.1

Thank you for that,

I removed those statements and put those commads in, still no joy

Hi,

Do you have CDP enabled on the switch? For IP phone to pick ip address from voice vlan you need to ensure that you have CDP enabled on the switch.

Regards

Najaf

Please rate when applicable or helpful !!!

Yes CDP option 2 is enabled on the switch for DHCP VOIP Propagation.

post the output of " show interface trunk" from the switch.