Sei sulla pagina 1di 17

6/4/2016

Configuring Dial-Peers on Packet Tracer | Edson Vuma

Edson Vuma
I want to grow on the IT area and always learn more about my interested areas.
stay updated via rss

Configuring Dial-Peers on Packet Tracer


Posted: June 23, 2014 in Networking
Tags: cisco, cucme, dial-peer, edsonvuma, packet tracer, SIP, VoIP
10

(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.

So, known thebasics about dial peers, lets get to work.


Here is the topology we are going to use on our lab:
https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/

1/17

6/4/2016

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(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

The network scheme for the branch is:


Voice VLAN: 20
Data VLAN: 5
Voice Network: 172.16.20.0/24
Data Network: 172.16.5.0/24

So, lets make the congs on the HQ rst.


1. On the Switch:

(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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

The interface fa0/1 is the one connected to the router.


As we are going to congure more than one VLAN we must congure this interface as trunk
to allow trac of multiple VLANs.
Next step is to create these VLANs described above:

(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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(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.

As you see, the numbering scheme on HQ and on Branch side is dierent:

(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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(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.

What will be done is the conguration of dial-peer (the voice-network category).


In order to this conguration 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
So, rst I created the /30 connection between both routers:

(h ps://edsonvuma.les.wordpress.com/2014/06/between_cucme.jpg)

On the Headquater side I congured 10.10.10.1/30:

(h ps://edsonvuma.les.wordpress.com/2014/06/ip_hq.jpg)

On the Branch side I congured 10.10.10.2/30

https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/

9/17

6/4/2016

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(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)

We can test this connectivityusing the PCs on our network.


Click on one PC of the Headquarter side and follow the instructions as follow (in case you dont
know, of course ).
1.

https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/

10/17

6/4/2016

Configuring Dial-Peers on Packet Tracer | Edson Vuma

(h ps://edsonvuma.les.wordpress.com/2014/06/desktop_hq.jpg)2. (Click on the rst option IP


Conguration)

(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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

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)

1. We can have as many dial peer as we want (there is a limitation of course


congured has the ID 1

2. destination-pa ern is where we set thedestination pa ern (

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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

The only thing le isTEST what we have done(Im shaking :) ).


So, lets make this call from on site to another
1.

(h ps://edsonvuma.les.wordpress.com/2014/06/ip_phones2.jpg)
2.

(h ps://edsonvuma.les.wordpress.com/2014/06/connected.jpg)

So, this is it.its overfor now.


Hope you nish successfully the congurations.
As you may know, Packet Tracer is VERY limitedonly allows us to do the basicsbut its a great,
great, great tool to get started.

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

Configuring Dial-Peers on Packet Tracer | Edson Vuma

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

Edson Vuma says:


June 24, 2014 at 8:15 am
Hi, Edson Congolo.
Thanks for your time and feedback on this article.

https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/

15/17

6/4/2016

Configuring Dial-Peers on Packet Tracer | Edson Vuma

Thanks for your time and feedback on this article.


Warm regards
/EV
Reply
bilunov77 says:
June 27, 2014 at 9:44 am
Reblogged this on Dirigeant.societe.com.
Reply

Edson Vuma says:


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 feedback.
/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 le so that I can give a look?
Warm regards,
Edson Vuma
Reply
Rogerio says:

https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/

16/17

6/4/2016

Configuring Dial-Peers on Packet Tracer | Edson Vuma

Rogerio says:
June 2, 2015 at 7:06 pm
icant get ip address on my ip phones too
Reply

Edson Vuma says:


June 3, 2015 at 7:00 am
Hi, Rogerio
Thanks for your time.
As said before, can you kindly share your .PKT le so that I can give a look?
Warm regards,
Edson Vuma
Reply

Blog at WordPress.com. | The Greyzed Theme.

https://edsonvuma.wordpress.com/2014/06/23/configuring-dial-peers-on-packet-tracer/

17/17

Potrebbero piacerti anche