• LOGIN
  • No products in the cart.

Top DHCP Interview Questions And Answers

What is DHCP server?

DHCP stands for Dynamic Host Configuration Protocol. It is a network protocol that enables a server to assign automatically IP address range such as subnet, gateway, etc. to the computer in a network. It uses 67 and 68 port number.

What information can a DHCP server provide to a host?

A DHCP server can provide the following information:

 IP address

 Subnet mask

 Default gateway

 Domain Name Server

 WINS information 

Who Created DHCP? How Was It Created?

DHCP was created by the Dynamic Host Configuration Working Group of the Internet Engineering Task Force (IETF; a volunteer organization that defines protocols for use on the Internet). As such, it’s definition is recorded in an Internet RFC and the Internet Activities Board (IAB) is asserting its status as to Internet Standardization.

As of this writing (June 1998), DHCP is an Internet-Draft Standard Protocol and is Elective. BOOTP is an Internet-Draft Standard Protocol and is recommended. For more information on Internet standardization, see RFC2300 (May 1998)

WhatIsDhcp’sPurpose?

DHCP’s motive is to allow character computer systems on an IP community to extract their configurations from a server (the ‘DHCP server’) or servers, in particular, servers that have no precise records about the person computer systems till they request the information. The general reason of this is to decrease the work vital to administer a massive IP network. The most great piece of records dispensed in this manner is the IP address.

Where Is Dhcp Defined? Which ports are used by DHCP?

 It is defined in Internet RFCs. The ports used are 67 and 68

What Is The Dhcp Process For Client Machine?

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 been given a lease on the address for a server-specified period of time.

List Some Benefits Of Using DHCP?

DHCP gives the following advantages for administering your TCP/IP-based network:

Safe and dependable configuration.DHCP avoids configuration mistakes prompted by way of the want to manually kind in values at every computer. Also, DHCP helps forestall tackle conflicts brought about by means of a before assigned IP tackle being reused to configure a new laptop on the network.

Reduces configuration management.

Using DHCP servers can radically reduce time spent to configuring and reconfiguring computer systems on your network. Servers can be configured to provide a full vary of extra configuration values when assigning tackle leases.

These values are assigned the usage of DHCP options. Also, the DHCP rent renewal technique helps guarantee that the place customer configurations want to be up to date frequently (such as customers with cellular or transportable computer systems who trade places frequently), these modifications can be made efficaciously and routinely by way of consumers speaking immediately with DHCP servers.

The following area covers troubles that have an effect on the use of the DHCP Server provider with different offerings or community configurations. Using DNS servers with DHCP Using Routing and Remote Access servers with DHCP Multi homed DHCP servers.      

DHCP Live Training

                                

What is DHCP scope?                 

DHCP scopes are used to define ranges of addresses from which a DHCP server can assign IP addresses to clients.

What is DHCP Super Scope?

 A superscope is a collection of individual scopes that can be managed as a single administrative unit in the network.

Types of Scopes In Windows DHCP?
• Normal Scope – Allows A, B and C Class IP tackle tiers to be precise consisting of subnet masks, exclusions and reservations. Each regular scope described have to exist inside its personal subnet.
• Multicast Scope – Used to assign IP tackle tiers for Class D networks. Multicast scopes do no longer have subnet masks, reservation or different TCP/IP options.
Multicast scope tackle stages require that a Time To Live (TTL) cost be distinctive (essentially the wide variety of routers a packet can ignore thru on the way to its destination).
• Superscope – Essentially a series of scopes grouped collectively such that they can be enabled and disabled as a single entity.

What Is Authorizing Dhcp Servers In Active Directory?

If a DHCP server is to operate within an Active Directory domain (and is not running on a domain controller) it must first be authorized.
This can be achieved either as part of the DHCP Server role installation, or subsequently using either DHCP console or at the command prompt using the netsh tool.
If the DHCP server was not authorized during installation, invoke the DHCP console (Start -> All Programs -> Administrative Tools -> DHCP),
right-click on the DHCP to be authorized and select Authorize.
To achieve the same result from the command prompt, enter the following command:
netsh dhcp server serverID initiate auth
In the above command syntax, serverID is replaced by the IP address or full UNC name of system on which the DHCP server is installed.

Describe the process of installing a DHCP server in an AD infrastructure?

Open Windows Components Wizard. Under Components , scroll to and click Networking Services. Click Details . Under Subcomponents of Networking Services , click Dynamic Host Configuration Protocol (DHCP) and then click OK .

Click Next . If prompted, type the full path to the Windows Server 2003 distribution files, and then click Next. Required files are copied to your hard disk.

WhatisDHCPINFORM? 

DHCPInform is a DHCP message used by DHCP clients to obtain DHCP options. While PPP remote access clients do not use DHCP to obtain IP addresses for the remote access connection, Windows 2000 and Windows 98 remote access clients use the DHCPInform message to obtain DNS server IP addresses, WINS server IP addresses, and a DNS domain name.

The DHCPInform message is sent after the IPCP negotiation is concluded. The DHCPInform message received by the remote access server is then forwarded to a DHCP server. The remote access server forwards DHCPInform messages only if it has been configured with the DHCP Relay Agent. 

Describe the integration between DHCP and DNS? 

Traditionally, DNS and DHCP servers have been configured and managed one at a time. Similarly, changing authorization rights for a particular user on a group of devices has meant visiting each one and making configuration changes.

DHCP integration with DNS allows the aggregation of these tasks across devices, enabling a company’s network services to scale in step with the growth of network users, devices, and policies, while reducing administrative operations and costs. This integration provides practical operational efficiencies that lower total cost of ownership.

