6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
Edson Edson Vuma Vum a I want to grow gr ow on the t he IT area and always always learn learn more m ore about my m y interested areas. stay updated via rss
Configuring Dial-Peers Dial-Peers on Packet P acket Tracer Tracer Posted: June 23, 2014 in Networking Tags: cisco , cucme , dial-peer , edsonvuma , packet tracer , SIP , VoIP 10
(hp://click.linksynergy.com/fs-bin/click?id=03zyLky8/2M&offerid=396240.1 (hp://click.linksynergy.com/fs-bin/click?id=03zyLky8/2M&offerid=396240.1 7&type=4&subid=0) Hi, Guys. Hope you all are feeling all right. So, assuming that you have successfully practiced the basic configs (hps://edsonvuma.wordpress.com/2013/06/10/configuring-voip-basic-level_packe (hps://edsonvuma.wordpress.com/2013/06/10/configuring-voip-basic-level_packe t-tracer/) of VoIP and assuming and assuming that you have read the lile brief about VoIP on the last article, today today ( ) we will be practicing about dial peers. What’s a dial peer ? Maybe you are wondering: wondering: What’s a Addressable Call Endpoint ) is a device (or not) that can originate or Well, dial peer (is the same as Addressable receive a call in a telephony network.
The term dial peer is sometimes used in reference to a program that matches a specific dialed addressable le call endpoint. sequence of digits to an addressab In the the VoIP world, dial peer peer can be categorized as either voice-network dial peer or as POTS (Plain Old Telephone Old Telephone Service). Voice-network dial peers include VoIP-capable computers, routers and Gateways within a network. OTS dial peers include traditional telephone network devices such as phone sets, cell phones and fax machines.
So, known the…basics about dial peers, let’s get to work. Here is the topology we are going to use on our lab: https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
1/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonvuma.files.wordpress.com/2014/06/topology.jpg)
TOPOLOGY TOPOLO GY DETA DETAILS: We have, for our lab (you can increase if you want), two sites: a Headquarter and a Branch. The network scheme for the headquarter is (as shown on the picture above): Voice VLAN: 50 Data VLAN: 10 Voice Network: 192.168.50.0/24 Data Networ Network k: 192.168.10.0/24
The network scheme for the branch is: Voice VLAN: 20 Data VLAN: 5 Voice Network: 172.16.20.0/24 Data Networ Network k: 172.16.5.0/24
So, lets make the configs on the HQ first . 1. On the Switch:
(hps://edsonvuma.files.wordpress.com/2014/06/switch_hq.jpg) https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
2/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
The interface fa0/1 is the one connected to the router. As we are going to configure more than one VLAN we must configure this interface as trunk to allow traffic of multiple VLANs. Next step is to create these VLANs described above:
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/vlan_hq.j 06/vlan_hq.jpg) pg) Now, we are going to assign the ports connected to the IP Phones to these VLANs (access and voice VLANs).
(hps://edsonvuma.files.wordpress.com/2014/06/int_vlan.jpg) Typical STP convergence time is around 50 secs by default, so basically every port takes around 50 secs to initialize and be in forwarding state. This is a lot of time and is not needed to be spent on the access ports of a switch. In our LAB, on the access ports where we have the IP Phones connected, so, this is why we configured the spanning-tree portfast command to disable the STP check. mak ing some configs configs on the router: router: 2. We are done on the switch, now we are making
https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
3/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/dhcp_hq.j 06/dhcp_hq.jpg) pg) We configured both VOICE and DATA DHCP pools (for IP Phones and for PC’s). We excluded some addresses on the pools just to don’t get any conflicts with some IPs we might use. On our LA L AB we only only used the firsts IPs from fr om both networks (VOICE and DAT DATA). B But, ut, we might want to use another one day. This is why I reserved 10. Now, we are configuring the sub-ifs on the router:
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/sub-if_hq.j 06/sub-if_hq.jpg) pg) Done this, we are now going to the telephony-service configurations.
(hps://edsonvuma.files.wordpress.com/2014/06/telephony_service_hq.jpg) We configured 10 maximum phones, 10 maximum phone lines, the IP address from where the telephones will be registered, the port used for the phones, the default one is 2000 (for SCCP phones) and we have set to automatically register the phones, on this case is from phone 1 to 10. Lets configure the DNs for the IP Phones which are going to be auto registered.
https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
4/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonvuma.files.wordpress.com/2014/06/ephone-dn_hq.jpg)
Done this on the HQ, we can power up the phones and wait until they are registered. In case you have forgoen how to power up on Packet Tracer, see below how:
(hps://edsonvuma.files.wordpress.com/2013/06/telefone.png)
Aer successfully registration on the HQ we are going to do the same on the Branch side. As the explanation is already mentioned, I will only insert screenshots of commands for the branch side.
Switch_Branch:
1.
https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
5/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonvuma.files.wordpress.com/2014/06/switch_hq1.jpg) 2.
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/vlan_branch. 06/vlan_branch.jpg) jpg) 3.
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/int_vlan_branch. 06/int_vlan_branch.jpg) jpg)
Router_Branch:
1.
https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
6/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/dhcp_branch. 06/dhcp_branch.jpg) jpg) 2.
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/sub-if_bra 06/sub-if_branch.j nch.jpg) pg) 3.
(hps://edsonvuma.files.wordpress.com/2014/06/telephony_service_branch.jpg) 4.
https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
7/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonvuma.files.wordpress.com/2014/06/ephone-dn_branch.jpg)
Done this on the Branch side, we can power up the phones and wait until they are registered.
As you see, the numbering scheme on HQ and on Branch side is different:
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/numbering_hq1 06/numbering_hq1.j.jpg) pg)
https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
8/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/numbering_b 06/numbering_branch.j ranch.jpg) pg)
Lets face a scenario here….Lets suppose this topology refers to a company, a “huge one” (its relative). Lets say at least 200 users on the HQ and 70 on the Branch. The users make calls from one side to another very, very oen… Can you imagine what would be the cost per month of the PSTN calls??? So this is where, in general manner, VoIP helps us saving costs and increasing productivity and collaboration.
What will be done is the configuration of dial-peer (the (the voice-network category). In order to this configuration of dial-peer to work, we must ensure that both CUCME routers have connectivity for their telephony networks. You can use serial connections, routing protocols or any other best way that suits you. For this LAB I used static routes… S o, first I created the /30 connection connection between between both routers:
(hps://edsonvuma.files.wordpress.com/2014/06/between_cucme.jpg)
On the Headquater side I configured 10.10.10.1/30:
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/ip_hq.j 06/ip_hq.jpg) pg)
On the Branch side I configured 10.10.10.2/30
https://edsonvuma.wor dpr ess.com/2014/06/23/confi g ur ur i ng -d -di al - peer s- on- packet- tr acer /
9/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/ip_branc 06/ip_branch.jpg) h.jpg)
NOTE : The only request here is that the telephony networks are reachable on both sides. But, for this LAB we can allow the connection on the DATA networks too. HQ Side:
(hps://edsonvuma.files.wordpress.com/2014/06/route_hq.jpg)
Branch Side:
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/route_branch.j 06/route_branch.jpg) pg)
We can test this connectivity…using the PC’s on our network. Click on one PC of the Headquarter side and follow the instructions as follow (in case you don’t kno know, of of cou course ). 1.
https://edsonvuma.wor dp dpr ess.com/2014/06/23/confi g ur ur in ing -d -di al al - pe peer s- on on- pa packet- tr tr ac acer /
10/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
(hps://edsonvuma.files.wordpress.com/2014/06/desktop_hq.jpg)2. (Click on the first option – IP Configuration)
(hps://edsonvuma.files.wordpress.com/2014/06/desktop2_hq.jpg) https://edsonvuma.wor dp dpr ess.com/2014/06/23/confi g ur ur in ing -d -di al al - pe peer s- on on- pa packet- tr tr ac acer /
11/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
3. Do the same for all remaining PC’s even on the PC’s of the Branch side… 4. Test connection with ping…
(hps://edsonvuma.files.wordpress.com/2014/06/ping_test.jpg) So, having the connectivity tests successfully made…we can advance to the dial-peers configurations. Whats next is….configure is….configure the dial-peer On the HQ Side:
(hps://edsonvuma.files.wordpress.com/2014/06/dial_peer_hq.jpg)
1. We can have as many dial peer as we we want want (there (there is a limitati limitation on o off course course configured has the ID 1
https://edsonvuma.wor dp dpr ess.com/2014/06/23/confi g ur ur in ing -d -di al al - pe peer s- on on- pa packet- tr tr ac acer /
), this one
12/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
2. destination-paern is wher wheree we we set set the…de the…desti stinatio nation n paern paern ( ). As As you might remembe remember, r, the numbering scheme for the Branch Office is: x000 and for the HQ side is: x0. configured the destination-pa destinat ion-paern ern as “.000” on the HQ side? side? You may be wondering, why we configured
This was made because we expect different numbers (only on the first digit) on the same paern. or example:
If I dial 1000, the call will be routed to this dial-peer we configured. If I dial 2000 it will be routed to this dial-peer too (specifically this dial peer impacts the 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000 and 9000 numbers). But, if I dial something like “1001” the call wont be routed because there is no destination-paern configured on our router. Take time to read a lile bit of the dial-peer destination-paern commands here (hp://ciscovoice (hp://ciscovoiceguru.com/210/ guru.com/210/dial dial-pee -peer-commands r-commands/). /). 3. session target ipv4:A.B.C.D represents the next hop for the paern we have created. On this case, is the address of the Branch CUCME router (from HQ to Branch).
Make the reverse on the Branch side (configuring a dial-peer with a destination paern for the HQ numbering scheme). scheme).
(hps://edsonv (hps://edsonvuma.files uma.files.w .word ordpre press.com/2014/ ss.com/2014/06/dial_pee 06/dial_peer_branch. r_branch.jpg) jpg) So this is it…that was the last step…in terms of configurations. Taking a closer look at the numbers of our IP Phones, from HQ and Branch , resp respect ectiv ivel ely y.
(hps://edsonvuma.files.wordpress.com/2014/06/ip_phones.jpg) https://edsonvuma.wor dp dpr ess.com/2014/06/23/confi g ur ur in ing -d -di al al - pe peer s- on on- pa packet- tr tr ac acer /
13/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
The only only thing le is…TEST is…TES T what what we have done…(I’m done…(I’m shak shaking ing :) ). So, lets make this call from on site to another… 1.
(hps://edsonvuma.files.wordpress.com/2014/06/ip_phones2.jpg) 2.
(hps://edsonvuma.files.wordpress.com/2014/06/connected.jpg)
So, this is it….its over…for now. Hope you finish successfully the configurations. As you may know, Packet Tracer is VERY limited…only allows us to do the basics…but its a great, great, great tool to get started.
https://edsonvuma.wor dp dpr ess.com/2014/06/23/confi g ur ur in ing -d -di al al - pe peer s- on on- pa packet- tr tr ac acer /
14/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
Any doubts, you can post here your comments so that anyone can see it or you can send me an email: edson edsonvu vuma1@
[email protected] gmail.com (mailto:edson (mailto:edsonvu vuma1@g
[email protected]) mail.com) See you soon…. Don’t forget the moo: EVERYONE TEACH ONE Don’t forget to share it…
(hp://click.linksynergy.com/fs-bin/click? id=03zyLky8/2M&offerid=396240.13&type=4&subid=0) Cisco Learning Network Network Store S tore (hp://click.linksynergy (hp://click. linksynergy.com/fs-bin/click? .com/fs-bin/click? id=03zyLky8/2M&offerid=396240&type=3&subid=0) Warm regards, Edson Vuma (hp://ww (hp: //www w.linkedin.com/in/ .linkedin.com/in/eds edsonvuma/) onvuma/)
Comments edsoncongolo says: June June 24, 2014 at 6:20 am am Congrats Vuma, everything is highly detailed, is a nice article for beginners regards Reply Edson Vuma says: June June 24, 2014 at 8:15 am Hi, Edson Congolo. https://edsonvuma.wor dp dpr ess.com/2014/06/23/confi g ur ur in ing -d -di al al - pe peer s- on on- pa packet- tr tr ac acer /
15/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
Thanks for your time and feedback on this article. Warm regards /EV Reply bilunov77 says: June June 27, 2014 at 9:44 am am Reblogged this on Dirigeant.societe.com. Reply Edson Vuma says: July July 29, 2014 at 8:15 am Hi, Bilunov77
Thanks for the reblogging.. Warm regards, Edson Vuma Reply eata says: March 13, 2015 at 10:07 am thanks for telling so wonderfully Reply Edson Vuma says: March 16, 2015 at 9:34 am Hi, Eata.
Thanks for the feedbac feedback. k. /EV Reply malic says: May 10, 2015 at 3:45 pm i have tried everything but i cantg get ip address on my ip phones Reply Edson Vuma says: May 11, 2015 at 10:02 am Hi, Malic
Thanks for your time. Can you kindly share your .PKT file so that I can give a look? Warm regards, Edson Vuma Reply https://edsonvuma.wor dp dpr ess.com/2014/06/23/confi g ur ur in ing -d -di al al - pe peer s- on on- pa packet- tr tr ac acer /
16/17
6/4/2016
Confi g ur i ng Di al - Peer s on Packet Tr acer | Edson Vuma
Rogerio says: June June 2, 2015 at 7:06 pm pm ican’t get ip address on my ip phones too… Reply Edson Vuma says: June June 3, 2015 at 7:00 am am Hi, Rogerio
Thanks for your time. As said before, can you kindly share your .PKT file so that I can give a look? Warm regards, Edson Vuma Reply
Blog at WordPress.com. | The Greyzed Theme.
https://edsonvuma.wor dp dpr ess.com/2014/06/23/confi g ur ur in ing -d -di al al - pe peer s- on on- pa packet- tr tr ac acer /
17/17