metadata: Fetch the public and private IP addresses