02-16-2013 03:07 AM - edited 03-18-2019 12:36 AM
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.
03-05-2013 05:36 AM
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
03-05-2013 06:43 AM
Thank you for that,
I removed those statements and put those commads in, still no joy
03-05-2013 06:51 AM
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 !!!
03-05-2013 09:11 AM
Yes CDP option 2 is enabled on the switch for DHCP VOIP Propagation.
03-05-2013 09:31 AM
post the output of " show interface trunk" from the switch.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide