Use a figure to explain the packets that were exchanged by the DHCP client and the DHCP server as part of the process of acquiring an IP address.

What will be an ideal response?


A DHCP DISCOVER message is first broadcasted by a DHCP client to discover the available

DHCP servers in the network. If there is any DHCP server present, it responds to the client request by

issuing a DHCP OFFER message. The message is broadcasted but the client’s MAC address is included

in the packet to enable other hosts to resolve the intended destination. They drop the packet if its not

meant for them. The DHCP client then issues a DHCP Request message asking for the configuration parameters through the ‘options’ field in the request packet. This packet is also broadcasted. This allows the other DHCP servers (if present) to determine if their offer was accepted or not. The selected server then gets back to the client with the configuration parameters through the DHCP ACK message. A typical message sequence chart for the DHCP transactions is as follows:



```

5 0.995108 0.0.0.0 255.255.255.255 DHCP DHCP

Discover - Transaction ID 0x521c325f

6 0.995319 10.0.1.21 255.255.255.255 DHCP DHCP Offer

- Transaction ID 0x521c325f

7 0.995461 0.0.0.0 255.255.255.255 DHCP DHCP

Request - Transaction ID 0x5

Computer Science & Information Technology

You might also like to view...

Class Arrays methods sort, binarySearch, equals and fill are overloaded for primitive-type arrays and Object arrays. In addition, methods __________ and __________ are overloaded with generic versions.

a. sort, binarySearch. b. sort, fill. c. binarySearch, equals. d. binarySearch, fill.

Computer Science & Information Technology

Suppose that you are going to create an object used to count the number of people in a room. We know that the number of people in the room can never be negative.

Create a RoomCounter class having three public methods: • addPerson—adds one person to the room • removePerson—removes one person from the room • getCount —returns the number of people in the room If removePerson would make the number of people less than zero, throw a NegativeCounterException.

Computer Science & Information Technology

The MoveTo method takes three arguments. What do the first two arguments repre- sent?

a) The direction in which the Agent should move (left, right, up, down). b) The name of the character and its position. c) The x-coordinate and y-coordinate of the location to which the Agent should move. d) The name of the character and the direction of movement.

Computer Science & Information Technology

Match the following Excel Elements with their description or action:

I. Enter II. Cancel III. Status bar IV. Zoom control V. Formula bar A. Reverts back to previous data B. Shows the contents of the active cell C. Displays information about a command or operation as it is being performed D. Accepts the data E. Allows you to see more or less on the screen at one time

Computer Science & Information Technology