The form element
Click the "Submit" button and the form-data will be sent to a page on the server called "action_page.php".
You can Learn Here all about Computer Networking and other Computer Knowledge
Click the "Submit" button and the form-data will be sent to a page on the server called "action_page.php".
Packet flow in network
In the computer network world Packet flow is the most important key for Every Communication happening between computers. Every computer is sending and receiving data from server or other users.
To make communication between computers or networking device we must to know how Data packet is traveling between two computers in the network.
For example if we have a computer (PC-1) in home network and we want to communicate with Google.com (Web-Server) then how packet will flow in the network from our computer to the Google.com server and how we will get data from Google server (Check the below image: Understanding Packet Flow Across the Network).
In the above Diagram we can see the PC-1 and Web-server are connected with networ switch and switch is connected with Router, Routers are connected together and same things happining with the web-server too. In the computer network multiple Networking devices i.e Router, Switch and Cables (Ethernet and Serial Cables) are working together to make communication secusfull between these devices.
ICMP (Internet Control Message Protocol) is a network protocol used for diagnostics and network management. A good example is the “ping” utility which uses an ICMP request and ICMP reply message. When a certain host of port is unreachable, ICMP might send an error message to the source. Another example of an application that uses ICMP is traceroute.
ICMP messages are encapsulated in IP packets so most people would say that it’s a layer 4 protocol like UDP or TCP. However, since ICMP is a vital part of the IP protocol it is typically considered a layer 3 protocol.
The header that ICMP uses is really simple, here’s what it looks like:
The second byte called code specifies what kind of ICMP message it is. For example, the destination unreachable message has 16 different codes. When you see code 0 it means that the destination network was unreachable while code 1 means that the destination host was unreachable.
The third field are 2 bytes that are used for the checksum to see if the ICMP header is corrupt or not. What the remaining part of the header looks like depends on the ICMP message type that we are using.
R1#ping 192.168.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/21/64 ms
In the router R2 we have implemented Access list to dent the ICMP Reply. When ping fails and we can see the U (unreachable) messages on R1. Here’s the ICMP message that R2 sends:
R1#ping 192.168.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
UUUUU
Success rate is 0 percent (0/5)
When we will check in the Wireshark we can see the Type 3 and code 13 is using for reply.
here 3 is for destination Unreachable and 13 is for communication administratively filtered.
R1#traceroute 192.168.23.3 probe 1
Type escape sequence to abort.
Tracing the route to 192.168.23.3
1 192.168.12.2 52 msec
2 192.168.23.3 60 msec
Cisco IOS by default will send multiple probes. Cisco IOS uses UDP packets with a TTL value of 1 and destination port 33434. The TTL and destination port will increase for every hop. Once R2 receives this packet it will reply like this: R3 will reply with a type 3 destination unreachable message. Take a close look at the type and code. The type tells us the destination is unreachable. This could mean that the remote host or network is unreachable.
However, the code is number 3 which means port unreachable. R3 uses this code because nothing is listening on UDP port 33435. R3 replies to R1 and sets this code, so R1 at least now knows that R3 (192.168.23.3) is reachable, it’s just not listening in UDP port 33435.
Summary:The Internet Control Message Protocol (ICMP) has many messages that are identified by a "type" field, these are defined by RFCs. Many of the types of ICMP message are now obsolete and are no longer seen in the Internet. Some important ones which are widely used include:
Echo Reply (0), Echo Request (8), Redirect (5), Destination Unreachable (3), Traceroute (30), Time Exceeded (11).