Using Two Ethernet Network Interface Cards with Dialogic PowerMedia Extended Media Server (XMS) Tech Note

Similar documents
Dialogic PowerMedia XMS and Amazon Web Services (AWS)

Dialogic PowerMedia XMS WebRTC

Dialogic PowerVille LB Load Balancer for Real-Time Communications

Dialogic Brooktrout Fax Service Provider Software

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with Alcatel-Lucent OmniPCX Enterprise. Installation and Configuration Integration Note

Dialogic Brooktrout SR140 Fax Software with babytel SIP Trunking Service

Dialogic Media Gateway Installation and Configuration Integration Note

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with Broadvox SIP Trunking Service. Installation and Configuration Integration Note

Deploying a Dialogic 4000 Media Gateway as a Survivable Branch Appliance for Microsoft Lync Server 2010

Dialogic 1000 Media Gateway Series

Dialogic Brooktrout SR140 Fax Software with Microsoft Exchange Server 2010

Dialogic DSI Protocol Stacks

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with T.38Fax.com SIP Trunking Service. Installation and Configuration Integration Note

Dialogic PowerVille LB Load Balancer for Real-Time Communications

Dialogic TX Series SS7 Boards

Dialogic Media Gateway Installation Site Survey

Installing Dialogic NaturalAccess SS7 Monitor Software 3.0

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with NEC Philips SOPHO is3000. Installation and Configuration Integration Note

Dialogic Continuous Speech Processing API

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with ShoreTel Release 12.1 Gateway. Installation and Configuration Integration Note

Dialogic I-Gate 4000 Session Bandwidth Optimizer Mobile Backhaul Application Topologies

Dialogic PowerMedia XMS

Dialogic PowerMedia XMS

Listed below are the specific details of the PBX and gateways used in the testing to construct the following documentation.

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with Cisco Unified Communications Manager 7.0. Installation and Configuration Integration Note

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with ShoreTel Gateway. Installation and Configuration Integration Note

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with 3Com VCX V7000 IP PBX Platform. Installation and Configuration Integration Note

Dialogic DSI SS7G41 Signaling Server. Introduction to SWS Profiles

Dialogic PowerMedia Media Resource Broker (MRB)

8 Digital Station Lines

Dialogic PowerMedia XMS

Listed below are the specific details of the PBX and gateways used in the testing to construct the following documentation.

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with Mitel 3300 MXe Controller. Installation and Configuration Integration Note

Dialogic Media Toolkit API

Copyright and Legal Notice

Dialogic Brooktrout Fax Products SDK

Dialogic 4000 Media Gateway Series

Dialogic System Release 6.0 PCI for Windows

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with Mitel 3300 MXe Controller. Installation and Configuration Integration Note

Dialogic PowerMedia Extended Media Server (XMS) Installation and Configuration Guide

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with Aastra MX-ONE. Installation and Configuration Integration Note

Dialogic PowerMedia IP Media Server Release 3.1.0

Dialogic Multimedia API

Listed below are the specific details of the PBX and gateways used in the testing to construct the following documentation.

ALPHA. Dialogic PowerMedia Web Media Server. Quick Start Guide. March

Dialogic Host Media Processing Software Release 3.1LIN

COMMON-ISDN-API Version 2.0 Extension for Fax Paper Formats and Resolutions

Application Note. Deploying Survivable Unified Communications Solutions with the Dialogic 2000 Media Gateway Series

Dialogic Multimedia API

White Paper Subcategory. Overview of XML Communication Technologies

Dialogic System Configuration Guide October 2009

Guide to Dialogic System Software, Operating Systems, and Dialogic Products

Dialogic DSI Signaling Servers

Dialogic PowerMedia XMS

Dialogic Global Call API

Dialogic DSI Signaling Interface Unit Based on Dialogic DSI SS7G41 Signaling Servers

Dialogic DSI Protocol Stacks

8 Digital Station Lines

Dialogic PowerMedia HMP for Windows Release 3.0

Dialogic Multimedia API

White Paper. The Growing Importance of HD Voice in Applications

Brochure. Dialogic BorderNet Session Border Controller Solutions

Dialogic Cloud Centrex

Dialogic PowerMedia Media Resource Broker (MRB)

8 Digital Station Lines

Dialogic DSI SS7G41 Signaling Server. Introduction to Message Router Functionality

Dialogic PowerVille CC Cloud Centrex

Diameter, Meet Your Future

White Paper. V.34 Fax - Making Improved Performance and Cost Savings Possible

Application Note. A Performance Comparison of Dialogic DM3 Media Boards for PCI Express and PCI

Solution Brochure. Dialogic and Efficient Network Infrastructures. dialogic.com

Dialogic DSI Protocol Stacks MAP Programmer's Manual

Dialogic NaturalAccess OAM System Developer s Manual

