You Da M.A.N. - Swinburne University Of Technology

Transcription

You da M.A.N.Voice, over IP, over stuffLawrence StewartWarren Network design & provisioningNetwork topology & hardwareNetwork applicationsSecurityVoIP & AsteriskFuture work & possibilitiesLive demonstrationCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 2

DesignInitial design came quicklyRequest For Heckles (RFH)Define the standards that allow thenetwork to inter-operateRFH 1,2 & 31 - WNIC proposed common numbering scheme 2 - Proposed services for routing and services network 3 - Telephony systems layoutImplementation took much longer than plannedCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 3Network topologyComprised of:FreeBSD 5.3 routersMixed end hostsFreeBSD, Mac OS X, Windows, cisco IP phonesLink layer802.11gSwitched ethernetADSLCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 4

Network topology (Simplified)Jim & BethLaw & ShellHome networkWazz & MonTremGatewaySWININTERNETCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 5Network topology (Swinnet)136.186.49.123136.186.49.47SWINNET(vlan 49)136.186.49.77136.186.49.35(DHCP: 136.186.49.x)SWININTERNETSwin Cisco VPNconcentrator(136.186.13.6)CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 6

Network topology (Swinnet)10.254.1.6/24136.186.49.47SWINNET(vlan 49)136.186.49.7710.254.1.3/24(DHCP: 136.186.49.x)SWININTERNETSwin Cisco au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 7CAIA lecture seriesNetwork topology Law & Shell802.11g APfxp1 10.254.7.129/25fxp0Law & Shell10.254.7.1/25ath0 10.254.1.7/24SWINNET(vlan 49)CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 8

Network topology Law & ShellCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 9Network topology Law & ShellCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 10

Network topology Law & ShellCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 11Network Topology (Daniel)SWINNET(vlan 49)ath0 10.254.1.5/24fxp010.254.5.10/24CAIA lecture seriesTremhttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 12

Network topology (Jim & Beth)Xl0 10.254.6.1/24Jim & Bethwi0 10.254.1.6/24SWINNET(vlan 49)CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 13Network topology (Swin Gateway)wi0 10.254.1.3/24SWINNET(vlan 49)fxp0Gateway136.186.229.x/24SWININTERNETCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 14

Network topology (Wazz & Mon)wi0 10.254.1.3/24SWINNET(vlan 49)fxp0136.186.229.x/24SWINGatewaytun0 CAIA lecture seriesWazz & Mon10.254.4.1/24http://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 15Network topology (Wazz & Mon)CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 16

Network topologySo what does it look like whenit's all on the same page?CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 17802.11g APXl0 10.254.6.1/24fxp1 10.254.7.129/25fxp0Law & ShellJim & Bethath0 10.254.1.7/24wi0 10.254.1.6/2410.254.7.1/25wi0 10.254.1.3/24SWINNET(vlan 49)fxp0SWINath0 10.254.1.5/24fxp0Trem10.254.5.10/24CAIA lecture ETtun0Internettun0 10.1.0.2/24fxp0Wazz & Mon10.254.4.1/24http://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 18

Hardware List4 x D-Link DWL-G520 (Hardware Version: B2) PCI Wireless card1 x D-Link DWL-2100AP 108/54 Mbps Wireless Access Point1 x D-Link DWL-G810 108/54 Mbps Wireless Bridge1 x PCI to PCMCIA Cradle1 x 802.11b PCMCIA Wireless Network Card4 x 10/00 Ethernet Switches6 x Intel 10/100 Pro/100 S NICs5 x FreeBSD 5.3 Routers (Mix machine types)1 x Dell Inspiron 600m laptop2 x Cisco 7910 VoIP Phones2 x Generic X100P FXO Cards10 x End Hosts.CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 19Network ApplicationsVoIPSAMBA file sharingMailhttp proxy (Caching & peered with swin)DNSNTP.CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 20

