PROTOCOL EXPLORERHOW THE INTERNET TALKS

OSI 

Protocols

Protocol overview

PACKET FLOW

NO.TIMESOURCEDESTINATIONPROTOCOLINFOSIZE
Try it hands-on: build a network and watch real ARP, DNS, DHCP and ICMP packets in the Network Lab.

How SMTP works

SMTP sends email: your mail app submits the message to your provider's server, which looks up the recipient domain's MX record and relays it to their mail server.

Layer: Application (OSI layer 7) · Port: 25 / 587 · Transport: TCP · Format: Text commands · Standard: RFC 5321

SMTP packet flow

  1. SMTP Client → Mail Server: EHLO laptop / AUTH / MAIL FROM:<you@nanotech-kw.com>
  2. SMTP Client → Mail Server: RCPT TO:<ali@example.com> DATA …
  3. SMTP Mail Server → Client: 250 OK queued as 4F2A1
  4. DNS Mail Server → DNS Resolver: Query MX example.com
  5. DNS DNS Resolver → Mail Server: MX 10 mx.example.com
  6. SMTP Mail Server → Recipient MX: Relay: MAIL FROM / RCPT TO / DATA

Other protocols: HTTP · WebSocket · QUIC · IMAP · POP3 · FTP · SMB · WebRTC · SIP · RTSP · RTMP · MQTT · Modbus · PPPoE