Cisco Router DHCP is not accepting New DHCP leases

I have a 3845 router that has been working fine as a VOIP only, DHCP server.  I just deployed 5 new VOIP 7960 phones and neither of them could attach to the Router based DHCP (VOICE VLAN 7) server when coupled (on the switch port) with vlan 8 (data vlan), however when the switch port has vlan 9 (another data vlan) the VOIP phone is able to reach the proper router based DHCP server that supplies IP's to the VOIP phones.  

* vlan 8 has a Microsoft DHCP server that supplies IP's to the PC's...however, it is also giving IP addresses for my VOIP phones and I don't want that.

Router

VOIP VLAN                     W = FIRST OCTET
interface GigabitEthernet1/0.7
 description ///VOIP VLAN///
 encapsulation dot1Q 7
 ip address W.13.103.129 255.255.255.192
 h323-gateway voip interface
 h323-gateway voip bind srcaddr W.13.103.129
 service-policy input Voice-Remark



DHCP SERVER on router

ip source-route
ip dhcp binding cleanup interval 10
ip dhcp excluded-address W.13.103.129
ip dhcp excluded-address W.13.103.130
!
ip dhcp pool VOIP
   network W.13.103.128 255.255.255.192
   option 150 ip W.13.103.129
   default-router W.13.103.129


SAMPLE SWITCH PORT

interface FastEthernet0/5   (this VOIP should pick up a vlan 7 ip but it picks up a Vlan 8 instead)
 switchport access vlan 8
 switchport mode access
 switchport voice vlan 7
 speed 100
 duplex full
 spanning-tree portfast

I have 62 total ip's in my dhcp scope, and I have 28 leases still available
GW-RTR#sh ip dhcp pool

Pool VOIP :
 Utilization mark (high/low)    : 100 / 0
 Subnet size (first/next)       : 0 / 0
 Total addresses                : 62
 Leased addresses               : 34
 Pending event                  : none
 1 subnet is currently in the pool :
 Current index        IP address range                    Leased addresses
 W.13.103.163       W.13.103.129   - W.13.103.190    34
W = first octet
Summary : I have two problems

1. when the VOIP phones look for a IP it should go to the Router DHCP (W.13.103.129 255.255.255.192) - instead it finds its IP from the Microsoft server DHCP and will not find the Cisco Call manager

2. Not mentioned above  I have several 7960 phones and I can do the factory reset on them all except this new batch, on these new 7960 phones I can't do  a factory reset ....below is what mean by a factory reset


From CISCO website

Reset the 7940 and 7960 IP Phones to the Factory Default
In order to perform a factory reset of a phone if the password is set, complete these steps:

Unplug the power cable from the phone, and then plug in the cable again.

The phone begins its power up cycle.

Immediately press and hold # and while the Headset, Mute, and Speaker buttons begin to flash in sequence, release #.

The Headset, Mute, and Speaker buttons flash in sequence in order to indicate that the phone waits for you to enter the key sequence for the reset.

Press 123456789*0# within 60 seconds after the Headset, Mute, and Speaker buttons begin to flash.


If you can help I would appreciate it

Thanks


 
jonas_pinaAsked:
Who is Participating?
 
Don JohnstonConnect With a Mentor InstructorCommented:
Sigh... No offense, but garbage in, garbage out.

In your OP, 34 addresses are allocated out of the pool. What devices have those addresses?

>on these new 7960 phones I can't do  a factory reset  ....below is what mean by a factory reset

What happens when you attempt to do a factory reset on the phone?

Does this issue only exist on the new phones?

Have you tried the phones with this problem on a port that is working correctly?

0
 
Don JohnstonInstructorCommented:
Please post the config of the VLAN7, VLAN8 and VLAN9 interface.
0
 
jonas_pinaAuthor Commented:
W = FIRST OCTET ...ITS THE SAME NUMBER ON ALL INTERFACES

interface GigabitEthernet1/0.7
 description ///VOIP VLAN///
 encapsulation dot1Q 700
 ip address W.13.103.129 255.255.255.192
 ip helper-address W.13.116.6
 h323-gateway voip interface


