Hi Ross,
From what you describe, this isn't an Asterisk/AllStar problem at all--your router is load balancing across multiple Internet (WAN) connections.
You need to add a source route for the IP address of your Asterisk server that guarantees that your router always uses the proper WAN connection for this host. I recommend finding a -local- MikroTik network guru. The problem with working on this kind of stuff remotely is that, with one accidental misstep, you're down and they can't get back in. Oops! 73, David KB4FXC On Thu, 3 Sep 2015, R Dahl wrote:
I have an Acid (40526) server with an rtcm for radio connection. The mikrotik router has 3 wan connections with the acid server connected to its lan ports as well as the rtcm. My problem is that the registration requests appear to go out an arbitrary wan port rather than the one I want it to use. I try to force it to use a particular wan by assigning a routing mark based on its ip and then have the desired wan with the same routing mark. This approach works for splitting workstations and servers among the wan's but the asterisk registration process ignores it.
iax2 registration shows it as perceived as one of the other wans and is not consistent. traceroute from asterisk server shows it using the desired wan.
This is all mostly over my payscale.
Ross