cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2023
Views
0
Helpful
11
Replies

How to remove no ip dhcp use vrf routing

John Cheetley
Level 3
Level 3

Hi Cisco Engineers,

Cisco phones aren't getting IP addresses.

I have 2 IP ranges. 1 for voice and 1 for data.

The data range has been excluded. 

I have found entry in my script that looks strange as I don't have VRF connected.(Vpn Route Forwarding)

The entry is "no ip dhcp use vrf routing"

This entry sits above ip address exclusion ranges

Want phones to get 192.168.2.xxx range

Had a look under LAN, Switching and Routing but not find anything about this

I want to remove this entry ( as I believe this entry prohibits IP address allocation) to allow phones to get IP address

Can  any one assist please.

Thanks in advance

11 Replies 11

lpassmore
Level 1
Level 1

I doubt that that particular command is having any effect.  Refer to https://supportforums.cisco.com/discussion/10766731/no-ip-dhcp-use-vrf-connected for an explanation.

I wonder if your nat command is getting in the way somehow.  Have you done a debug ip dhcp server packet to see what is happening?

Hi lpassmore,

Thanks for the quick reply.

Not yet.  Will try tonight your suggestion.

hi,

your router config looks fine.

do you have voice VLAN configured on your switch?

vlan 3

 name VOICE

int f0/x

 switchport voice vlan 3

Thanks johnlloyd_13 for the quick reply.

Checking this. Sorry for delay.

On a separate issue. Can CUCM 7.2.1 be installed on a Cisco WRVS4400N Wireless-N Gigabit Router

Thanks,

Will check this tonight and let you know

OK  johnlloyd_13,

I will place "switchport voice vlan 3 then spanning-tree portfast on fa0/3 

And make Voice vlan to 30 (as this shows on router side for vlan)

Hi johnlloyd_13,

vlan 3 has Voice on fa0/3 only. 

Hi lpassmore,

Output of command

See attachment

I can see the issue is that the DHCP requests seem to be coming from Interface F0/0

Mar  1 22:38:16.510: DHCPD: DHCPREQUEST received from client 0100.1795.708e.67.
Mar  1 22:38:16.514: DHCPD: Finding a relay for client 0100.1795.708e.67 on interface FastEthernet0/0.

This has the IP address 192.168.0.12/24 for which there is no scope on your router and no ip helper-address.

Your Voice VLAN Pool seems to be for 192.168.2.0/24 and this refers to Int F0/1.3 (dot1Q tag 3)

Check the Voice VLAN on the switch is 3 (not 30 like it says in the description) and where that is connected to the router

This line is also a little troubling since you seem to want to point your phones to that for their config.  This is also the address of F0/0

Mar  1 22:38:03.946: %IP-4-DUPADDR: Duplicate address 192.168.0.12 on FastEthernet0/0, sourced by 000c.2915.4054

LP

Hi lpassmore.

Yes. Router ip is 192.168.0.12

Voice vlan pool is 192.168.2.0/24

There are 2 lots of voice vlan command strings

1 for int fa0/3 and 1 for int vlan2 as below shows...

FastEthernet0/3

description Voice
duplex full
switchport voice vlan 30
spanning-tree portfast

Beneath this is ..

interface VLAN2
description Voice vlan 20
ip address 10.0.0.1 255.255.255.0
ip directed-broadcast
no ip route-cache
shutdown

Unless you want me to provide switch config..

Thanks again ... :) ..

And ATM. I have once again lost telnet access to router..Tried putty but not work again..