Is one of those IP addresses visible from everywhere? If so, just redirect the other two URLs to the one that works from everywhere.
Because Gallery 1.x requires a full URL, you'll have to change the code to make it adapt to using 3 different sites. Redirecting is the easiest way to go.