use local-ipv4 for internal ip on redhat