Voice Lab – PSTN Simulation LAB in GNS3 – Part 1
Posted by Josh on Thu 16 Sep 2010Categories: CCIE , Cisco , Cisco Routers , Cisco VOIP , Dynamips , GNS3 , Voice LAB - [6] Comments
This tutorial is a continuation of the virtual voice lab series. Unfortunately, the virtual voice lab has been a “work in progress” much longer than I had hoped it would be when I started it two years ago. In this tutorial, you will add a new router to your GNS3 topology. It will connect it to the HQ, BR1 and BR2 routers to simulate an Internet connection and the Public Switched Telephone Network (PSTN).
There is one caveat to this PSTN simulation… GNS3/Dynamips is not capable of simulating traditional analog or digital circuits. We will be simulating an Internet Telephony Service provider (ITSP). ITSPs have become increasingly popular in the past ~5 years. Basically, the PSTN router will route incoming calls to the branch routers and received outgoing calls from the branch routers over a SIP or H323 trunk.
Placing the “PSTN” router in the topology and configuring IP addressing will simulate an Internet connection for the branches but it is just the first step. The call routing will be accomplished using the Cisco Unified Border Element (CUBE … formerly IPIPGW) feature or H323 Gatekeeper in other tutorials. As a side note, VPN’s and other technologies can be tested with the simulated Internet we created.

Here are the steps:
- Add a router to the GNS3 topology.
You will need an IOS image on the router that supports CUBE, Gatekeeper or both. - Change the hostname e.g. “pstn_internet” (optional)
- Add an NM-16ESW module to the new router
- Right-Click on the new router and configure
- Click the ‘Slots’ tab
-
Add an NM-16ESW module to the router
- Connect the following interfaces to the existing branch routers
- pstn_internet f0/0 -> Port 5 on the HQ Switch
- pstn_internet f1/0 -> f0/1 on HQ Router
- pstn_internet f1/1 -> f0/1 on BR1 Router
- pstn_internet f1/2 -> f0/1 on BR2 Router
- “pstn_internet” router config changes interface f0/0
no shutdown
description *** Internet ***
ip address 10.10.10.253 255.255.255.0interface f1/0
no shutdown
description *** HQ Internet ***
ip address 12.34.56.1 255.255.255.252interface f1/1
no shutdown
description *** BR1 Internet ***
ip address 23.45.67.1 255.255.255.252interface f1/2
no shutdown
description *** BR2 Internet ***
ip address 34.56.78.1 255.255.255.252ip route 0.0.0.0 0.0.0.0 10.10.10.254
- “HQ” Router config changes interface f0/1
no shutdown
description *** Internet ***
ip address 12.34.56.2 255.255.255.252ip route 0.0.0.0 0.0.0.0 12.34.56.1
- “BR1″ Router config changes interface f0/1
no shutdown
description *** Internet ***
ip address 23.45.67.2 255.255.255.252ip route 0.0.0.0 0.0.0.0 23.45.67.1
- “BR2″ Router config changes interface f0/1
no shutdown
description *** Internet ***
ip address 34.56.78.2 255.255.255.252ip route 0.0.0.0 0.0.0.0 34.56.78.1

September 17th, 2010 at 12:12 pm
[...] Voice Lab – PSTN Simulation LAB in GNS3 – Part 1 [...]
October 14th, 2010 at 1:22 am
[...] This tutorial is a continuation of the virtual voice lab series. In this tutorial, you will add a dial-plan to the PSTN router that was added in the first part of the PSTN simulation lab. [...]
October 17th, 2010 at 7:28 pm
[...] PSTN with GNS3 (part1) [...]
November 8th, 2010 at 6:03 am
[...] دو لینک به شما کمک خواهد کرد . لطفا مطالعه بفرمایید . blindhog.net blindhog.net پاسخ با نقل [...]
January 15th, 2011 at 6:01 pm
Josh,
These are great tutorials, thank you for sharing your wisdom!
On this one the config above doesn’t include the “no switchport” command to make the interfaces on the NM-16ESW into layer 3 devices.
Kyle
January 6th, 2012 at 4:16 am
Without any questions one of the best series in the web. I prepared for my job in Generali with CCME and CCM in my sever.
Thanks.