03-21-2018 11:59 PM - edited 03-08-2019 02:21 PM
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
03-22-2018 12:44 AM
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
03-22-2018 12:49 AM
03-22-2018 04:28 AM
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
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