OS-295, get_subnet replaced with own implementation