10-04-2023 05:06 PM
Having trouble configuring my IP phones as they are able to get their IPs from DHCP which is located in the layer 3 switch but aren't able to get their line numbers from the VoIP Cloud Server. Tried pinging the IPs from the layer 3 switch and the VoIP server but has failed to do so. This is all through packet tracer and I'll provide a screenshot of the network configuration. Please let me know if any other information is needed for context.
Branch1 Core Switch:
ip dhcp excluded-address 10.10.0.1 10.10.0.10
ip dhcp excluded-address 10.20.0.1 10.20.0.10
!
ip dhcp pool Data
network 10.20.0.0 255.255.255.0
default-router 10.20.0.1
option 150 ip 1.1.1.1
ip dhcp pool Voice
network 10.10.0.0 255.255.255.0
default-router 10.10.0.1
option 150 ip 1.1.1.1
!
router ospf 1
log-adjacency-changes
network 1.0.0.0 0.255.255.255 area 0
network 10.0.0.0 0.255.255.255 area 0
!
VoIP Cloud Server
interface FastEthernet0/0
ip address 1.1.1.1 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
no ip address
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
no ip address
interface FastEthernet0/0
ip address 1.1.1.1 255.0.0.0
duplex auto
speed auto
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
no ip address
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
no ip address
telephony-service
max-ephones 4
max-dn 4
ip source-address 1.1.1.1 port 2000
auto assign 1 to 4
!
11-30-2023 05:34 AM
I do not see any port configured as access port ?
all ports in your output are "encapsulation dot1Q...." is there any other switch involved ?
NB! normally a port for an IP-phone is an access port , not a vlan trunk!
with either voice vlan configured as access vlan
or a data vlan as access vlan + a voice vlan configured
the phones are Cisco IP phones ? -> they will use CDP to retrieve the voice vlan configured on the switch
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