You should be able to use a private ip address with either command, Is your issue solved, then?
BUT.,,,do a "show ip route" to make sure you don't have more than one default gateway configured, because it will load-balance traffic between the two ip addresses if you have more than one default route configured, which is undesirable.