How Your PC Communicates with Google: Step-by-Step Network Journey

When your PC communicates with Google’s server (e.g., http://www.google.com), there’s a sequence of events happening from your local network to Google’s global infrastructure.


🧩 Step-by-Step Communication Flow

1️⃣ You type “http://www.google.com” in your browser

Your browser doesn’t know where Google is yet—it only has a domain name.


2️⃣ DNS Resolution (Finding the IP Address)

🔸 Now your PC knows where to send packets — Google’s IP.


3️⃣ ARP (Address Resolution Protocol)

Before sending packets out, your PC needs to know the MAC address of the next hop (usually your router).


4️⃣ TCP Connection Establishment (3-Way Handshake)

Your PC establishes a TCP connection with Google’s server (port 443 for HTTPS):

  1. SYN → Client → Server (request to start session)
  2. SYN-ACK ← Server → Client (acknowledge and agree)
  3. ACK → Client → Server (final confirmation)

✅ Connection established.


5️⃣ TLS/SSL Handshake (Secure Encryption)

Since Google uses HTTPS, a TLS handshake occurs:

🔒 Now communication is encrypted end-to-end.


6️⃣ HTTP Request and Response

The web page starts loading.


7️⃣ Data Flow Path

Google uses CDNs (Content Delivery Networks) — your request is usually served from the nearest Google edge server, not necessarily the US.


8️⃣ Response Rendered

Your browser receives the HTML and starts rendering the Google homepage with logo, search box, etc.


🌐 Simplified OSI Model Mapping

OSI LayerExample in this process
7 – ApplicationHTTP / HTTPS
6 – PresentationSSL/TLS encryption
5 – SessionTCP connection management
4 – TransportTCP (Port 443)
3 – NetworkIP addressing and routing
2 – Data LinkEthernet / Wi-Fi (MAC addresses)
1 – PhysicalCables, Wi-Fi signals, etc.
renjithbs Avatar

Posted by

Leave a comment