liveBook · Manning

Client-server architecture

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

Client-server architecture is a distributed-system pattern that separates clients requesting services from servers providing them.

Client-server architecture separates devices or applications that request services from servers that process requests and provide responses. This separation supports scalable network services and lets client and server applications evolve independently when their interface remains compatible. section 4.1 section 23.3.1

Recognize the pattern through these operating characteristics:

  • Clients initiate requests; servers respond with resources, configuration, or other services. section 4.1 section 23.3.1
  • The server may maintain state: DHCP tracks leased addresses, while REST exchanges are stateless and independent. section 4.1 section 23.3.1
  • The roles are functional rather than permanent: a network device can act as a client for one service and a server for another. section 8.1
  • Apply the pattern through protocol-specific details, such as DHCP UDP ports 67 and 68 or REST HTTP requests. section 4.4 section 23.3.1

DHCP lease

A host broadcasts a DHCP DISCOVER, receives an OFFER, broadcasts a REQUEST, and receives an ACK. The server then records the lease and supplies an IP address, netmask, default gateway, and DNS server. On Cisco IOS, administrators can define excluded addresses with ip dhcp excluded-address and create a pool with ip dhcp pool. section 4.4 section 4.1

Figure 4.1 R1, a DHCP server, leases IP addresses to clients PC1 and PC2. In addition to IP addresses, clients learn their netmask, default gateway, and DNS server addresses. R1 keeps track of leases and when they expire.

Shows a router leasing addresses and network parameters to clients while tracking lease expiration. section 4.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Defines roles, request flow, statefulness, and examples, but leaves implementation details to each protocol.
Examples
Uses DHCP DORA exchanges, Cisco IOS DHCP pools, REST requests, and TFTP transfers between PCs and network devices.
What you can do after
Apply it to recognize service roles, trace request flows, and configure basic Cisco IOS DHCP behavior.
How it connects
Connects DHCP, REST APIs, HTTP, TFTP, SLAAC, UDP, and TCP through contrasting client-server and state models.

Also explained in

Compare how 5 books explain client-server architecture →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.