Either should work just fine, but ports will need to be open in either case.  I don't much like using the internal names, but the IPs are probably worse in this case as they are subject to change on reboot.  I think we need to think about using either a DNS convention here or elastic ips.