6.2 Verifying Connectivity Flashcards
ICMP
Internet Control Message Protocol
ICMP is mainly used by a router or remote host to communicate why transmission has failed back to the origin of the transmission.
ICMP PACKET
It has a header with a few fields and a data section that’s used by a host to figure out which of their transmissions generated the error.
1 TYPE FIELD
2 CODEFIELD
3 CHECKSUM
4 REST OF HEADER
5 DATA PAYLOAD
1 TYPE FIELD
Eight bits long, which specifies what type of message is being delivered.
2 CODEFIELD
Indicates a more specific reason for the message than just the type.
3 CHECKSUM
16-bit checksum that works like every other checksum field.
4 REST OF HEADER
32-bit field optionally used by some of the specific types and codes to send more data.
5 DATA PAYLOAD
The payload for an ICMP packet exists entirely so that the recipient of the message knows which of their transmissions caused the error being reported.
It contains the entire IP header and the first eight bytes of the data payload section of the offending packet.
PING
With Ping, you have a way to determine if you can reach a certain computer from another one.
Is a program that lets you send a special type of ICMP message called an ECHO REQUEST.
An ICMP echo request essentially just as a destination.
If the destination is up and running and able to communicate on the network, it’ll send back an ICMP echo reply message type.
Output of the ping command is very similar across each of the different operating systems.
Every line of output will generally display the address sending the ICMP echo reply and how long it took for the round-trip communications.
It will also have the TTL remaining and how large the ICMP message is in bytes.
TRACEROUTE, TRACERT
Traceroute is a utility that lets you discover the paths between two nodes, and gives you information about each hop along the way.
MTR, PATHPING
These two tools act as long running trace routes.
So you can better see how things change over a period of time.
NETCAT, TEST-NETCONNECTION
This is a way for you to actually send application layer data to the listening service from your own keyboard.