11-05-2024 01:59 PM
I have a router that is connected to a switch and the switch then has two IP phones. I already configured my router with a default gateway and OSPF routing. When I go to configure my IP phones on the router, it is saying that my default gateway (the gateway of my my router) is conflicting. How do I connect my two IP phones and assign them phone numbers so that they can call each one, when my router is already configured? Thank you for the help!
Solved! Go to Solution.
11-05-2024 02:12 PM - edited 11-05-2024 02:13 PM
Your DHCP pool on the router is not correct.
If you are using the gateway as 192.168.100.161 and mask 255.255.255.224, the network must be 192.168.100.160
!
ip dhcp pool VOICE-POOL
network 192.168.100.160 255.255.255.224
default-router 192.168.100.161
option 150 ip 192.168.100.161
!
You need to use voice vlan on the switch and you need to setup the call manager on the router if you want to play with the phone
11-05-2024 02:30 PM
PacketTracer have some tricks. You need to use the router 2811 if you want to play with phone, It is the only router that have telephony-service Configure Cisco Unified Communications Manager Express
Once you replace the router for the appropriate model, you can use below script to create the station.
This will create the station 7890 and 7891, change it to anything you want.
!
telephony-service
no auto-reg-ephone
max-ephones 6
max-dn 6
ip source-address <router IP> port 2000
!
ephone-dn 1
number 7890
!
ephone-dn 2
number 7891
!
ephone 1
device-security-mode none
mac-address <phone mac address>
type 7960
button 1:1
!
ephone 2
device-security-mode none
mac-address <phone mac address>
type 7960
button 1:2
!
One more tip, use vlan 1 for voice vlan.
11-05-2024 03:16 PM
That´s correct. Using the model I told you, you will be fine
11-05-2024 02:12 PM - edited 11-05-2024 02:13 PM
Your DHCP pool on the router is not correct.
If you are using the gateway as 192.168.100.161 and mask 255.255.255.224, the network must be 192.168.100.160
!
ip dhcp pool VOICE-POOL
network 192.168.100.160 255.255.255.224
default-router 192.168.100.161
option 150 ip 192.168.100.161
!
You need to use voice vlan on the switch and you need to setup the call manager on the router if you want to play with the phone
11-05-2024 02:20 PM
Thank you! Yes I'm using the 192.168.100.161 and mask 255.255.255.224 as my gateway. The network is 192.168.100.160
I already created the voice vlan on the switch. When I go to the router, I have not enabled a ip dhcp pool for voice. I will try that.
11-05-2024 02:30 PM
PacketTracer have some tricks. You need to use the router 2811 if you want to play with phone, It is the only router that have telephony-service Configure Cisco Unified Communications Manager Express
Once you replace the router for the appropriate model, you can use below script to create the station.
This will create the station 7890 and 7891, change it to anything you want.
!
telephony-service
no auto-reg-ephone
max-ephones 6
max-dn 6
ip source-address <router IP> port 2000
!
ephone-dn 1
number 7890
!
ephone-dn 2
number 7891
!
ephone 1
device-security-mode none
mac-address <phone mac address>
type 7960
button 1:1
!
ephone 2
device-security-mode none
mac-address <phone mac address>
type 7960
button 1:2
!
One more tip, use vlan 1 for voice vlan.
11-05-2024 02:57 PM
Thank you! I realized that my router was wrong, because when I went to enable telephony, it wasn't listed as an option. Thanks for your help!
11-05-2024 03:16 PM
That´s correct. Using the model I told you, you will be fine
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