Skip to content
Network Systems

NET-05 · Educational simulation

DHCP & DNS Network Services

A device with no address joins the network. DHCP gives it an address, a gateway and a DNS server; DNS turns a name into an address; only then can it reach the server. Stop either service and watch where the chain breaks.

  1. 1DHCP · get an address
  2. 2DNS · resolve the name
  3. 3Connect to the server
Scenario
  • DHCP
  • DNS
  • TCP · application
  • Broadcast
  • Unicast

ReadyStep 0 / 27

The client has no IP address (0.0.0.0) and wants to reach server.osanet.local. Press “Start”.

Speed

Explanation

Before you start

The client is plugged into the switch but has no IP configuration at all. Press “Start” to watch it lease an address with DHCP (Discover, Offer, Request, ACK), resolve server.osanet.local with DNS, then connect to the web server — or “Step” to advance one event at a time.

  • Why is the DHCP Discover a broadcast, sent from 0.0.0.0?

    Keep going — the answer unlocks when the run reaches it.

  • Why does every server receive the Discover?

    Keep going — the answer unlocks when the run reaches it.

  • Is the client configured once the Offer arrives?

    Keep going — the answer unlocks when the run reaches it.

  • Why is the Request broadcast too?

    Keep going — the answer unlocks when the run reaches it.

  • How does the client know which DNS server to ask?

    Keep going — the answer unlocks when the run reaches it.

  • Why does DNS use UDP port 53?

    Keep going — the answer unlocks when the run reaches it.

  • What is an A record?

    Keep going — the answer unlocks when the run reaches it.

  • What do the packets carry — the name or the address?

    Keep going — the answer unlocks when the run reaches it.

Message inspector

No message

Protocol
—
Delivery
—
Source IP
—
Destination IP
—
Current device
—
Status
Ready

Protocol layers

Nothing yet

  1. Application—
  2. Service—
  3. Transport—
  4. Network—
  5. Data link—
  6. Physical—

Event timeline

0 / 27

  1. Client initialized
  2. DHCP Discover sent
  3. Switch flooded the Discover
  4. DHCP server received the Discover
  5. DHCP Offer sent
  6. Switch forwarded the Offer
  7. Client received the Offer
  8. DHCP Request sent
  9. Switch flooded the Request
  10. DHCP server received the Request
  11. DHCP ACK sent
  12. Switch forwarded the ACK
  13. DHCP ACK received
  14. IP configuration applied
  15. Name lookup started
  16. DNS Query sent
  17. Switch forwarded the query
  18. DNS server received the query
  19. DNS Response sent
  20. Switch forwarded the response
  21. Hostname resolved
  22. Application request sent
  23. Switch forwarded the request
  24. Server received the request
  25. SYN-ACK sent
  26. Switch forwarded the SYN-ACK
  27. Connection completed

DHCP lease inspector

DHCPINIT

  1. INIT
  2. SELECTING
  3. REQUESTING
  4. BOUND
Offered IP
—
Assigned IP
—
Subnet mask
—
Default gateway
—
DNS server
—
Lease time
—
DHCP server
—
Discovers sent
0
Lease status
No lease

DNS query inspector

DNSIDLE

  1. IDLE
  2. QUERYING
  3. RESOLVED
Query name
—
Query type
—
Protocol
UDP
Destination port
53
DNS server
—
Queries sent
0
Response
—
Response code
—

Application connection

TCP · HTTPIDLE

  1. IDLE
  2. CONNECTING
  3. CONNECTED
Hostname
server.osanet.local
Resolved IP
—
Destination
TCP 80
Client address
0.0.0.0
Connection
—
Designed & Developed by Osama Hasan Yahya

© 2026 OSANET90. All rights reserved.