Basic VoIP on Router Cisco Series 2811

Anang Mansjur
3 min readApr 22, 2021

This post about prototype VoIP for Small Office Home Office.

A. Topologi

logical topology

B. Requirement :

  1. Router 2811
  2. Switch 2960
  3. IP Phone
  4. Laptop
  5. PC
  6. Voice Gateway (Home Voip) + Analog Phone

C. Configuration Router 2811

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R-VoIP

R-VoIP(config)#interface fastEthernet 0/0

R-VoIP(config-if)#ip address 172.16.10.1 255.255.255.0

R-VoIP(config-if)#no shutdown

R-VoIP(config-if)#

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

R-VoIP(config-if)#exit

R-VoIP(config)#ip dhcp pool voicelab

R-VoIP(dhcp-config)#network 172.16.10.0 255.255.255.0

R-VoIP(dhcp-config)#default-router 172.16.10.1

R-VoIP(dhcp-config)#option 150 ip 172.16.10.1

R-VoIP(dhcp-config)#exit

R-VoIP(config)#telephony-service

R-VoIP(config-telephony)#max-dn 25

R-VoIP(config-telephony)#max-ephones 25

R-VoIP(config-telephony)#ip source-address 172.16.10.1 port 2000

R-VoIP(config-telephony)#auto assign 1 to 25

R-VoIP(config-telephony)#exit

R-VoIP(config)#ephone-dn 1

R-VoIP(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up

R-VoIP(config-ephone-dn)#number 6000

R-VoIP(config-ephone-dn)#exit

R-VoIP(config)#ephone-dn 2

R-VoIP(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up

R-VoIP(config-ephone-dn)#number 7000

R-VoIP(config-ephone-dn)#exit

R-VoIP(config)#ephone-dn 3

R-VoIP(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up

R-VoIP(config-ephone-dn)#number 8000

R-VoIP(config-ephone-dn)#exit

R-VoIP(config)#ephone-dn 4

R-VoIP(config-ephone-dn)#%LINK-4-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up

R-VoIP(config-ephone-dn)#number 9000

R-VoIP(config-ephone-dn)#exit

R-VoIP(config)#do wr

D. Configuration Switch 2940

Switch>enable

Switch#hostname SW-VoIP

SW-VoIP#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

SW-VoIP(config)#interface range fastEthernet 0/1–25

SW-VoIP(config-if-range)#switchport mode access

SW-VoIP(config-if-range)#switchport voice vlan 1

SW-VoIP(config-if-range)#exit

Switch(config)#do wr

E. Extension Client (All Device Client).

  1. Check Extension Laptops
Extension 6000 Assign to PC

2. Check Extension IP Phone

Extension 7000 Assign to IP Phone

3. Check Extension Phone Analog

Extension 8000 Assign to IP Phone

4. Check Extension PC

Extension 9000 Assign to IP Phone

F. Test Call All Extension

  1. Extension 6000 (Laptop) Call to Extension 7000 (IP Phone)
try call 6000 to 7000
extension 6000 Connected with 7000

2. Extension 8000 (Voip Home x Phone Analog) Call to Extension 9000 (PC)

try call 8000 to 9000
extension 8000 connected with 9000

*And try call to other extension number for make sure all device running well.

--

--

Anang Mansjur
0 Followers

Information Technology Enthusiast