cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11785
Views
0
Helpful
3
Replies

Setting up IP Phones in Packet Tracer

NooooodleArms
Level 1
Level 1

Hello, I am a student and I currently have a project that requires us to make a topology. So I am configuring it on Packet Tracer 7.1 (I'm pretty new to it) but I encountered a problem. The IP Phone cannot obtain IP address. I have a multilayer switch and I configured it for the DHCP of the PCs in each department and assigned them to VLANS. Then I have a router on top of the multilayer then I placed a DHCP there for the phones and assigned a subinterface on VLAN 30. The switches below the multilayer have also VLANS the same as the multilayer. The PC's DHCP request is always successful, but the IP phone can't obtain an IP address from the voice pool of the router.

 

Question 1: Is there something wrong with my topology?

Question 2: How to setup the IP phones in my topology the right way?

 

File: https://drive.google.com/file/d/1y8aQEaOIuGBBTrMGbvLROG2NnZrFJI-a/view?usp=sharing

 

3 Replies 3

Deepak Kumar
VIP Alumni
VIP Alumni

Hi, 

I hope it is better to share your topology with us. We will look into the issue and will revert you. 

 

Is the CDP enabled on the switch? Is the VLAN assigned correctly? If DHCP server out of voice VLAN then did you assigned IP helper address? Did you configure DHCP option 66 (not mandatory to option IP but mandatory for registering a phone)?

 

Regards,
Deepak Kumar

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hello, I am sure that I assigned the correct VLAN other than that I haven't configured CDP or IP helper address. I will upload the file on Drive it seems that I cannot upload pkt files in here.

Hi, 

You had made a lot of mistakes in configuration. I am starting from the router. 

1. Router Interface IP is out of scope to DHCP Server Pool.

You were assigned the IP 192.168.30.65 to router interface and your pool configuration as:

ip dhcp pool VOICE

network 192.168.30.0 255.255.255.192

Solution: Change Interface IP and assign between: 192.168.30.1 - 192.168.30.62

2. Core switch port (Uplink to the router) is in access mode but the router is having  dot1Q (Tagged VLAN) so your switch port must be trunk port and required VLAN must be allowed.

Solution: Switch port FastEthernet 0/6 change configuration as below:

interface FastEthernet0/6

switchport trunk encapsulation dot1q

switchport mode trunk

 

3. A Port between Core Switch to Switch1 is again configured as access port but it must be a trunk becuase you need to pass multiple VLANs. 

Solution: Change Port configuration on both switches.

Core Switch:

interface FastEthernet0/4

switchport trunk encapsulation dot1q

switchport mode trunk

switchport nonegotiate

 

Access Switch1:

interface FastEthernet0/1

switchport mode trunk

 

4. Access port, where Phone and Desktop connected is configured wrong:

Solution: Configuration must be like:

interface FastEthernet0/2

switchport mode access

switchport voice vlan 30

spanning-tree portfast

 

Regards,

Deepak Kumar

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
Review Cisco Networking for a $25 gift card