Application of ICMP--tracerouteTraceroute is an important tool to detect the routing between host and destination hosts, and is also the most convenient tool. As mentioned earlier, although the Ping tool can also detect, however, because of the IP
The Traceroute tool is used to track the transmission path of datagrams: When a datagram travels from one computer to another, it passes through multiple gateways, and the traceroute command can find all the routers on the datagram transmission path.
Mtr (My traceroute) is a Network Diagnostics tool that incorporates ping and traceroute into a program. The MTR provides two interfaces: a ncurses interface that is useful for using MTR from a Telnet session, and a GTK + interface for X (provided in
1. traceroute can be used to query routes from one host to another.
2. Principles
PingProgramA record routing option is provided, but not all hosts support this option, and the IP header option field can only store up to nine IP addresses.
Detailed description of the linuxtraceroute command: displays the path from the data packet to the host. Syntax: traceroute [-dFlnrvx] [-f] [-g...] [-I] [-m] [-p] [-s] [-t] [-w] [host name or IP address] [packet size] supplementary instructions: the
ICMP protocol
ICMP is often considered an integral part of the IP layer. It is a protocol at the network layer that transmits error messages and other information that requires attention, ICMP packets are usually used by the IP layer or higher
1.pingThe ping uses an ICMP echo request and a loopback reply message. The packet sent out by the Ping tool does not pass the TCP/UDP protocol, but goes through the IP protocol. The time that the ping command calculates is the total round-trip time
Layer three discovery three layer protocols are: IP and ICMP Protocol (Internet Management Protocol). ICMP is used to implement intenet management, path discovery, network communication, or target host status, and the ICMP protocol is used primarily
(reference) TCP/IP detailed, Volume 1: protocolThe name "ping" is derived from the sonar positioning operation. The goal is to test whether another host can be reached. The program sends an ICMP echo request message to the host and waits to return
Ping programThe ping program was written by Mike Muuss to test whether another host is available.The program sends an ICMP echo request message to the main clause and waits for an ICMP echo reply to be returned.The ping program can also detect the
Principles of Ping and Traceroute (5)
(Reference) TCP/IP explanation, Volume 1: Protocol
The name "ping" comes from the sonar positioning operation. The purpose is to test whether another host can arrive. The program sends an ICMP echo request
traceroute the principle of:1.traceroute host to be Trace Host Send UDP The destination port is a port with a large number (for example, 33434 Port)2. First package ttl= 1 Span style= "Font-family:simsun;" lang= "ZH-CN" xml:lang= "ZH-CN",
There is a monitoring host in Dongguan to Beijing, the problem of BGP; alarm SMS sent frantically; find Dongguan IDC and Beijing BGP service Provider assistant investigation;There is a strange problem; Beijing to Dongguan Trcaceroute have routing
Command name: PingFunction: Test network connectivityCommand path:/bin/pingUsage: ping [-c] IP addressParameters:-C specify number of times to sendCommand name: ifconfigFunction: View and set network card information (temporary settings)Command path:
Reprint Please note: @ small Wuyi: http://www.cnblogs/xiaowuyi
After scapy is installed (the first two notes are described), run sudo scapy in linux.1. Simple sending package
1. send () sends data packets on the third layer, but does not receive
Traceroute we can know what path the information from your computer to the other end of the Internet host is walking. Of course, each time a packet arrives at a similar destination (destination) by a similar starting point (source), the path may be
With traceroute, we can know the path from your computer to the host on the other end of the Internet. Of course, the path of each data packet from a certain source to a certain destination may be different, but it is basically large.
In linux,
ICMP Internet Control Message Protocolis generally considered an integral part of the IP layer and is generally used by the IP layer or higher (TCP, UDP).The ICMP message is transmitted inside the IP datagram.The format of the ICMP message is as
Role:A router, gateway that looks at which IP addresses the packet passed through during transmission.Working principle:First send a TTL of 1 UDP packets to the remote host, according to the protocol, the router receives the packet, the TTL value
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.