Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Edson Vuma
I want to grow on the IT area and always learn more about my interested areas.
stay updated via rss
(h p://click.linksynergy.com/fs-bin/click?id=03zyLky8/2M&oerid=396240.17&type=4&subid=0)
Hi, Guys.
Hope you all are feeling all right.
So, assuming that you have successfully practiced the basic congs
(h ps://edsonvuma.wordpress.com/2013/06/10/conguring-voip-basic-level_packet-tracer/) of VoIP
and assuming that you have read the li le brief about VoIP on the last article, today ( ) we will be
practicing about dial peers.
Maybe you are wondering: Whats a dial peer?
Well, dial peer (is the same as Addressable Call Endpoint) is a device (or not) that can originate or
receive a call in a telephony network.
The term dial peer is sometimes used in reference to a program that matches a specic dialed
sequence of digits to an addressable call endpoint.
In the VoIP world, dial peer can be categorized as either voice-network dial peer or as POTS (Plain
Old Telephone Service).
Voice-network dial peers include VoIP-capable computers, routers and Gateways within a network.
POTS dial peers include traditional telephone network devices such as phone sets, cell phones and
fax machines.
1/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/topology.jpg)
TOPOLOGY 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 Network: 192.168.10.0/24
(h ps://edsonvuma.les.wordpress.com/2014/06/switch_hq.jpg)
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
2/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/vlan_hq.jpg)
Now, we are going to assign the ports connected to the IP Phones to these VLANs (access and voice
VLANs).
(h ps://edsonvuma.les.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
congured the spanning-tree portfast command to disable the STP check.
2. We are done on the switch, now we are making some congs on the router:
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
3/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/dhcp_hq.jpg)
We congured both VOICE and DATA DHCP pools (for IP Phones and for PCs).
We excluded some addresses on the pools just to dont get any conicts with some IPs we might use.
On our LAB we only used the rsts IPs from both networks (VOICE and DATA). But, we might
want to use another one day. This is why I reserved 10.
Now, we are conguring the sub-ifs on the router:
(h ps://edsonvuma.les.wordpress.com/2014/06/sub-if_hq.jpg)
Done this, we are now going to the telephony-service congurations.
(h ps://edsonvuma.les.wordpress.com/2014/06/telephony_service_hq.jpg)
We congured 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 congure the DNs for the IP Phones which are going to be auto registered.
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
4/17
6/4/2016
(h ps://edsonvuma.les.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 forgo en how to power up on Packet Tracer, see below how:
(h ps://edsonvuma.les.wordpress.com/2013/06/telefone.png)
A er 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.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
5/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/switch_hq1.jpg)
2.
(h ps://edsonvuma.les.wordpress.com/2014/06/vlan_branch.jpg)
3.
(h ps://edsonvuma.les.wordpress.com/2014/06/int_vlan_branch.jpg)
Router_Branch:
1.
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
6/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/dhcp_branch.jpg)
2.
(h ps://edsonvuma.les.wordpress.com/2014/06/sub-if_branch.jpg)
3.
(h ps://edsonvuma.les.wordpress.com/2014/06/telephony_service_branch.jpg)
4.
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
7/17
6/4/2016
(h ps://edsonvuma.les.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.
(h ps://edsonvuma.les.wordpress.com/2014/06/numbering_hq1.jpg)
(h ps://edsonvuma.les.wordpress.com/2014/06/numbering_branch.jpg)
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
8/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/numbering_branch.jpg)
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 o en
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.
(h ps://edsonvuma.les.wordpress.com/2014/06/between_cucme.jpg)
(h ps://edsonvuma.les.wordpress.com/2014/06/ip_hq.jpg)
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
9/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/ip_branch.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:
(h ps://edsonvuma.les.wordpress.com/2014/06/route_hq.jpg)
Branch Side:
(h ps://edsonvuma.les.wordpress.com/2014/06/route_branch.jpg)
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
10/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/desktop2_hq.jpg)
3. Do the same for all remaining PCs even on the PCs of the Branch side
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
11/17
6/4/2016
3. Do the same for all remaining PCs even on the PCs of the Branch side
4. Test connection with ping
(h ps://edsonvuma.les.wordpress.com/2014/06/ping_test.jpg)
So, having the connectivity tests successfully madewe can advance to the dial-peers
congurations.
Whats next is.congure the dial-peer
On the HQ Side:
(h ps://edsonvuma.les.wordpress.com/2014/06/dial_peer_hq.jpg)
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
), this one
12/17
). As you might remember, the
6/4/2016
2. destination-pa ern is where we set thedestination pa ern ( ). As you might remember, the
numbering scheme for the Branch Oce is: x000 and for the HQ side is: x0.
You may be wondering, why we congured the destination-pa ern as .000 on the HQ side?
This was made because we expect dierent numbers (only on the rst digit) on the same pa ern.
For example:
If I dial 1000, the call will be routed to this dial-peer we congured. If I dial 2000 it will be routed to
this dial-peer too (specically 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-pa ern
congured on our router.
Take time to read a li le bit of the dial-peer destination-pa ern commands here
(h p://ciscovoiceguru.com/210/dial-peer-commands/).
3. session target ipv4:A.B.C.D represents the next hop for the pa ern 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 (conguring a dial-peer with a destination pa ern for the HQ
numbering scheme).
(h ps://edsonvuma.les.wordpress.com/2014/06/dial_peer_branch.jpg)
So this is itthat was the last stepin terms of congurations.
Taking a closer look at the numbers of our IP Phones, from HQ and Branch, respectively.
(h ps://edsonvuma.les.wordpress.com/2014/06/ip_phones.jpg)
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
13/17
6/4/2016
(h ps://edsonvuma.les.wordpress.com/2014/06/ip_phones2.jpg)
2.
(h ps://edsonvuma.les.wordpress.com/2014/06/connected.jpg)
Any doubts, you can post here your comments so that anyone can see it or you can send me an
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
14/17
6/4/2016
Any doubts, you can post here your comments so that anyone can see it or you can send me an
email: edsonvuma1@gmail.com (mailto:edsonvuma1@gmail.com)
See you soon.
Dont forget the mo o: EVERYONE TEACH ONE
Dont forget to share it
(h p://click.linksynergy.com/fs-bin/click?
id=03zyLky8/2M&oerid=396240.13&type=4&subid=0)
Cisco Learning Network Store (h p://click.linksynergy.com/fs-bin/click?
id=03zyLky8/2M&oerid=396240&type=3&subid=0)
Warm regards,
Edson Vuma (h p://www.linkedin.com/in/edsonvuma/)
About these ads (https://wordpress.com/about-these-ads/)
Comments
edsoncongolo says:
June 24, 2014 at 6:20 am
Congrats Vuma, everything is highly detailed, is a nice article for beginners
regards
Reply
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
15/17
6/4/2016
Reply
eata says:
March 13, 2015 at 10:07 am
thanks for telling so wonderfully
Reply
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
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
16/17
6/4/2016
Rogerio says:
June 2, 2015 at 7:06 pm
icant get ip address on my ip phones too
Reply
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/
17/17