Installing Dialogic Diva Software Driver as an Asterisk Channel. A Technical Overview

Application Note. Dialogic 1000 Media Gateway Series Serial CPID Configuration and Timing

Application Note. Using Dialogic Boards to Enhance Unified Messaging Applications

8 Digital Station Lines

Dialogic DSI SS7HD Network Interface Boards

Dialogic Device Management API

IMPORTANT NOTE. Dialogic Brooktrout SR140 Fax Software with Avaya Aura Communication Manager and Avaya Aura Session Manager 6.1.

Dialogic PowerMedia IP Media Server

Dialogic NaturalAccess Service Writer s Manual

COMMON-ISDN-API Version 2.0 Tone detection and generation extension for DTMF Facility

Intel Setup and Configuration Service. (Lightweight)

Dialogic Multimedia File Conversion Tools

Dialogic SS7 Protocols

Dialogic CG 6565E PCI Express Media Board Installation and Developer's Manual

Dialogic TX 4000 Series SS7 Boards

Network Monitoring and Technology Challenges. White Paper

Dialogic Learn Mode and Tone Set File API Software Reference Copyright Dialogic Corporation

Frequently Asked Questions (Dialogic BorderNet 500 Gateways)

Dialogic PowerMedia Media Resource Broker (MRB)

Dialogic 4000 Media Gateway Series Integration Note Mitel 3300 ICP

Dialogic PowerMedia Media Resource Broker (MRB)

White Paper Conquering Scalable WebRTC Conferencing

Dialogic Diva SIPcontrol Software 2.5

Dialogic DSI SS7MD Network Interface Boards

Dialogic Converged Services Platforms (CSP)

Toad Intelligence Central 3.3 New in This Release

Intel Setup and Configuration Service Lite

Transcription:

Using Two Ethernet Network Interface Cards with Dialogic PowerMedia Extended Media Server (XMS)

Introduction While Dialogic PowerMedia Extended Media Server s (PowerMedia XMS) default configuration is centered around a single Ethernet NIC, it may be desirable on a system with multiple NICs to use different interfaces for SIP signaling and RTP media streaming. The recommended way to do this is to use the default NIC for media streaming and then reassign the IP address used for SIP to a secondary NIC. Policy-based routing must then be set up in the Linux kernel to complete the routing of outbound packets to the appropriate NIC. Configuring a Second NIC Here is an outline of the procedure. Note that there is a combination of commands some must be done directly logged into the PowerMedia XMS system as root, and some done using the web-based PowerMedia XMS management console. This procedure covers an IPV4 class C network scheme, (192.168.1.0/24), where both NICs are on the same subnet. Install a PowerMedia XMS 2.0 ISO on bare-metal system with two (2) NICs. While a virtual machine could be used, there is an additional layer of software between the physical NICs and the logical NICs used by the virtual systems that is controlled by the virtual machine manager. This would have to be incorporated in the process in setting up dual NICs, and is not addressed in this Technote. As part of the initial PowerMedia XMS ISO installation, set a static IP address on eth0. This address should be the one to be used for RTP streaming. In this example, 192.168.1.20 is used for eth0. Network mask is set to 255.255.255.0. Following the default installation, eth0 is the configured NIC for both SIP and RTP. The PowerMedia XMS Network screen shows a single active network interface with the static address assigned. Log into the PowerMedia XMS system using secure shell (ssh) with user/password root/powermedia. Once there, configure eth1 using the CentOS setup command line utility: o Choose Network configuration o Choose Device configuration o Choose eth1 o Fill in the require information, including a second static IP address to be used for SIP signaling. In this example, 192.168.1.21 is used for the NIC carrying SIP. Network mask is set to 255.255.255.0 o Save all changes and quit the utility Restart network services with service network restart from the command line The PowerMedia XMS management console s Network screen now shows both Ethernet interfaces as assigned addresses. Eth1 will be disabled. Enable eth1 using the Network screen. From the command line, check the networks with ifconfig. Both network interfaces will be up and have addresses assigned. From the command line, edit /etc/xms/xmserver and change the bindaddr parameter to the Eth1 address. Restart PowerMedia XMS system services using the management consoles System/Services screen. This completes the PowerMedia XMS configuration 2

Configuring Policy-Based Routing While there are now two active Ethernet interfaces, each with its own IP address, there still must be a way for the Linux kernel to decide how to route packets to the appropriate interface, depending on the packet s source address. Otherwise all packets will be sent to the first usable interface in the system s routing table. This can be done using policy-based routing. While this can be done ad-hoc using the ip command, it is generally easier to create a series of permanent configuration files that will implement the policy. In the file /etc/iproute2/rt_tables: reserved values 255 local 254 main 253 default 0 unspec local 1 inr.ruhep Add lines with two unique table IDs not already in use. For example: 200 rtptbl 201 siptbl In the directory /etc/sysconfig/network-scripts, create two files, rule-eth0 and rule-eth1. These files will determine the routing table number to use according to a packet s source IP address. rule-eth0 should contain: RTP from 192.168.1.20 table rtptbl and rule-eth1: SIP from 192.168.1.21 table siptbl In the same directory, create two additional files: route-eth0 and route-eth1. These files contain the source routes. route-eth0 should contain: RTP default src 192.168.1.20 table rtptbl dev eth0 and route-eth1 should contain: SIP default src 192.168.1.21 table siptbl dev eth1 Once all of the files are done, restart the system s network services to put the changes into effect: > service network restart 3

