Hi all,
I have a clustered OpenSIPS setup (using corosync with a virtual IP
address). This has been working great over the last couple of years. I now
want to add an extra IP address to the boxes, again floating a VIP over
these interfaces. These interfaces will be used to communicate with PSTN
ga
Hello Remco,
In mhomed, yes you let the kernel to pick the source IP based on the
routing table - so this approach delegate the logic from OpenSIPS to the
kernel. And it is up to ho well the network part is set.
In the future I would like to add to the DR module the possibility to
set the probing
Hi Bogdan,
Thanks for your reply. The feature of setting the probe interface for DR
would be great. In the meantime, I studied the exact behavior of the
IPaddr2 resource agent a bit more. It turns out it uses iproute2 to bind
the address. The VIP is added as a secondary IP address to the interface
Hi Remco,
OK, if your approach does not work, keep in mind you can still use
local_route to change the outbound socket for the probing OPTIONs.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 11/02/2013 02:50 PM, Remco . wrote:
> Hi Bogdan,
>
>
Hi Bogdan,
The proposed solution works. Instead of modifying IPaddr2 is opted to go
for IPsrcaddr (also included as resource agent with corosync / linux HA
stack). This agent ensures the correct source IP address is used for the
default route. For the other subnet / interface, I removed the static
Hi Remco,
Perfect, thanks for the update. Anyhow, I already started the work on
the drouting and load-balancing module to allow you to set a certain
interface for interacting with each destination/gateway.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.