add network_id to information returned by get_ipaddress method