Ping, Traceroute, and DNS Lookup on the RV160 and RV260
PDF(561.3 KB) View with Adobe Reader on a variety of devices
ePub(684.3 KB) View in various apps on iPhone, iPad, Android, Sony Reader, or Windows Phone
Mobi (Kindle)(447.4 KB) View on Kindle device or Kindle app on multiple devices
Updated:May 15, 2019
This article highlights impactful methods of verifying network connectivity - ping, traceroute, and DNS lookup on the RV160 and RV260 series routers.
Your device provides several diagnostic tools to help you with troubleshooting network issues. If you are looking for a more structured approach than tool review, check out this great document: Troubleshooting on RV160 and RV260 Routers. This troubleshooting document will cover some of the areas to analyze when troubleshooting connectivity.
Method #1 - Ping
The first one is Ping. The ping command is a common method used when troubleshooting the accessibility of devices. Ping is used so frequently because its simplicity and speed in determining connectivity between two points on a network. It uses Internet Control Message Protocol (ICMP) echo messages to determine if the remote host is active or inactive. It can also tell you the round-trip delay in communicating with the host and packet loss. First, the source would send an echo request packet to an address and wait for a reply. If the echo request gets to the destination and the destination is able to send an echo reply back to the source before the timeout occurs, then the ping is successful.
Method #2 - Traceroute
The second diagnostic tool is Traceroute. Traceroute is used to find the routes that the packets actually take when traveling to their destination. The purpose behind this is to use each ICMP Time Exceeded Message to find the path that the packet took to reach the destination. The router would send out a sequence of User Datagram Protocol (UDP) datagrams to an invalid port address at the remote host. Three datagrams are sent with a Time-To-Live (TTL) field value set to 1, the TTL value of 1 will cause the datagram to “timeout” as soon as it hits the first router in the path. The first router will then respond with an ICMP Time Exceeded Message indicating that the datagram has expired. After that, another three UDP messages are sent to the next router and the TTL value is increased by 1. The TTL value is now set to 2, which causes the second router to return ICMP Time Exceeded Message. This process will continue until the packets reach the destination. Once the datagram reaches the destination host and tries to access an invalid port, the ICMP Port Unreachable Message (unreachable port) is returned, telling the traceroute that it has reached its destination and stops there.
Method #3 - DNS Lookup
The third diagnostic tool is DNS Lookup. Domain Name System (DNS) is a distributed database in which you can map hostnames to IP addresses through the DNS protocol from a DNS server. Each unique IP address can have an associated hostname. DNS lookup is a diagnostic tool that will help find DNS records of a domain name. It can help find the IP address of the domain name and also do a reverse search to find the domain name associated with the IP address.
Here's a quick 2-minute tech talk about ping, traceroute, and DNS lookup:
Ping, Traceroute, and DNS Lookup
Step 1. Log in to the web configuration page of your router.
Step 2. Navigate to Administration > Diagnostic.
Step 3. In the Ping or Trace on IP Address section, enter the IP Address or Domain Name that you want to ping. Click the Ping button.
In this example, 188.8.131.52 was entered in. 184.108.40.206 is the public DNS server at Google.
Note: You can also ping private IP addresses on your network.
Step 4. To find the route to the destination, enter the IP Address or Domain Name that you want to trace, and then click Traceroute. You should be able to see the path that packets take when traveling to google.com.
Note: Public IP addresses to the destination have been blurred.
Step 5. In the Perform a DNS Lookup section, enter the IP Address or Domain Name that you want to find information about. Click Lookup to start the lookup process.
In this example, we have entered in google.com.
Note: You can also perform a reverse DNS lookup by entering an IP address instead of a domain name.
You should now know how to use ping, traceroute, and DNS lookup on the RV160 and RV260 series routers.