You are on page 1of 6

Simple VoIP Network Using Cisco Routers as Voice Gate-ways

Figure-01- VoIP Network using Cisco routers


Proce!ure-
1. Connect the equipments as shown in the Figure-01, that is, connect the
analog telephones to the FXS ports of the gate-way routers and directly
connect both gate-way routers by using its fast thernet ports and
appropriate cable.
a.! "hat types of cables, you can use to connect the two gate-way
router in this #ab$
%. Connect the &C to the console port of the each 'ate-way router and get
the console access of the router in your &Cs.
(. )a*e the end to end connecti+ity between two 'ate-way routers using
your last year routing *nowledge , -ou can choose any Class ., / or C
pri+ate 0& addresses for this #ab!
"hat is the pri+ate 0& address range in Class .$----------------------------------
"hat is the pri+ate 0& address range in Class /$----------------------------------
"hat is the pri+ate 0& address range in Class C$----------------------------------
Kantha 1
"rite down the commands that you used to ma*e connecti+ity between
two gate-way routers$
'ate-way 1outer 01
'ate-way 1outer 0%
2ow did you ma*e sure the connecti+ity between two 'ate-way routers$
3. Configure the 4o0& setup between two end 'ate-way routers as follows
'ate-way 1outer 01
1outer1,Config!5dial-peer +oice 1 pots
1outer1,Config-dial peer!5destination-pattern %%%1
1outer1,Config-dial peer!5&ort 06160
1outer1,Config-dial peer!5e7it
1outer1,Config!5 dial-peer +oice % pots
1outer1,Config-dial peer!5destination-pattern %%%%
1outer1,Config-dial peer!5&ort 06161
1outer1,Config-dial peer!5e7it
1outer1,Config!5 dial-peer +oice ( +oip
1outer1,Config-dial peer!5destination-pattern (((.
1outer1,Config-dial peer!5session-target ip+38 ip address of '"-0% router
1outer1,Config-dial peer!5end
1outer15 write mem
Kantha 2
'ate-way 1outer 0%
1outer%,Config!5dial-peer +oice 1 pots
1outer%,Config-dial peer!5destination-pattern (((1
1outer%,Config-dial peer!5&ort 06160
1outer%,Config-dial peer!5e7it
1outer%,Config!5 dial-peer +oice % pots
1outer%,Config-dial peer!5destination-pattern (((%
1outer%,Config-dial peer!5&ort 06161
1outer%,Config-dial peer!5e7it
1outer%,Config!5 dial-peer +oice ( +oip
1outer%,Config-dial peer!5destination-pattern %%%.
1outer%,Config-dial peer!5session-target ip+38 ip address of '"-01 router
1outer%,Config-dial peer!5end
1outer%5 write mem
9. :ow, +erify your configuration by ma*ing calls between two ;ffices. 0f you
are not success, troubleshoot the problems and ma*e it wor*.
<. :ow, Select the different C;=C +alues for each +oice gate-ways and
ma*e the calls between two office and find out the best C;=C +alue for
this lab scenario$
-ou can use the following cisco commands to change the codec +alues
Router "con#ig$%!ial -peer &oice ' &oip
Router "con#ig-!ial-peer$% co!ec g(11alaw
>. "hat is the function of the C;=C in this 4o0& networ*$
?. 0f you ha+e to connect many telephones from both offices to abo+e 4o0&
networ*, what is the de+ice you will use between telephones and 4oice
gate-way router in each office$ 1edraw a 4o0& networ* diagram,Figure-
01! with the new de+ice introduced.,#abel the port types in each de+ices!
Kantha 3
@. &ort mirroring is used in this 4o0& networ* to capture the networ* pac*ets
between two office +oice gate-way routers.
Figure-0)
=isconnect the connection between two +oice gate-way routers and
connect the port mirroring configured Cisco %@90 switch between two
+oice gate-way routers using suitable type of cables and also connect one
&C ,with thereal installed &C! to the switch as shown in Figure-0%.
.ssign the suitable 0& address to the &C.
10. Start the thereal and ma*e calls between two offices and do some
con+ersation and terminate the calls.
11. Stop the pac*et capturing on ethereal and analyse the different type of
captured pac*ets.
1%. #ist down and e7plain about each 4o0& related pac*ets that you captured.
a!
b!
c!
d!
e!
f!
Kantha 4
g!
h!
1(. Configure the office-/ as (((1 hunt group and test your configuration.
,Find the configuration Cisco commands using the internet!
1outer%,Config!5dial-peer +oice 1 pots
1outer%,Config-dial peer!5&ort 06160
1outer%,Config-dial peer!5preference 0
1outer%,Config-dial peer!5e7it
1outer%,Config!5dial-peer +oice % pots
1outer%,Config-dial peer!5destination-pattern (((1
1outer%,Config-dial peer!5&ort 06160
1outer%,Config-dial peer!5 preference 0
1outer%,Config-dial peer!5e7it
Now* c+eck your con#iguration ,y making calls #rom o##ice-- to
+unting num,er '''1 in o##ice-./
13. 1emo+e the hunting group configuration from gate-way-0% router and
configure for one way P0-R "pri&ate line automatic ring !own$
functionality between two offices and test your configuration. ,ma*e the
&#.1 between %%%1 and (((1!
Router1"Con#ig$%&oice-port 01110
Router1"Con#ig-&oiceport$%connection plar '''1
Router1"Con#ig-&oiceport$%e2it
Router1"Con#ig$%!ial-peer &oice 1 pots
Router1"Con#ig-!ial-peer$%port 01110
Router)"Con#ig$%&oice-port 01111
Router)"Con#ig-&oiceport$%connection plar )))1
Router)"Con#ig-&oiceport$%e2it
Router)"Con#ig$%!ial-peer &oice 1 pots
Router)"Con#ig-!ial-peer$%port 01110
19. Aest the following Cisco command to monitor the 4o0& Cisco networ* and
e7plain what you can monitor using each commands
a! show call acti+e +oice
b! show dial-peer +oice
Kantha 5
c! show +oice port
d! show +oice dsp
e! show +oice port summary
f! show dial-peer +oice summary
g! show +oice call status
Re#erence-
Cisco web site

Kantha 6

You might also like