Asterisk ha and iax problems with floating ip

Hi there, as title suggests i got an asterisk HA solution with 2 servers drbd and heartbeat, my extensions all use iax protocol which works fine if i connect directly to server 1 ip but fails with the floating ip sip works fine but i just use iax

each of my 2 servers have 2 interfaces one connected to switch the other is between each other for the heartbeat

from what i have read this would be solved if i BIND the virtual ip to my iax but have done that to no avail any other solutions? cheers

solved the issue by adding this routing table

route add -net netmask dev eth1:HA
ip route flush cache

login as: root
[email protected]’s password:

BusyBox v1.16.1 (2015-06-29 18:21:52 CST) built-in shell (ash)
Enter ‘help’ for a list of built-in commands.

cluster> ip route list
default via dev eth1 dev eth0 proto kernel scope link src dev eth0 proto kernel scope link src dev eth1 scope link src dev eth1 scope link src
cluster> is the floating ip and the physical interface


1 Like

i was thinking on how to direct all traffic to eth1 too. thanks for the gude.