cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
715
Views
0
Helpful
1
Replies

Changing the source interface/IP of the ipv4 session target?

mmedwid
Level 3
Level 3

I have a UC540 - say outside IP address 99.99.99.1 and inside IP 192.168.1.1.  I have an IPsec tunnel to my exchange

server 10.10.101.102 when I want to send voice mail.  What's happening is that the source IP address of the packet to 10.10.101.102

is the outside IP address 99.99.99.1.  But instead I want the source IP to be 192.168.1.1 so that this traffic will be send down the

tunnel to my server.  Is there a way I can change the source address so as to get this traffic to head down the tunnel?  An ping

with source route specified 192.168.1.1 to 10.10.101.102 succeeds down the tunnel etc.  Thanks.

dial-peer voice 2000 voip

description ** Exchange **

destination-pattern 201

session protocol sipv2

session target ipv4:10.10.101.102

no voice-class sip outbound-proxy

dtmf-relay rtp-nte

codec g711ulaw

no vad

!

1 Reply 1

mmedwid
Level 3
Level 3

I found the answer:

voice service voip
   bind control source-interface BVI100           <<<<<<<<
   bind media source-interface BVI100            <<<<<<<<

This allowed the traffic to come from the inside interface and get into the tunnel.