Check that the changes have been put into effect with: > ip rule show This should include the two rules just added: 32764: from 192.168.1.21 lookup siptbl 32765: from 192.168.1.20 lookup rtptbl Follow this with: > ip route show The following two routes should be included: 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.20 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.21 Calls now made to PowerMedia XMS should be directed to 192.168.1.21 on eth1. However, RTP will use 192.168.1.20 on eth0. If desired, tcpdump can be run on the PowerMedia XMS system (one session on each interface) to verify that the packets are using the desired interface: > tcpdump s 10000 i eth0 w eth0-out.pcap > tcpdump s 10000 i eth1 w eth1-out.pcap Examine the.pcap files produced with Wireshark. eth0-out.pcap will contain RTP packets and eth1-out.pcap will contain SIP packets. 4

RFP www.dialogic.com Dialogic Inc 1504 McCarthy Boulevard Milpitas, California 95035-7405 USA Copyright 2013 Dialogic Inc. All Rights Reserved. You may not reproduce this document in whole or in part without permission in writing from Dialogic Inc. at the address provided below. All contents of this document are furnished for informational use only and are subject to change without notice and do not represent a commitment on the part of Dialogic Inc. and its affiliates or subsidiaries ( Dialogic ). Reasonable effort is made to ensure the accuracy of the information contained in the document. However, Dialogic does not warrant the accuracy of this information and cannot accept responsibility for errors, inaccuracies or omissions that may be contained in this document. INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH DIALOGIC PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN A SIGNED AGREEMENT BETWEEN YOU AND DIALOGIC, DIALOGIC ASSUMES NO LIABILITY WHATSOEVER, AND DIALOGIC DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF DIALOGIC PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHT OF A THIRD PARTY. Dialogic products are not intended for use in certain safety-affecting situations. Please see http://www.dialogic.com/company/terms-of-use.aspx for more details. Due to differing national regulations and approval requirements, certain Dialogic products may be suitable for use only in specific countries, and thus may not function properly in other countries. You are responsible for ensuring that your use of such products occurs only in the countries where such use is suitable. For information on specific products, contact Dialogic Inc. at the address indicated below or on the web at www.dialogic.com. It is possible that the use or implementation of any one of the concepts, applications, or ideas described in this document, in marketing collateral produced by or on web pages maintained by Dialogic may infringe one or more patents or other intellectual property rights owned by third parties. Dialogic does not provide any intellectual property licenses with the sale of Dialogic products other than a license to use such product in accordance with intellectual property owned or validly licensed by Dialogic and no such licenses are provided except pursuant to a signed agreement with Dialogic. More detailed information about such intellectual property is available from Dialogic s legal department at 6700 de la Cote-de-Liesse Road, Suite 100, Borough of Saint- Laurent, Montreal, Quebec, Canada H4T 2B5. Dialogic encourages all users of its products to procure all necessary intellectual property licenses required to implement any concepts or applications and does not condone or encourage any intellectual property infringement and disclaims any responsibility related thereto. These intellectual property licenses may differ from country to country and it is the responsibility of those who develop the concepts or applications to be aware of and comply with different national license requirements. Dialogic, Dialogic Pro, Dialogic Blue, Veraz, Brooktrout, Diva, BorderNet, PowerMedia, ControlSwitch, I-Gate, Mobile Experience Matters, Network Fuel, Video is the New Voice, Making Innovation Thrive, Diastar, Cantata, TruFax, SwitchKit, Eiconcard, NMS Communications, SIPcontrol, Exnet, EXS, Vision, incloud9, NaturalAccess and Shiva, among others as well as related logos, are either registered trademarks or trademarks of Dialogic Inc. and its affiliates or subsidiaries. Dialogic's trademarks may be used publicly only with permission from Dialogic. Such permission may only be granted by Dialogic s legal department at 6700 de la Cote-de-Liesse Road, Suite 100, Borough of Saint-Laurent, Montreal, Quebec, Canada H4T 2B5. Any authorized use of Dialogic's trademarks will be subject to full respect of the trademark guidelines published by Dialogic from time to time and any use of Dialogic s trademarks requires proper acknowledgement. The names of actual companies and products mentioned herein are the trademarks of their respective owners. 03/13