Browsing the Internet 1
⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'
Excalidraw Data
Text Elements
Browsing the internet
Your browser generates an HTTP request.
The request is encapsulated with TCP, specifying the destination port 80 or 443.
The packet includes the destination IP address 93.184.216.34.
On the local network, our computer uses ARP to find the MAC address of the default gateway (router).
DNS lookup
Domain name --> Ip address
The data frame is sent to the router's MAC address.
The router forwards the packet toward the destination IP address.
Intermediate routers continue forwarding the packet based on the IP address.
Data transmission
the server receives the packet and directs it to the application listening on port 80 or 443.
The server processes the HTTP request and sends back a response following the same path in reverse.
Server
Processing
the server sends the response back to the client’s temporary port, which was randomly selected by the client’s operating system at the start of the session.
The response follows the reverse path back through the network, being directed from router to router based on the source IP address and port information until it reaches the client.
Response transmission