Use mdata-get to determine the public and private IPs