Adding checks to determine if vm's ip addresses are public or private.