Ion-ion potentials in a two center model