Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 884
  • Last Modified:

DHCP Clients not getting leases with Cisco VLAN

I am absolutely stumped on this one.  I have a 3650 core switch with a whole heap of 2960s switches either directly connected or daisy chained one deep from the core.

We are transitioning there network into VLAN's and we created a VLAN for there phones to move into by Creating VLAN 3.  VTP Status is showing the results across all switches make a change on core clients get the updates.

However we have a Microsoft Hype-V server with a NIC dedicated to VLAN 3 running DHCP to offer the phones a ip address.   Problem is that some of the phones get a lease on VLAN 3 and these are usually on the directly connected switches, but the Phones on the outer switches do not.

I ran test on the default VLAN to see if a computer would pick up a lease on the out edge switches and it does, but if you plug the phone in it does not.  Bring the phone to the core or directly connected switches and it picks up a lease straight away.

Can anyone assist I have racked my brains trying to solve this one.
0
ITSystemSol
Asked:
ITSystemSol
  • 6
  • 5
1 Solution
 
Hassan BesherCommented:
make sure that phone connect to switch ports that have sw voice-vlan 3 and your cdp is on
0
 
ITSystemSolAuthor Commented:
This vlan has just been setup as a basic VLAN with a DHCP server in it.  The Phones get a lease from DHCP with directly connected switches but anthying any further away and it does not work.
0
 
Hassan BesherCommented:
i need to see a config for sw config that is working when you connect the phone and the other sw config which doesn't work in getting ip when you connect your phone.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
ITSystemSolAuthor Commented:
Will upload asap
0
 
ITSystemSolAuthor Commented:
So I have uploaded the core switch plus the switch connected to it with workin phones and then the last config of switch with non working phones.

CDP Information on 3 Switches
CoreSwitch Port Gi1/1 --> Port Gi1/0/49 PhonesWorkingSwithc
PhonesWorking Gi1/0/51 -- Port Gi1/0/25 PhonesNotWorking
CoreSwitch.txt
PhonesNotWorking.txt
PhonesWorking.txt
0
 
Hassan BesherCommented:
DHCP server connected to which switch??
0
 
Hassan BesherCommented:
1) ensure that the switch port connected to DHCP Server is in trunk mode or in vlan 3
2) for testing puposes for now disable dhcp-snooping and arp inspection
3) ensure that ports connected to phones:
interface -----
 switchport access vlan 1
 switchport mode access
switchport voice vlan 3
spanning-tree portfast
0
 
ITSystemSolAuthor Commented:
DHCP is connected to the Core Switch

The DHCP servers switch port is in VLan 3 as I said it is a Hyper-V host with several servers on it the DHCP interface is dedicated to VLAN 3

is disable DHCP snooping and arp inspection just on core or all switches

Will try the new config on ports.
0
 
Hassan BesherCommented:
so configure the port that is connected to Hyper-v as trunk encap dot1q and disable DHCP snooping and arp inspection for all switches from phones to dhcp server just for Testing purposes and try the new config on ports.
0
 
ITSystemSolAuthor Commented:
Problem ended up being Spanning-tree root guard on the trunk ports.  When I ran the sh int trunk you could see trunks not carrying the VLAN information.  In the end I changed this option and it started working.
0
 
ITSystemSolAuthor Commented:
The issue was spanning tree root guard and once I ran no spanning tree it worked.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now