SecurityIPSEC (IETF RFC2401)Secures links between boarder routers and gatewayUses ESP for IP encryption and raccoon for automatedkey exchangeVTUN (http://vtun.sourceforge.net/)Used to create and secure an IP over UDP tunnel fromWazz & Mon to gatewayCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 21802.11g APXl0 10.254.6.1/24fxp1 10.254.7.129/25fxp0Law & ShellJim & Bethath0 10.254.1.7/24wi0 10.254.1.6/2410.254.7.1/25wi0 10.254.1.3/24SWINNET(vlan 49)fxp0SWINath0 10.254.1.5/24fxp0Trem10.254.5.10/24CAIA lecture ETtun0Internettun0 10.1.0.2/24fxp0Wazz & Mon10.254.4.1/24http://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 22

VoIPVoice over Internet ProtocolCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 23VoIP using AsteriskAsterisk (http://www.asterisk.org/)PlatformsLinux, FreeBSD, Mac OS X. FeaturesTrunking between asterisk servers Hardware compatibility Digital: SIP & SKINNY Phones, ISDN line cards, T1/E1 line cards, GSM bridgeAnalog: Multi port FXO & FXS cards Call waiting, transfer, on hold (mp3s).There are many more!.CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 24

Asterisk feature list* Fax Transmit and Receive (3rd PartyOSS Package)* Flexible Extension Logic* Interactive Directory Listing* Interactive Voice Response (IVR)* ADSI On-Screen Menu System* Local and Remote Call Agents* Alarm Receiver* Macros* Append Message* Music On Hold* Authentication* Music On Transfer* Automated Attendanto Flexible Mp3-based System* Blacklistso Random or Linear Play* Blind Transfero Volume Control* Call Detail Records* Predictive Dialer* Call Forward on Busy* Privacy* Call Forward on No Answer* Open Settlement Protocol (OSP)* Call Forward Variable* Overhead Paging* Call Monitoring* Protocol Conversion* Call Parking* Remote Call Pickup* Call Queuing* Remote Office Support* Call Recording* Roaming Extensions* Call Retrieval* Route by Caller ID* Call Routing (DID & ANI)* SMS Messaging* Call Snooping* Spell / Say* Call Transfer* Streaming Media Access* Call Waiting* Supervised Transfer* Caller ID* Talk Detection* Caller ID Blocking* Text-to-Speech (via Festival)* Caller ID on Call Waiting* Three-way Calling* Calling Cards* Time and Date* Conference Bridging* Transcoding* Database Store / Retrieve* Trunking* Database Integration* VoIP Gateways* Dial by Name* Voicemail* Direct Inward System Accesso Visual Indicator for Message* Distinctive Ring* Distributed Universal Number Discovery (DUNDi ) Waitingo Stutter Dialtone for Message* Do Not DisturbWaiting* E911o Voicemail to email* ENUMo Voicemail Groupso Web Voicemail Interface* ZapatellerAsterisk FeaturesCall FeaturesCAIA lecture seriesComputer-Telephony Integration* AGI (Asterisk Gateway Interface)* Graphical Call Manager* Outbound Call Spooling* Predictive Dialer* TCP/IP Management InterfaceProtocols* IAX (Inter-Asterisk Exchange)* H.323* SIP (Session Initiation Protocol)* MGCP (Media Gateway ControlProtocol* SCCP (Cisco Skinny )ScalabilityTraditional Telephony Interoperability* TDMoE (Time Division Multiplex overEthernet)o Allows direct connection of Asterisk PBXo Zero latencyo Uses commodity Ethernet hardware* Voice-over IPo Allows for integration of physicallyseparate installationso Uses commonly deployed dataconnectionso Allows a unified dialplan across multipleofficesCodecs* ADPCM* G.711 (A-Law & -Law)* G.723.1 (pass through)* G.726* G.729 (through purchase of commerciallicense through Digium)* GSM* iLBC* Linear* LPC-10* Speex* E&M* E&M Wink* Feature Group D* FXS* FXO* GR-303* Loopstart* Groundstart* Kewlstart* MF and DTMF support* Robbed-bit Signaling (RBS) TypesPRI Protocols* 4ESS* BRI (ISDN4Linux)* DMS100* EuroISDN* Lucent 5E* National ISDN2* NFAShttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 25Asterisk config filesExamplesextensions.confexten 400,1,Dial(Skinny/400@MonWar,20)exten 400,2,Voicemail(u400)exten 401,1,Voicemail(u400)exten 410,1,Dial(Sip/MonWarSip)exten 410,2,Dial(Sip/test)sip.conf[cisco]type friendusername ciscosecret blahnat yesCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 26

Our implementationFXOCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 27Our implementationFXOCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 28

Our implementationFXOCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 29802.11g APXl0 10.254.6.1/24fxp1 10.254.7.129/25fxp0Law & ShellJim & Bethath0 10.254.1.7/24wi0 10.254.1.6/2410.254.7.1/25wi0 10.254.1.3/24SWINNET(vlan 49)fxp0Gateway136.186.229.x/24SWINtun0 10.1.0.2/24Swin Exten 4558POTSath0 10.254.1.5/24fxp0Trem10.254.5.10/24CAIA lecture azz & Mon10.254.4.1/24http://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 30

CISCO IP phonesCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 31SIP Software PhonesFree download: http://xten.com/CAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 32

SIP Software PhonesCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 33Current capabilitiesPOTS“0” to get an outside lineIncoming call routing using menuCalls between hardware phonesCalls between software SIP phonesCalls between hardware and software SIP phonesVoice mailCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 34

Future workWarren needs a static IP or dynamic DNSTo allow SIP calls from the wider InternetQoSStrict priority queuingExpansionPeering with other SIP providershttp://www.engin.com.auGrenville has had successCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 35DemonstrationCAIA lecture serieshttp://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 36

802.11g APXl0 10.254.6.1/24fxp1 10.254.7.129/25fxp0Law & ShellJim & Bethath0 10.254.1.7/24wi0 10.254.1.6/2410.254.7.1/25VR Ndis0 10.254.1.25/24wi0 10.254.1.3/24SWINNET(vlan 49)fxp0Gateway136.186.229.x/24SWINtun0 10.1.0.2/24Ndis0 10.254.1.26/24POTSath0 10.254.1.5/24fxp0Trem10.254.5.10/24CAIA lecture seriesINTERNETtun110.1.0.1/24tun0 WazzInternetfxp0& Mon10.254.4.1/24http://caia.swin.edu.au {wazz,lastewart}@swin.edu.au March 23th, 2005 Page 37

Swin Cisco VPN concentrator (136.186.13.6) INTERNET 136.186.49.77 136.186.49.123 136.186.49.47 136.186.49.35. . * Outbound Call Spooling * Predictive Dialer * TCP/IP Management Interface Scalability * TDMoE (Time Division Multiplex over Ethernet) o Allows direct connection of Asterisk PBX