answersLogoWhite

0


Best Answer

Firstly, a DHCP server is needed which distributes the IP addresses. This machine will serve as a base for all DHCP requests and must also have a fixed IP address. Therefore, on a network there can only be one machine with a fixed IP address, the DHCP server.

The basic communication system is BOOTP (with UDP frame). When a machine is turned on, it has no information on its network configuration, and there is nothing special that the user needs to do to find an IP address. In order to do this, the technique used is the broadcast: to find and talk with a DHCP server, the machine will simply send a special broadcast packet (broadcast on 255.255.255.255 with other information such as the type of request, the connection ports, etc.) over the local network. When the DHCP receives the broadcast packet, it will send back another broadcast packet (do not forget that the client does not obviously have the IP address and that therefore cannot be connected to directly) containing all the information required for the client.

It could be believed that one single packet is enough for the protocol to work. In fact, there are several types of DHCP packets likely to be issued either by the client for the server(s), or by the servers to a client:

DHCPDISCOVER (to locate available DHCP servers)

DHCPOFFER (server response to a DHCPDISCOVER packet, which contains the initial parameters)

DHCPREQUEST (varied request from the client for example to extend its lease)

DHCPACK (server response which contains the parameters and IP address of the client)

DHCPNAK (server response to indicate to the client that its lease has expired or if the client announces a bad network configuration)

DHCPDECLINE (the client announces to the server that the address is already in use)

DHCPRELEASE (the client releases its IP address)

DHCPINFORM (the client requests local parameters, it already has its IP address)

The first packet issued by the client is a DHCPDISCOVER type packet. The server responds with a DHCPOFFER packet, particularly in order to submit an IP address to the client. The client establishes its configuration and then makes a DHCPREQUEST to validate its IP address (a broadcast request since DHCPOFFER does not contain the IP address). The server simply responds with a DHCPACK with the IP address for confirmation of the allocation. Normally, this is enough for the client to obtain an effective network configuration, but it can be longer or shorter according to whether the client accepts the IP address or not.


Hope this will help you to understand DHCP.

Regards,
Jaydeep.Gatlewar@gmail.com
User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

DORA

This process of assigning the IP addresses by the DHCP server also known as DORA (Discover Offer Request and Acknowledgement).

  1. Client makes a UDP Broadcast to the server about the DHCP discovery.
  2. DHCP offers to the client.
  3. In response to the offer Client requests the server.
  4. Server responds all the Ip Add/mask/gty/dns/wins info along with the acknowledgement packet.
  • At least one DHCP server must exist on a network. Once the DHCP server software is installed, you create a DHCP scope, which is a pool of IP addresses that the server manages. When clients log on, they request an IP address from the server, and the server provides an IP address from its pool of available addresses.
  • DHCP was originally defined in RFC 1531 (Dynamic Host Configuration Protocol, October 1993) but the most recent update is RFC 2131 (Dynamic Host Configuration Protocol, March 1997). The IETF Dynamic Host Configuration (dhc) Working Group is chartered to produce a protocol for automated allocation, configuration, and management of IP addresses and TCP/IP protocol stack parameters.
This answer is:
User Avatar

User Avatar

Wiki User

13y ago

When a host computer connects to a network, it attempts to contact any DHCP servers available through a broadcast asking them for an available IP address. The DHCP servers then scan their pool of IP addresses and send one to the host along with info such as DNS server info, subnet mask, and default gateway. The host then sends a message back to the DHCP server to notify that it has accepted the IP address provided. Now you are connected to the network!

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Describe the steps taken by the client and DHCP server in order to obtain an IP address?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When you are binding to an LDAP server what information is passed between the server and LDAP client?

The client IP address, the clients host name, the port address to use during communication


Which of the following will happen when a client doesn't know the server address on a network containing a router?

The broadcast message is forwarded using an IP helper address, The client broadcasts to find the server


What is use of domain?

Inverse domain is used to map an address to a name. For instance, if a server receives a request from a client and this server has only the ip addresses of the clients in its list then the server needs to find out if this client is on its authorized client list. In order to determine if the client is on the authorized client list,server asks its resolver to query to the DNS server to map an address to name. And this type of querys are called inverse query(pointer query -PTR).


What is Use of inverse domain?

Inverse domain is used to map an address to a name. For instance, if a server receives a request from a client and this server has only the ip addresses of the clients in its list then the server needs to find out if this client is on its authorized client list. In order to determine if the client is on the authorized client list,server asks its resolver to query to the DNS server to map an address to name. And this type of querys are called inverse query(pointer query -PTR).


In the Absence of dhcp server which ip client will receive?

A DHCP server will privide a client with a valid IP address for the network for which the DHCP server is providing a service.Where there is no DHCP server the IP address for a client must be set manually. When doing this care must be taken to ensure that two IP addresses are not set the same on the network.


What are two examples of client server networks?

show mac address table


What two terms describe the data requester and data provider in LAN?

Client and server


Why is the web known as client server system?

When you enter a URL into your browser you are directing your computer to connect to a server that is listening at the corresponding ip address, which will then send you the HTML that makes up that web page. Your computer is a client connecting to a server.


Which type of server assigns ip addresses to clients on a temporary or lease basis?

The DHCP server (Dynamic Host Configuration Protocol)What is DHCP?Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically assign an IP address to a computer from a defined range of numbers (i.e., a scope) configured for a given network. DHCP assigns an IP address when a system is started, for example:A user turns on a computer with a DHCP client.The client computer sends a broadcast request (called a DISCOVER or DHCPDISCOVER), looking for a DHCP server to answer.The router directs the DISCOVER packet to the correct DHCP server.The server receives the DISCOVER packet. Based on availability and usage policies set on the server, the server determines an appropriate address (if any) to give to the client. The server then temporarily reserves that address for the client and sends back to the client an OFFER (or DHCPOFFER) packet, with that address information. The server also configures the client's DNS servers, WINS servers, NTP servers, and sometimes other services as well.The client sends a REQUEST (or DHCPREQUEST) packet, letting the server know that it intends to use the address.The server sends an ACK (or DHCPACK) packet, confirming that the client has a been given a lease on the address for a server-specified period of time.


You are testing client server program how can test it in one computer making a single PC both client and server?

It's very simple. You just need to tell the client to connect to ip address 127.0.0.1, which is local host. You also define the port number for the client. On Server side, you just need to listen to that port. Then run both client and server programs on the same PC and it should work.


How do you know the ip address out of messages at imvu?

Simple anwser no. Imvu is client server not p2p


A client server network is also known as?

Pretty much a client server network is known as a client server network.