In my last post I told you about the CCIE Voice 3.0 lab that I am building.
Well as I will keep refering to this diagram–> ccie-voice-vmware-gns3-diagram-1.0 just make a print of this and keep this as a hardcopy.
Today I will be showing you my configuration for all of the sites that are in the diagram. Because my sources (Blindhog & jayanm) did not posted full configuration examples for this lab and their setup is kind of outdated (as from the day I am writing this) I will post some full configuration with some explanation added to it, so it will be easier for you to set this up more easaly without loosing time.
HQ – hq-3725
host hq-3725 !this router is configured as a gateway on the callmanager itself voice service voip allow-connections h323 to h323 ! interface Loopback0 ip address 10.11.1.254 255.255.255.255 h323-gateway voip interface h323-gateway voip bind srcaddr 10.11.1.254 ! interface FastEthernet0/0 ip address 10.11.11.135 255.255.255.0 speed 100 full-duplex ! interface FastEthernet0/1 ip address 10.255.255.135 255.255.255.0 speed 100 full-duplex ! interface Serial0/0 no ip address encapsulation frame-relay clock rate 2000000 ! interface Serial0/0.1 point-to-point ip address 10.254.254.1 255.255.255.252 snmp trap link-status frame-relay interface-dlci 101 ! interface Serial0/0.2 point-to-point ip address 10.254.254.5 255.255.255.252 snmp trap link-status frame-relay interface-dlci 102 ! router ospf 1 !Frame relay links are advertised in OSPF network 10.200.1.0 0.0.0.255 area 0 network 10.200.2.0 0.0.0.255 area 0 !also specify the LAN network in OSPF network 10.11.11.0 0.0.0.255 area 0 ! !all numbers that not known from the headquarter are routed to the PSTN router !because this site is comfigured as a peer within the callmanager all known numbers will router automatically to the callmanager dial-peer voice 1 voip destination-pattern .T session target ipv4:10.255.255.254 incoming called-number . dtmf-relay h245-alphanumeric codec g711ulaw no vad ! !if you call 1011111... this number will be directed to the callmanager dial-peer voice 2010 voip destination-pattern 1011111... !this is callmanagers IP address session target ipv4:10.11.11.137 dtmf-relay h245-alphanumeric codec g711ulaw no vad ! gateway
RS1 – rs1-3725
host rs1-3725 !this router is configured as a gateway on the callmanager itself voice service voip allow-connections h323 to h323 ! interface Loopback0 ip address 10.12.1.254 255.255.255.255 h323-gateway voip interface h323-gateway voip bind srcaddr 10.12.1.254 ! interface FastEthernet0/0 ip address 10.11.12.254 255.255.255.0 speed 100 full-duplex ! interface Serial0/0 no ip address encapsulation frame-relay clock rate 2000000 ! interface Serial0/0.1 point-to-point ip address 10.254.254.2 255.255.255.252 snmp trap link-status frame-relay interface-dlci 202 ! router ospf 1 !Frame relay link are advertised in OSPF network 10.200.1.0 0.0.0.255 area 0 ! !also specify the LAN network in OSPF network 10.11.12.0 0.0.0.255 area 0 ! !all numbers that not known from the headquarter are routed to the PSTN router !because this site is configured as a peer within the callmanager all known numbers will router automatically to the callmanager dial-peer voice 1 voip destination-pattern .T session target ipv4:10.255.255.254 incoming called-number . dtmf-relay h245-alphanumeric codec g711ulaw no vad
RS2 – rs2-3725
host rs2-3725 !this router is configured as a gateway on the callmanager itself voice service voip allow-connections h323 to h323 ! interface Loopback0 ip address 10.13.1.254 255.255.255.255 h323-gateway voip interface h323-gateway voip bind srcaddr 10.13.1.254 ! interface FastEthernet0/0 ip address 10.11.13.254 255.255.255.0 speed 100 full-duplex ! interface Serial0/0 no ip address encapsulation frame-relay clock rate 2000000 ! interface Serial0/0.1 point-to-point ip address 10.254.254.6 255.255.255.252 snmp trap link-status frame-relay interface-dlci 203 ! router ospf 1 !Frame relay link are advertised in OSPF network 10.200.1.0 0.0.0.255 area 0 !also specify the LAN network in OSPF network 10.13.1.0 0.0.0.255 area 0 ! !all numbers that not known from the headquarter are routed to the PSTN router !because this site is configured as a peer within the callmanager all known numbers will router automatically to the callmanager dial-peer voice 1 voip destination-pattern .T !this is the PSTNSIM IP address session target ipv4:10.255.255.254 incoming called-number . dtmf-relay h245-alphanumeric codec g711ulaw no vad
PSTN – pstn-3725
host pstn-3725 !make sure all the sites are in the same VLANS for PSTN communication interface FastEthernet0/0 switchport switchport mode access switchport access vlan 20 no shut ! !make sure all the sites are in the same VLANS for PSTN communication interface FastEthernet0/1 switchport switchport mode access switchport access vlan 20 no shut ! !make sure all the sites are in the same VLANS for PSTN communication interface FastEthernet0/2 switchport switchport mode access switchport access vlan 20 no shut ! interface vlan 20 ip address 10.255.255.254 255.255.255.0 h323-gateway voip interface h323-gateway voip bind srcaddr 10.255.255.254 no shut ! tftp-server flash:P00307020200.bin tftp-server flash:P00307020200.loads tftp-server flash:P00307020200.sb2 tftp-server flash:P00307020200.sbn ! ip route 10.11.11.0 255.255.255.0 10.255.255.135 ip route 10.11.12.0 255.255.255.0 10.255.255.11 ip route 10.11.13.0 255.255.255.0 10.255.255.12 ! ! !When someone calls from the PSTN phone to 1011111...the call is directed to the HQ and the HQ will send it to the Callmanager dial-peer voice 1000 voip destination-pattern 1011111... session target ipv4:10.11.1.254 dtmf-relay h245-alphanumeric codec g711ulaw no vad ! !When someone calls from the PSTN phone to 2022222...the call is directed to the RS1 and a phone will be configured on this site to handle calls dial-peer voice 2000 voip destination-pattern 2022222... session target ipv4:10.12.1.254 dtmf-relay h245-alphanumeric codec g711ulaw no vad ! !When someone calls from the PSTN phone to 3033333... the call is directed to the RS2 and a phone will be configured on this site to handle calls dial-peer voice 3000 voip destination-pattern 3033333... session target ipv4:10.13.1.254 dtmf-relay h245-alphanumeric codec g711ulaw no vad ! !This is where you say this is a IP network (for PSTN it would be POTS) dial-peer voice 1 voip !this is that all incomming numbers will be forwarded to the pstn phone incoming called-number . dtmf-relay h245-alphanumeric codec g711ulaw no vad ! telephony-service load 7960-7940 P00307020200 max-ephones 1 max-dn 5 ip source-address 10.255.255.254 port 2000 ! !these are the 5 numbers that are going to be terminated at the PSTN PHONE ephone-dn 1 dual-line number 911 ! ephone-dn 2 dual-line number 1015551111 ! ephone-dn 3 dual-line number 2025552222 ! ephone-dn 4 dual-line number 3035553333 ! ephone-dn 5 dual-line number 55987654321 ! !This is the PSTN phone itself ephone 1 mac-address 0000.0000.0000 type 7960 button 1:1 2:2 3:3 4:4 5:5 ! gateway
Next time I will show you a video with a demonstration of how everything is set up and how it´s working together.
This means that we are actually going to make some real calls accross with the softphones and the dynamips routers in combination with the Callmanager that is running on VMware.
Have fun with the configuration and if you have questions or remarks please contact me… I would be more than happy to help you!
[…] If you would like a head start on the configurations for the branch routers, head on over to Iwan’s blog (My configs will be very […]
I am interested in this lab more can you elaborate more with all info and share to us. I have just completed CCIE Voice written and have CCVP and have worked on Voice but not so extensively for 3-4years doing voice projects.
Hope you can help me.Thanks
Sanjeev
Thanks a lot for such wonderfull topology. I’m trying to make the same on my laptop, but looks that this doesn’t work as you mentioned:
“all numbers that not known from the headquarter are routed to the PSTN router, I speak about this part — because this site is configured as a peer within the callmanager all known numbers will router automatically to the callmanager.”
For me it doesn’t work without specifying dial-peer with DN that has to be forwarded to CM, for ex
dial-peer voice 1000 voip
description *** HQ ***
destination-pattern 1…
session target ipv4:192.168.3.10
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
I did not see any configs for 2611XM..Please help
This is not really a complex config of the 2611 XM … just configure the ethernet interfaces with an IP address (in the same subnet) … and thats it
As you mentioned RS1 and RS2 are configured as gateway in call mager then how route patteren are defined in call manager. is there a individual route patteren for each site and pointing to the site gateway or all pattren goes to HQ than routed to PSTN and then to respective site. I will appriciate you can guide me litte about call manager routing and configuration according to the lab.
Hi,
You can create route patterns based on specific sites.
IF you want to learn about call routing I suggest you should use google for other sites … This article only explains how to set up a voice lab with GNS3 and VMware …
There is a mismatch in the topoloy map and HQ router F 0/1 interface IP configuration. In the topoloy it is F0/1 = 10.255.255.10/24 but in the posted configuration F0/1 =10.255.255.135/24. Furthemore i did not find any 10.200.0.0 network in the topoloy but it is defined in OSPF, can you explain ?
Furthermore in obove configuration BR1 and BR2 F0/1 ip address are not defined which are 10.255.255.11/24 and 10.255.255.12/24 respectively. Pleaese correct me if i am wrong?
There is a mismatch in the topoloy map and HQ router F 0/1 interface IP configuration.
In the topoloy it is F0/1 = 10.255.255.10/24 but in the posted configuration F0/1 =10.255.255.135/24.
–> IWAN: You are right … I made a mistake in there but the IP addresses are in the same subnet … so it does not really matter as long as you dont use duplicate IP addresses…
Furthemore i did not find any 10.200.0.0 network in the topoloy but it is defined in OSPF, can you explain ?
—> IWAN: You are right … You need to put in the Frame relay subnet in there “network 10.254.254.0 0.255.255.255 area 0”
Furthermore in obove configuration BR1 and BR2 F0/1 ip address are not defined which are 10.255.255.11/24 and 10.255.255.12/24 respectively. Please correct me if i am wrong?
—> IWAN: You are correct … if you look in the drawing : http://www.i-1.nl/blog/wp-content/uploads/ccie-voice-vmware-gns3-diagram-1.0.pdf You will see the IP addresses listed there … I forgot to put it in the config
Thanks for paying attention! 🙂
I am able to build and run the lab succufully but when i call from HQ (call manager telephone) to pstn it rings, after answering on pstn phone (shows connected on pstn phone) still i hear ringing tone from HQ phone. While if i call from pstn to call manager it works fine and establish the voice path as well without any issue. is it normal with voice lab ? if not please help what to do. i am using call manager 7 on windows 7 64 bit operation system along with GNS3 0.7.4. I tried 3725 and 2611 ios but same.
With above configuration call from HQ phone to BR1 rings but after answering does not establish rtp and keeps on ringing. I have tried differnt configuration but i believe IP TO IP gatway(HQ) router is not passing call proceesing events. Any suggestion ?
Unlike most of you, I am still trying to finish my CCNP Voice certs, CIPT1/CIPT!/CAPPS/TVoice. I am using this lab to get a greater/deeper understanding of VoIP.
Trying to configure this lab in home lab using older routers:four (4) 26xxXM series & 2950 Cat. Cannot figure out how to configure the PSTN router to route the FR to and from the HQ to BR1 & BR2:
Is it possible to setup this lab using : 2621XM PSTN = two DSU/CSU WIC cards + a PRI NM 2CT1
2621XM HQ = one DSU/CSU + WIC 2T
2621XM BR1 = one DSU/CSU + WIC 2T
2651XM BR2 = 2 WIC 2T + PRI NM 2CT1
Like I said, I am having trouble configuring the PSTN Frame Relay redirects routes w/o IP Adds or could I just configure them with IP Adds & move forward
[…] Iwan Hoogendorn :: http://www.i-1.nl/blog/?p=176 […]