tnsnames.ora,sqlnet.ora and listener.ora should never have an IP address.
They should have hostname.domain name and DNS or /etc/hosts should take care of the mapping.