21
Figure16 IP Connection Between Routers
Look at the connection between the West router and the IP network. This connection does not include a voice port or an attached
telephone—it leads from a WAN interface to a remote destination somewhere on the IP network. IP routers can locate IP
addresses on the network, but they cannot locate telephone numbers. To route an outgoing voice call over this connection, the
West router must associate a telephone number in the East office with the IP address of the East router.
Table5 assigns a dial-peer tag to each telephone number and its associated IP address on the West router. This type of dial peer
is called a remote dial peer or VoIP di al p eer. (Remember, the dial-peer tags are arbitrary.) A VoIP dial peer associates a telephone
number with an IP address.
You can create a VoIP dial peer on the West router for every telephone on the East router, all associated with the same IP address.
But it is much easier to use periods as wildcards, as shown in Table6.
Construct a table similar to Table6 for your own routers, assi gning your own telephone numbers, IP addresses, and dial-peer
tags.
Note The IP addresses shown in this guide are meant only as examples. When you configure your network, be sure to use
your own IP addresses.
Enter the following information on the West router to create the dial-peer configuration given in Table6:
West(config)# dial-peer voice 501 voip
West(config-dial-peer)# destination-pattern 1919555....
West(config-dial-peer)# session target ipv4:192.168.11.3
Cisco IOS software describes the remote network as the session target. This command is followed by the IP address of the remote
router. The prefix ipv4 means IP version 4. Alternatively, you can use the prefix dns followed by the Domain Name System
(DNS) name, as follows:
West(config-dial-peer)# session target dns:voice.eastrouter.com
Configure a dial peer on each router for each telephone number on every other router connected to it.
Table5 West Router Remote Dial Peers
Remote Location Telephone Number Destination Pattern IP Address Dial-Peer Tag
East 919 555-8282 19195558282 192.168.11.3 501
East 919 555-9595 19195559595 192.168.11.3 502
Table6 West Router Remote Dial Peers with Wildcards
Remote Location Telephone Number Destination Pattern IP Address Dial-Peer Tag
East 919 555-xxxx 1919555.... 192.168.11.3 501
408 555-3737
408 555-4141
FXS VIC
0/0
FXS VIC
0/1
West
919 555-8282
919 555-9595
FXS VIC
1/0
FXS VIC
1/1
East
22335
192.168.11.3
192.168.19.27 IP cloud