You are on page 1of 4

‫مقرر شبكة مقسمات الهواتف و‬

‫الفويب‬
‫قسم االتصاالت والشبكات‪/‬الفصل‬
‫الدراسي ربيع ‪2015‬‬
‫معمل رقم (‪)2‬‬
‫‪Lab02. Connecting computers and‬‬
‫‪analog phones to a VOIP network‬‬
‫أ‪.‬علي مصطفى الشاوش‬
Overview
In this lab, we will discuss how to connect computers and analog phones to a VOIP network. So, the
computers can connect with each other and the analog phones can connect to the VoIP phone to
communicate with the local network.

Our network topology is as shown in Figure.1

Phone cable
RJ-11

Figure.1: Lab Topology

Address Table:

Device IP address Subnet Mask Default Gateway


Router 192.168.0.1 255.255.255.0 -
DHCP Server 192.168.0.0 255.255.255.0 192.168.0.1
PC1, PC2, Phone1, From DHCP server
phone2 and analogy
phone.

To connect the computers we can connect the computers directly to the switch but in the real cases the
design will install one port to the direct switch, so instead of connecting to the switch directly. The
computers will be connected to the VOIP phones using the PC-port as shown in Figures.2-3.

PCPort

Figure.2: VOIP Phone


Figure.3: Connected the PC using VOIP phone port

Where, to connect the analogy phone the VOIP device will be used. In which, the VOIP-device will be
connected to the switch and then the analogy phone will be connected to the device as shown in
Figure.4. After connecting the VOIP device to the switch try to change the server address (in the VOIP
device) to the router interface (that supported the voice packets).

Figure.4: Connected analogy phone to the VOIP network using VOIP -device

Task 01: Prepare the network

Use Router 2811 and switch 2960, two IP phones, one analogy phone, one VOIP device and two PCs.
First connect the router and the switch with one IP phone only.

Task 02: Configure the Router as follow

Step 1: Interface Setup


Router>enable
Router#configure terminal
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.0.1 255.255.255.0
Router(config-if)#no shutdown

Step 2: DHCP configuration


Router(config)#ip dhcp pool VOICE
Router(dhcp-config)#network 192.168.0.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.0.1
Router(dhcp-config)#option 150 ip 192.168.0.1

Step 3: Configure the CME


Router(config)#telephony-service
Router(config-telephony)#max-dn 10
Router(config-telephony)#max-ephones 10
Router(config-telephony)#ip source-address 192.168.0.1 port 2000
Router(config-telephony)#auto assign 1 to 10

Step 4: Configure the CME directory Phones


Router(config)#ephone-dn 1
Router(config-ephone-dn)#number 1001
Router(config)#ephone-dn 2
Router(config-ephone-dn)#number 1002

Complete for 10 DNs


Task 03: Configure the Switch

Switch(config)#int range fastEthernet 0/1-24


Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport voice vlan 1

Task 04: Connect PCs

Step 1: After configuring the router and the switch, connect the second VOIP phone to the network,
then try to call the first phone to check the configuration.

Step 2: Connect the PCs as shown in the Figure.1; configure the PCs so each Pc can take the IP address
from the DHCP server.

Step 3: Test the connection between the PCs using the Ping command.

Task 05: Connect the Analogy phone

Step 1: connect the VOIP device to the switch and connect the analogy phone to the VOIP devices as
shown in Figure.1 and Figure.4.

Step 2: Open the VOIP device and put the server IP to 192.168.0.1 (router interface that support the
Voice LAN).

Step 3: check the configuration by calling the analogy phone.

Check the whole system by using the following command

1- Command

Router # show run


Switch # show run

2- Try to call the phones to check the system.

You might also like