interface GigabitEthernet1/0.8
 description ///FOB DATA VLAN///
 encapsulation dot1Q 8
 ip address W.13.116.1 255.255.255.128
 ip nbar protocol-discovery
 service-policy input Data-Remark


interface GigabitEthernet1/0.9
 description ///DATA-VOICE VLAN///
 encapsulation dot1Q 99
 ip address W.27.83.1 255.255.255.128
 ip helper-address W.13.116.6
 ip nbar protocol-discovery
 service-policy input Data-Remark

0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Don JohnstonInstructorCommented:
On the switchport interface, issue the command "no switchport mode access".

0
 
jonas_pinaAuthor Commented:
Sure, but wont that keep my PC's from getting to VLAN 8?

eXAMPLE

interface GigabitEthernet1/0/3
 switchport access vlan 8
 switchport mode access
 switchport voice vlan 7
 speed 100
 duplex full
 spanning-tree portfast
0
 
Don JohnstonInstructorCommented:
No. When you connect a phone (with a PC port) to a switch, a trunk is needed to carry both VLANs.
0
 
jonas_pinaAuthor Commented:
Ok I pulled the " switchport mode access " out of the port to get the following

interface FastEthernet0/5
 switchport access vlan 8
 switchport voice vlan 7
 speed 100
 duplex full
 spanning-tree portfast

And I am still pulling a DHCP from the wrong scope.  I should be pulling  from the following range
W.13.103.129   - W.13.103.190 (this range is on my router DHCP)

...for some reason I am not utilizing my voice vlan 7, instead I am using the helper address on the interface for vlan 8

when I look on the phone I can see in the configuration that it sees VLAN 7 but it pulls an IP address from the scope for vlan 8

Here is the CDP nei det for that switch port

Device ID: SEP0023331A5C90
Entry address(es):
  IP address: W.13.116.25
Platform: Cisco IP Phone 7960,  Capabilities: Host Phone
Interface: FastEthernet0/5,  Port ID (outgoing port): Port 1
0
 
leegclystvaleCommented:
Sorry not had time to read all this. What about the ports on the edge switches that the phones are physically connecting to?
0
 
jonas_pinaAuthor Commented:
Here is the offending port

 interface FastEthernet0/5
 switchport access vlan 8
 switchport voice vlan 7
 speed 100
 duplex full
 spanning-tree portfast

0
 
Don JohnstonInstructorCommented:
Now I see it.

You have a helper-address on int g1/0.7

I'm guessing that's your MS DHCP server.

Remove it and you should be okay.

int g1/0.7
 no ip helper-address W.13.116.6


0
 
jonas_pinaAuthor Commented:
U caught me trying a stop gap of putting a Microsoft DHCP scope for my VOSIP.  It was only in there for about an hour and it wasn't giving out IP's for my phones anyway so I took it out.  Sorry about the confusion.

Here is the current config.  and with the same existing problems.  

interface GigabitEthernet1/0.7
 description ///VOIP VLAN///
 encapsulation dot1Q 700
 ip address W.13.103.129 255.255.255.192
 h323-gateway voip interface
 h323-gateway voip bind srcaddr W.13.103.129
 service-policy input Voice-Remark

Good Eye DonJohnston
0
 
jonas_pinaAuthor Commented:
DonJohnston

Well as you can see below I was having more problems with the phones But they just decided to fix themselves... Everything works...;.Thanks for keeping me inline DON.

Of the 34 addresses that are allocated out of the pool.  The only devices that have those addresses are VOIP phones.  

As it turns out, these new 7960 phones would not allow a factory reset until they had successfully connected to the Cisco Call manager.  Before that they simply wouldn't respond to the "hold the # button and 123456789*0# sequence"  Now that I cheated and put all of the phones on the same subnet (vlan) as the (microsoft) DHCP server.  As you might remember they were supposed to be on the Cisco Router DHCP vlan 7.  I had tried using these phones (that were not working) on other VOIP working switch ports and as long as they were on the same subnet as the Microsoft DHCP they were fine (VLAN 9) but if they were on VLAN 8 they could not connect to the cisco call manager
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.

All Courses

From novice to tech pro — start learning today.