adding support for public/private ips in localcloud mode.
Merge branch 'latest'