<div dir="ltr">I had an issue in 1.2.x that I am not sure ever got fixed but having two NICs on the same subnet did strange things. Strange like one NIC would be used for outbound traffic and the other for inbound traffic.<br>
<br>Maybe someone knows why, if it was a bug, if it was fixed?<br><br>I could think of something creative but am drained right now and have to go buy some coax and connectors.<br><br>If nobody helps you by then, I will.<br>
<br>Thanks,<br>Steve Totaro<br><br><div class="gmail_quote">On Wed, Oct 15, 2008 at 3:39 PM, Gleim, Jason <span dir="ltr"><<a href="mailto:jgleim@atsautomation.com">jgleim@atsautomation.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How did you define the secondary IP address? Did you actually set that<br>
up in the network scripts and bind it to eth0 or did you just define it<br>
in /etc/ha.d/haresources? You should only have the virtual IP defined in<br>
haresources along with the primary server and what you want to do on<br>
node up/down.<br>
<br>
My haresources file has a single line:<br>
ohasterisk01 <a href="http://10.191.32.31" target="_blank">10.191.32.31</a> MailTo::<user>@<domain>.com::Asterisk<br>
fonulator asterisk<br>
<br>
We're obviously using the redFone FoneBRIDGE for our T1 connection as<br>
you can see we're firing the fonulator script and then asterisk.<br>
<br>
HTH!<br>
<font color="#888888"><br>
Jason<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-">asterisk-users-</a><br>
> <a href="mailto:bounces@lists.digium.com">bounces@lists.digium.com</a>] On Behalf Of Nhadie<br>
> Sent: Tuesday, October 14, 2008 12:47 PM<br>
> To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
> Subject: [asterisk-users] asterisk+heartbeat<br>
><br>
> Hi,<br>
><br>
> I'm using heartbeat as a failover for my asterisk server.<br>
><br>
> on the active server 1 i have<br>
><br>
> <a href="http://10.10.10.1" target="_blank">10.10.10.1</a> eth0<br>
> <a href="http://10.10.10.3" target="_blank">10.10.10.3</a> secondary eth0<br>
><br>
> asterisk listens to the secondary ip, so that if server 1 fails,<br>
server<br>
> 2 will then get that IP.<br>
><br>
> so if server 1 fails, server 2 will have the IP<br>
><br>
> <a href="http://10.10.10.2" target="_blank">10.10.10.2</a> eth0<br>
> <a href="http://10.10.10.3" target="_blank">10.10.10.3</a> secondary eth0<br>
><br>
> problem is i have to bind asterisk to the secondary IP if dont, i cant<br>
> make calls. but if server 2 is inactive, asterisk does not run, as on<br>
> the config it is binded on the secondary ip.<br>
><br>
> anyone uses heartbeat for failover? tia.<br>
><br>
> regards,<br>
> nhadie<br>
><br><br></div></div></blockquote></div><br>
</div>