cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
679
Views
2
Helpful
8
Replies

Phone Registration to CUCM

b45v723
Level 1
Level 1

I'm trying to setup a home lab. I have a Cisco switch and router and CUCM 10.5 running on vmware. I have two IP phones a 7962 and a 7942 that will get IP addresses, but wont register with CUCM. I can't ping the phones from CUCM. I can ping them from the router and switch. Any help would be appreciated.

Router:
ip dhcp pool Data
network 172.16.10.0 255.255.255.0
default-router 172.16.10.47
dns-server 8.8.8.8
!
ip dhcp pool Voice
network 172.16.20.0 255.255.255.0
default-router 172.16.20.47
option 150 ip 192.168.1.50

Switch:

interface FastEthernet0/2
switchport access vlan 10
switchport mode access
switchport voice vlan 20
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast edge
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface FastEthernet0/3
switchport access vlan 10
switchport mode access
switchport voice vlan 20
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast edge
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLIC

VLAN 10 is Data, VLAN 20 is Voice

1 Accepted Solution

Accepted Solutions

That’s why phones cannot register .

You configured 192.168.1.1 as CUCM default gateway while the router Ip is .47 on the same subnet.

Fix this by changing the IP to the router’s interface or change the default gateway on the cucm.

 

HTH

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

View solution in original post

8 Replies 8

Hi,

I noticed that you specified 192.168.1.50 as TFTP server which supposed to be the IP Address of the CUCM. Where this subnet is defined?

A show run of the router would help.

 

 

Thanks

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

I added the running config below:

R1#sh run
Building configuration...


Current configuration : 3232 bytes
!
! Last configuration change at 14:10:23 CST Fri Jan 12 2024 by admin
! NVRAM config last updated at 14:26:45 CST Fri Jan 12 2024 by admin
! NVRAM config last updated at 14:26:45 CST Fri Jan 12 2024 by admin
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$1/4M$geIYjAj4vHX5wDyAWR7cH.
!
no aaa new-model
no process cpu extended history
no process cpu autoprofile hog
clock timezone CST -6 0
clock summer-time CDT recurring
!
no ipv6 cef
ip source-route
ip cef
!
!
!
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 172.16.10.47
!
ip dhcp pool VOIP
network 172.16.0.0 255.255.0.0
!
ip dhcp pool Data
network 172.16.10.0 255.255.255.0
default-router 172.16.10.47
dns-server 8.8.8.8
!
ip dhcp pool Voice
network 172.16.20.0 255.255.255.0
default-router 172.16.20.47
option 150 ip 192.168.1.50
!
!
no ip domain lookup
ip domain name labvg.com
multilink bundle-name authenticated
!
!
!
crypto pki token default removal timeout 0
!
!
voice-card 0
!
!
!
voice service voip
no ip address trusted authenticate
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface g0/0
bind media source-interface g0/0
registrar server expires max 600 min 60
!
!
!
license udi pid CISCO2921/K9 sn FTX1703AMC5
license boot module c2900 technology-package uck9
!
!
redundancy
!
!
ip ssh version 2
ip ssh pubkey-chain
username admin
quit
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
no cdp enable
!
interface GigabitEthernet0/0
description "Link to ISP"
ip address 192.168.1.47 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
pppoe enable group global
no mop enabled
!
interface GigabitEthernet0/1
ip address 172.16.1.47 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
no cdp enable
!
interface GigabitEthernet0/1.10
encapsulation dot1Q 10
ip address 172.16.10.47 255.255.255.0
!
interface GigabitEthernet0/1.20
encapsulation dot1Q 20
ip address 172.16.20.47 255.255.255.0
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
no cdp enable
!
ip default-gateway 192.168.1.1
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source static 172.16.1.200 192.168.1.200
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
access-list 1 permit 192.168.1.0
access-list 1 permit 172.16.0.0 0.0.255.255
!
!
snmp-server community public RO
!
control-plane
!
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
!
line con 0
exec-timeout 0 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
ntp source GigabitEthernet0/0
ntp master
ntp server 129.6.15.28
end

Ok thanks for the configuration.

now.. which default gateway did you configure on CUCM? 

On router please do a show ip route and post the output here 

 

Thanks

 

Regards

 

Carlo

 

Please rate all helpful posts "The more you help the more you learn"

admin:show network eth0
Ethernet 0
DHCP : disabled Status : up
IP Address : 192.168.1.50 IP Mask : 255.255.255.000
Link Detected: yes Mode : Auto disabled, Full, 1000
Mbits/s
Duplicate IP : no

DNS
Not configured.
Gateway : 192.168.1.1 on Ethernet 0

R1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static
route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override

Gateway of last resort is 192.168.1.1 to network 0.0.0.0

S* 0.0.0.0/0 [1/0] via 192.168.1.1
172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
C 172.16.1.0/24 is directly connected, GigabitEthernet0/1
L 172.16.1.47/32 is directly connected, GigabitEthernet0/1
C 172.16.10.0/24 is directly connected, GigabitEthernet0/1.10
L 172.16.10.47/32 is directly connected, GigabitEthernet0/1.10
C 172.16.20.0/24 is directly connected, GigabitEthernet0/1.20
L 172.16.20.47/32 is directly connected, GigabitEthernet0/1.20
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, GigabitEthernet0/0
L 192.168.1.47/32 is directly connected, GigabitEthernet0/0

That’s why phones cannot register .

You configured 192.168.1.1 as CUCM default gateway while the router Ip is .47 on the same subnet.

Fix this by changing the IP to the router’s interface or change the default gateway on the cucm.

 

HTH

 

Regards

 

Carlo

Please rate all helpful posts "The more you help the more you learn"

That fixed it, thank you!

I updated CUCM's default gateway to the router ip .47 and phones registered.

Even if this works to me it looks wrong to have the CM in the same IP network as you use for the connection with your ISP. I would suggest that you change the IP configuration in CM and the switch port configuration where this is connected to use a different vlan so that your CM is place on an inside network.



Response Signature


Thank you for the suggestion. That will definitely be my next step. My main
goal was just getting it in a working state. The networking side of things
is fairly new to me, so I'm slowly piecing it together.