<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Generally, BINDS on a multi-interface CUBE are not friendly. It is much better to let the router use the egress interface as the source IP address.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>I am not aware of a way to bind to a secondary IP, but I would think that if the secondary IP is on a different subnet, it would automatically use that IP if the ip routing table would also source from that IP to the configured destination.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>-Nate<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> cisco-voip [mailto:cisco-voip-bounces@puck.nether.net] <b>On Behalf Of </b>Anthony Holloway<br><b>Sent:</b> Friday, February 19, 2016 8:37 AM<br><b>To:</b> Maciej Bylica <mbgatherer@gmail.com><br><b>Cc:</b> Cisco VoIP Group <cisco-voip@puck.nether.net><br><b>Subject:</b> Re: [cisco-voip] dial-peer pointing secondary IP address<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>You would bind the SIP outgoing traffic to that new interface on your dial-peers which you would like to use this interface:<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>dial-peer voice 100 voip<o:p></o:p></p></div><div><p class=MsoNormal> destination-pattern 2...$<o:p></o:p></p></div><div><p class=MsoNormal> session protocol sipv2<o:p></o:p></p></div><div><p class=MsoNormal> session-target ipv4:10.1.1.1<o:p></o:p></p></div><div><div><p class=MsoNormal> <span style='background:#FFF2CC'>voice-class sip bind </span><span style='background:#B6D7A8'>control</span><span style='background:#FFF2CC'> source-interface GigabitEthernet0/0</span><o:p></o:p></p></div><div><p class=MsoNormal> <span style='background:#FFF2CC'>voice-class sip bind </span><span style='background:#B6D7A8'>media</span><span style='background:#FFF2CC'> source-interface GigabitEthernet0/0</span><o:p></o:p></p></div></div><div><p class=MsoNormal> codec g711ulaw<o:p></o:p></p></div><div><p class=MsoNormal> dtmf-relay sip-kpml rtp-nte digit-strip<o:p></o:p></p></div><div><p class=MsoNormal> no vad<o:p></o:p></p></div><div><p class=MsoNormal>!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>That will make sure that all SIP traffic going to 10.1.1.1 will come from interface G0/0.<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Feb 18, 2016 at 10:22 AM, Maciej Bylica <<a href="mailto:mbgatherer@gmail.com" target="_blank">mbgatherer@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>Hi Guys<br><br>I need to add one IP address to GbE interface of Cisco 3845 - C3845-IPVOICE_IVS-M, Version 15.1(4)M4 - as a secondary IP (this is not the problem)<br><br>What is more i need to be able to create dial-peer to send SIP call attempts via newly defined secondary IP address, not the main one.<br><br>I cannot see any possibilities how to achieve that?<br>Maybe somebody could help me here?<br>Any help would be appreciated.<br><br>Thanks<span class=hoenzb><span style='color:#888888'><o:p></o:p></span></span></p><div><p class=MsoNormal><span style='color:#888888'>Maciej</span><o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>