Advanced IP/IPv6 subnet calculation and discovery
