Search IP addresses are detected from among a preset number of selected IP
addresses available on the network, and DNS query message and ICMP echo
request message are transmitted at a time to the detected search IP
addresses. DNS server and router IP addresses are detected from response
messages in response to the DNS query message and the ICMP echo request
message.