SlideShare a Scribd company logo
Dhcp Configuration File
DHCP CONFIGURATION FILE
 Dynamic Host Configuration Protocol (DHCP) is a client/server protocol
that automatically provides IP addresses and other related configuration
information such as subnet Mask and Default Gateway to the hosts
connected to the network.
 This method is efficient and convenient for large networks with many
hosts ,as the process of manually configuring each host is quiet time
consuming.
 By using DHCP one can ensure that every host on your network has valid
IP address ,Subnet Mask,Broadcast Address and Default Gateway.
 DHCP server should be configured for each of the subnet.
 Each host on subnet needs to be configured as DHCP client.
 A dhcpd program is to be installed on server.
DHCP CONFIGURATION FILE
 While installing select network servers and install the package.
 The configuration file for DHCP Server is /etc/dhcpd.conf.
Contents of a file:
• #the amount of time in seconds the host can keep the ip address
Default-lease-time 36000
• #domain name of dhcp server
• #name server
Option domain-name “abc.com”
option domain-name-servers 192.168.1.1
DHCP CONFIGURATION FILE
• #Gateway/routers
Option routers 1.2.3.4,1.2.3.5
Option routers 192.168.1.1
• #netmask(subnet mask of the network)
Option subnet-mask 255.255.255.0
• #broadcast address
Option broadcast-address 192.168.1.255
• #specify subnet number
Subnet 192.168.1.0 netmask 255.255.255.0
DHCP CONFIGURATION FILE
• #define which address can be assigned or used
Range 192.168.1.1 to 192.168.1.126
• If any changes are done in the file then restart dhcp server by using the
command :
Service dhcp restart

More Related Content

What's hot (20)

DOCX
DHCP
Nindi Permata
 
PDF
Mastering JUNOS DHCP
ZenSekibe
 
PPTX
5 things you didn't know nginx could do
sarahnovotny
 
KEY
Nginx - Tips and Tricks.
Harish S
 
PPTX
Nginx
Geeta Vinnakota
 
PPTX
Introduction to NGINX web server
Md Waresul Islam
 
PDF
Extending functionality in nginx, with modules!
Trygve Vea
 
PPT
Unit10
Nurul Nadirah
 
PPTX
Delivering High Performance Websites with NGINX
NGINX, Inc.
 
PPTX
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX, Inc.
 
PDF
Enterprise desktop at home with FreeIPA and GNOME
Alexander Bokovoy
 
PDF
Load Balancing Applications with NGINX in a CoreOS Cluster
Kevin Jones
 
PDF
Varnish SSL / TLS
Varnish Software
 
PPTX
High Availability Content Caching with NGINX
NGINX, Inc.
 
PPT
IPTABLES
Tan Huynh Cong
 
PDF
pfSense firewall workshop guide
Sopon Tumchota
 
PPTX
501 ch 3 network technologies tools
gocybersec
 
PPTX
DHCP and NIS
Sreenatha Reddy K R
 
PPTX
Choosing A Proxy Server - Apachecon 2014
bryan_call
 
PDF
Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Netgate
 
Mastering JUNOS DHCP
ZenSekibe
 
5 things you didn't know nginx could do
sarahnovotny
 
Nginx - Tips and Tricks.
Harish S
 
Introduction to NGINX web server
Md Waresul Islam
 
Extending functionality in nginx, with modules!
Trygve Vea
 
Delivering High Performance Websites with NGINX
NGINX, Inc.
 
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX, Inc.
 
Enterprise desktop at home with FreeIPA and GNOME
Alexander Bokovoy
 
Load Balancing Applications with NGINX in a CoreOS Cluster
Kevin Jones
 
Varnish SSL / TLS
Varnish Software
 
High Availability Content Caching with NGINX
NGINX, Inc.
 
IPTABLES
Tan Huynh Cong
 
pfSense firewall workshop guide
Sopon Tumchota
 
501 ch 3 network technologies tools
gocybersec
 
DHCP and NIS
Sreenatha Reddy K R
 
Choosing A Proxy Server - Apachecon 2014
bryan_call
 
