5.8. Echo-Request And Echo-Reply
Maybe your like
LCP includes Echo-Request and Echo-Reply Codes in order to provide a Data Link Layer loopback mechanism for use in exercising both directions of the link. This is useful as an aid in debugging, link quality determination, performance testing, and for numerous other functions.
Upon reception of an Echo-Request in the LCP Opened state, an Echo-Reply MUST be transmitted.
Echo-Request and Echo-Reply packets MUST only be sent in the LCP Opened state. Echo-Request and Echo-Reply packets received in any state other than the LCP Opened state SHOULD be silently discarded.
A summary of the Echo-Request and Echo-Reply packet formats is shown below. The fields are transmitted from left to right.
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Code | Identifier | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Magic-Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Data ... +-+-+-+-+
Code
9 for Echo-Request; 10 for Echo-Reply.
Identifier
On transmission, the Identifier field MUST be changed whenever the content of the Data field changes, and whenever a valid reply has been received for a previous request. For retransmissions, the Identifier MAY remain unchanged.
On reception, the Identifier field of the Echo-Request is copied into the Identifier field of the Echo-Reply packet.
Magic-Number
The Magic-Number field is four octets, and aids in detecting links which are in the looped-back condition. Until the Magic-Number Configuration Option has been successfully negotiated, the Magic- Number MUST be transmitted as zero. See the Magic-Number Configuration Option for further explanation.
Data
The Data field is zero or more octets, and contains uninterpreted data for use by the sender. The data may consist of any binary value. The end of the field is indicated by the Length.
Next: 5.9. Discard-Request Connected: An Internet Encyclopedia 5.8. Echo-Request and Echo-Reply
Tag » What Is Echo Request And Reply
-
ICMP Echo Request And Echo Reply - Interface Serial
-
5.1.4.1. Echo Request And Echo Reply Query Messages - O'Reilly
-
ICMP - Echo / Echo Reply (Ping) Message
-
What Are ICMP PING Responses? - NetApp
-
ICMP Echo Request And Echo Reply Messages
-
ICMP (Internet Control Message Protocol) Part-2: Request And Reply
-
ICMPv4 Echo (Request) And Echo Reply Messages
-
ICMPv6 Echo Request And Echo Reply Messages - The TCP/IP Guide!
-
What Is Echo Request And Echo Reply In ICMP?
-
Understanding ICMP Echo Request - Linux Hint
-
Internet Control Message Protocol - Wikipedia
-
Ping (networking Utility) - Wikipedia
-
CAPEC-285: ICMP Echo Request Ping (Version 3.7)
-
Echo And Echo Reply - Cisco Community