8.1 Ping and Tracert Overview
This section describes the basic concepts of ping and tracert, and the support for ping and tracert
on the AR150/200.
8.1.1 Introduction to Ping and Tracert
When a device is faulty, you can use ping and tracert operations to check the network
connectivity.
The
ping
command is used to check network connections and detect whether a host is reachable.
The
tracert
command is used to detect the gateways that packets pass when being transmitted
from source hosts to destinations. It is mainly used to check if the network connection is
reachable, and locate the network fault.
The process of executing the
tracert
command is as follows:
1.
A packet with TTL being 1 is transmitted.
2.
An ICMP error message is returned in the first hop, indicating that the packet cannot be
transmitted because the TTL has timed out.
3.
The packet with TTL increased by 1 is retransmitted.
4.
A similar TTL timeout error message is returned in the second hop.
The process continues until the packet reaches its destination. In this process, the source
host can record the source address of each ICMP TTL timeout message and obtain the IP
packet transmission path.
8.2 Configuring Ping and Tracert
This part describes how to check the network connectivity through ping and tracert operations.
8.2.1 Establishing the Configuration Task
Before checking the network connectivity through ping and tracert operations, familiarize
yourself with the applicable environment, complete the pre-configuration tasks, and obtain the
required data. This can help you complete the configuration task quickly and accurately.
Applicable Environment
A user cannot access the network. Then you need to use Ping and Tracert to test the network
connectivity.
Pre-configuration Task
Before configuring Ping or Tracert, complete the following tasks:
l
Connecting the user and the network correctly
l
Assigning an IP address to the user correctly
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
8 Ping and Tracert
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
261