Creating a DHCP network automatically creates an associated DNS zone, for example, reducing the number of tasks required of network administrators. And integration of DNS and DHCP in the same database instance provides unmatched consistency between service and management views of IP address-centric network services data.

Can A Dhcp Server Back Up Another Dhcp Server?

You can have two or more servers handing out leases for different addresses. If each has a dynamic pool accessible to the same clients, then even if one server is down, one of those clients can lease an address from the other server. However, without communication between the two servers to share their information on current leases, when one server is down, any client with a lease from it will not be able to renew their lease with the other server.

Such communication is the purpose of the “server to server protocol”. It is possible that some server vendors have addressed this issue with their own proprietary server-to-server communication.

What is authentication DHCP server?

Enabling AD Know the availability of DHCP server Useful when we have multiple DHCP Server and you want to you designate one particular DHCP server to be active. Then we should authorize.

What ports are used by DHCP and the DHCP clients?

UDP Port 68 used for Requests.

UDP Port 67 used for server Replies.

Can A Bootp Client Boot From A Dhcp Server?

Only if the DHCP server is specifically written to also handle BOOTP queries.

What is an IP Lease? What is the default duration of a lease?

DHCP server clients an IP to the client for a period of 8 days. This offer is called IP Lease.

The number of days is 8 Days.

How  does  DHCP  and  BOOTP  handle  multiple  subnets?

For the situations where there is more than one LAN, each with its own subnet number, there are two ways. First of all, you can set up a seperate server on each subnet. Secondly, a feature of some routers known as “BOOTP forwarding” to forward DHCP or BOOTP requests to a server on another subnet and to forward the replies back to the client. The part of  such a router (or server acting as a router) that does this is called a “BOOTP forwarding agent”. Typically you have to enable it on the interface to the subnet to be served and have to configure it with the IP address of the DHCP or BOOTP server. On a Cisco router, the address is known as the “UDP Helper Address”.

UDP Port 67 used for server Replies.

How can I prevent unauthorized laptops from using a network that uses DHCP for dynamic addressing?

This would have to be done using a mechanism other than DHCP. DHCP does not prevent other clients from using the addresses it is set to hand out nor can it distinguish between a computer’s permanent MAC address and one set by the computer’s user. DHCP can impose no restrictions on what IP address can use a particular port nor control the IP address used by any client.

Can DHCP work with AppleTalk or IPX?

No, it is too tied to IP. Furthermore, they don’t need it since they have always had automated mechanisms for assigning their own network addresses.

Can DHCP support statically defined addresses?

Yes. At least there is nothing in the protocol to preclude this and one expects it to be a feature of any DHCP server.
This is really a server matter and the client should work either way. The RFC refers to this as manual allocation.

Purpose of DHCP Relay agent?

DHCP server is available on another N/W and you want another N/W to obtain IPs from the DHCP server. Then the DHCP, RA can forward the request from the clients to the DHCP server to obtain IPs for the clients it acts like a mediator between clients and DHCP.

When will the server to server protocol be defined?

The DHC WG of the IETF is actively investigating the issues in inter-server communication. The protocol should be defined “soon”.

How Can I Relay Dhcp If My Router Does Not Support It?

A server on a net(subnet) can relay DHCP or BOOTP for that net. Microsoft has software to make Windows NT do this.

What Is A Client Id?

What is termed the Client ID for the functions of the DHCP protocol is something is used through the protocol to become aware of the patron computer. By default, DHCP implementations generally appoint the client’s MAC tackle for this purpose, however the DHCP protocol approves different options. Some DHCP implementations have a setup alternative to specify the customer ID you want. One choice to the MAC tackle is certainly a persona string of your choice.
In any case, in order for DHCP to function, you should be positive that no different patron is the usage of the patron ID you choose, and you should be certain the DHCP server will receive it.

Is A Dhcp Client “supposed To” Be Able To Use A Bootp Server?

The RFC on such interoperability (1534) is clear: “In summary, a DHCP server:

MAY support BOOTP clients,” (section 2). The word “MAY” indicates such support, however useful, is left as an option. A source of confusion on this point is the following statement in section 1.5 of RFC 1541: “DHCP must provide service to existing BOOTP clients.”

However, this statement is one in a list of “general design goals for DHCP”, i.e. what the designers of the DHCP protocol set as their own goals. It is not in a list of requirements for DHCP servers.

DHCP Online Training

 What Is Dhcp Spoofing?

Ascend Pipeline ISDN routers (which attach Ethernets to ISDN lines) incorporate a feature that Ascend calls “DHCP spoofing” which is essentially a tiny server implementation that hands an IP address to a connecting Windows 95 computer, with the intention of giving it an IP number during its connection process

What Is A Dhcp Lease?How Long Should A Lease Be?

A DHCP hire is the quantity of time that the DHCP server offers to the DHCP purchaser permission to use a precise IP address. A ordinary server permits its administrator to set the rent time.
A very applicable aspect is that the patron starts offevolved making an attempt to renew the rent when it is midway through: thus, for example, with a four day lease, the patron which has misplaced get right of entry to to its DHCP server has two days from when it first tries to renew the rent till the hire expires and the purchaser need to give up the usage of the network.
During a 2- day outage, new customers can’t get new leases, however no hire will expire for any laptop became on at the time that the outage commences. Another issue is that the longer the rent the longer time it takes for consumer configuration adjustments managed by way of DHCP to propogate.

Where We Can Change The Default Dhcp Database Interval Time?

We can change the default interval time for DHCP database by modifying the Registry value BackupInterval in the following location in registry.

.

May 14, 2020
GoLogica Technologies Private Limited  © 2019. All rights reserved.