add check_reachable for Solaris

I've added check_reachable for Solaris.