Local DNS with pfSense 2.4 - pfSense Hangout April 2018
Netgate
 

Similar to Dhcp Configuration File (20)

DOCX
Networking DHCP server Setup Reports
Jiaul Hasan Jony
 
PPT
Dhcp presentation
Saqib Malik
 
PPTX
Dhcp
Tapan Khilar
 
PPT
Moac291 Week02
guestd2761d
 
PDF
DHCP concept
Shopnomoy Prantor
 
PPTX
Dhcp
Sandeep Kamath
 
PPTX
dynamichost configuration protocol
rajisri2
 
PDF
Dynamic Host Configuration Protocol(DHCP)
Khaled Md. Saifullah
 
PDF
DYNAMIC HOST CONFIGURATION PROTOCOL
VENKATESHAN A S
 
PDF
14047721
VENKATESHAN A S
 
PPT
DHCP
ssusered887b
 
PPTX
162 15-768
faisal123000
 
PPT
Configuration DHCP
Tan Huynh Cong
 
PPS
Linux05 DHCP Server
Jainul Musani
 
PPTX
DHCP.pptx
GayathriPG3
 
PDF
DHCP in windows server 2012
Abaady Sahal
 
PDF
Configuring a DHCP Server
Taherbenabdallah1
 
PPTX
Dhcp
Chinmoy Jena
 
PPT
DHCP PROTOCOL
atharvakale07
 
Networking DHCP server Setup Reports
Jiaul Hasan Jony
 
Dhcp presentation
Saqib Malik
 
Moac291 Week02
guestd2761d
 
DHCP concept
Shopnomoy Prantor
 
dynamichost configuration protocol
rajisri2
 
Dynamic Host Configuration Protocol(DHCP)
Khaled Md. Saifullah
 
DYNAMIC HOST CONFIGURATION PROTOCOL
VENKATESHAN A S
 
14047721
VENKATESHAN A S
 
162 15-768
faisal123000
 
Configuration DHCP
Tan Huynh Cong
 
Linux05 DHCP Server
Jainul Musani
 
DHCP.pptx
GayathriPG3
 
DHCP in windows server 2012
Abaady Sahal
 
Configuring a DHCP Server
Taherbenabdallah1
 
DHCP PROTOCOL
atharvakale07
 
Ad

Recently uploaded (20)

PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PDF
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
Why Orbit Edge Tech is a Top Next JS Development Company in 2025
mahendraalaska08
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Persuasive AI: risks and opportunities in the age of digital debate
Speck&Tech
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Ad

Dhcp Configuration File

  • 2. DHCP CONFIGURATION FILE  Dynamic Host Configuration Protocol (DHCP) is a client/server protocol that automatically provides IP addresses and other related configuration information such as subnet Mask and Default Gateway to the hosts connected to the network.  This method is efficient and convenient for large networks with many hosts ,as the process of manually configuring each host is quiet time consuming.  By using DHCP one can ensure that every host on your network has valid IP address ,Subnet Mask,Broadcast Address and Default Gateway.  DHCP server should be configured for each of the subnet.  Each host on subnet needs to be configured as DHCP client.  A dhcpd program is to be installed on server.
  • 3. DHCP CONFIGURATION FILE  While installing select network servers and install the package.  The configuration file for DHCP Server is /etc/dhcpd.conf. Contents of a file: • #the amount of time in seconds the host can keep the ip address Default-lease-time 36000 • #domain name of dhcp server • #name server Option domain-name “abc.com” option domain-name-servers 192.168.1.1
  • 4. DHCP CONFIGURATION FILE • #Gateway/routers Option routers 1.2.3.4,1.2.3.5 Option routers 192.168.1.1 • #netmask(subnet mask of the network) Option subnet-mask 255.255.255.0 • #broadcast address Option broadcast-address 192.168.1.255 • #specify subnet number Subnet 192.168.1.0 netmask 255.255.255.0
  • 5. DHCP CONFIGURATION FILE • #define which address can be assigned or used Range 192.168.1.1 to 192.168.1.126 • If any changes are done in the file then restart dhcp server by using the command : Service dhcp restart