CS FundamentalsHardGATE CS · Product company CS fundamentals
A DHCP server sits on 10.0.0.0/24 and serves clients on 10.5.7.0/24 through a relay agent on that client router interface (10.5.7.1). How does the server know which pool to allocate from?
- A. The client puts its subnet number in the ciaddr field of DHCPDISCOVER
- B. The relay writes its interface address 10.5.7.1 into giaddr; the server picks the matching pool
- C. The server looks at the source MAC address of the request
- D. The server allocates from its own subnet 10.0.0.0/24 and the router translates it
Correct answer: B. The relay writes its interface address 10.5.7.1 into giaddr; the server picks the matching pool
The client has no address yet (ciaddr = 0.0.0.0) and its broadcast cannot cross the router. The relay unicasts the message to the server with giaddr = the receiving interface's address; the server uses giaddr to choose the scope and sends its reply back to the relay.
More Computer Networks questions
- Classic UNIX traceroute sends UDP probes with increasing TTL. How does it know that a probe has reached the destination host itself?
- A browser re-requests a cached image with the header If-Modified-Since. The image has not changed on the server. What does the server send?
- How many of the following statements are correct? 1. HTTP/2 multiplexes many requests as streams over one TCP connection. 2. HTTP/2…
- Alice writes an email in a web browser using a webmail service; it is delivered to Bob's mail server and Bob reads it in a desktop client…
- How many of the following statements about FTP are correct? 1. FTP sends control information out-of-band on a separate TCP connection…
- A router holds 50 packets on average (queued plus in service), and packets arrive at an average of 10,000 per second. What is the average…