SlideShare une entreprise Scribd logo
1  sur  5
Télécharger pour lire hors ligne
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	2	
 
DHCP Server and DHCP Relay Agent Network Infrastructure
 DHCP Server: Computer or computers which function as server(s) provide network
configurations automatically to clients such as IP Address, subnet mask, default
gateway, domain name, DNS server, etc.
 DHCP Relay Agent: The DHCP Relay Agent (dhcrelay) allows for the relay of DHCP
and BOOTP request from a subnet with no DHCP Server on it to one or more DHCP
servers on other subnets. When a DHCP client requests information, the DHCP Relay
Agent forwards the request to the list of DHCP servers specified when the DHCP
Relay Agent is started. When a DHCP server returns a reply, the reply is broadcast
or unicast on the network that sent the original request.
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	3	
 
I. Configuring DHCP Server
1. Install DHCP Server by using dhcp-3.0.5-18.el5.i386.rpm
2. Copy the sample of DHCP Configuration file from /usr/share/doc/dhcp-
3.0.5/dhcpd.conf.sample
3. Go to edit the configuration file by vim /etc/dhcpd.conf
4. DHCP Server provides a scope of IP Address in Subnet 192.168.2.0, Net mask
255.255.255.0 (Range: 192.168.2.10 – 192.168.2.254) and provides the fixed address
for Manager.
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	4	
 
5. Go to /etc/sysconfig/dhcpd
6. Configure interface for DHCP Server to listen the request from clients.
7. Start or Restart the service DHCP Service.
8. Configure DHCP Service to start automatically
9. Stop the firewall service
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	5	
 
II. Configuring DHCP Relay Agent
1. Install DHCP Server by using dhcp-3.0.5-18.el5.i386.rpm
2. Go to DHCP Relay Agent configuration file by vim /etc/sysconfig/dhcrelay
3. Configure interfaces relay from client LAN and DHCP Server (eth0 and eth1) and
DHCP Server’s IP Address (192.168.1.2)
4. Start or Restart DHCP Relay Agent service (dhcrelay)
5. Configure DHCP Relay Agent (dhcrelay) service to start automatically.
6. Set the configuration from 0 to 1 to enable the router, forwarder option.
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	6	
 
III. Testing DHCP Server
1. Client Manager, he got the reservation IP address
2. And other clients got other IP Addresses, and so on.
The End!

Contenu connexe

Tendances

Tendances (20)

MikroTik Firewall : Securing your Router with Port Knocking
MikroTik Firewall : Securing your Router with Port KnockingMikroTik Firewall : Securing your Router with Port Knocking
MikroTik Firewall : Securing your Router with Port Knocking
 
nl80211 and libnl
nl80211 and libnlnl80211 and libnl
nl80211 and libnl
 
JUNOS - Monitoring and Troubleshooting
JUNOS - Monitoring and TroubleshootingJUNOS - Monitoring and Troubleshooting
JUNOS - Monitoring and Troubleshooting
 
Mikrotik Hotspot User Manager
Mikrotik Hotspot User ManagerMikrotik Hotspot User Manager
Mikrotik Hotspot User Manager
 
Configuring GRE Tunnel Through a Cisco ASA Firewall
Configuring GRE Tunnel Through a Cisco ASA FirewallConfiguring GRE Tunnel Through a Cisco ASA Firewall
Configuring GRE Tunnel Through a Cisco ASA Firewall
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
 
Router commands
Router commandsRouter commands
Router commands
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
Huawei switch configuration commands
Huawei switch configuration commandsHuawei switch configuration commands
Huawei switch configuration commands
 
MikroTik MTCNA
MikroTik MTCNAMikroTik MTCNA
MikroTik MTCNA
 
JUNOS: OSPF and BGP
JUNOS: OSPF and BGPJUNOS: OSPF and BGP
JUNOS: OSPF and BGP
 
Cisco Commands
Cisco CommandsCisco Commands
Cisco Commands
 
IOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsIOS Cisco - Cheat sheets
IOS Cisco - Cheat sheets
 
Device Tree for Dummies (ELC 2014)
Device Tree for Dummies (ELC 2014)Device Tree for Dummies (ELC 2014)
Device Tree for Dummies (ELC 2014)
 
Fortigate Training
Fortigate TrainingFortigate Training
Fortigate Training
 
Nxll26 bgp ii
Nxll26 bgp iiNxll26 bgp ii
Nxll26 bgp ii
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
VTP
VTPVTP
VTP
 
Spanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat SheetSpanning Tree Protocol Cheat Sheet
Spanning Tree Protocol Cheat Sheet
 
Zenith Networks: Jump Start JUNOS
Zenith Networks: Jump Start JUNOSZenith Networks: Jump Start JUNOS
Zenith Networks: Jump Start JUNOS
 

En vedette

En vedette (10)

Konfigurasi DHCP Server dan DHCP Relay Agent di Mikrotik Menggunakan GNS3
Konfigurasi DHCP Server dan DHCP Relay Agent di Mikrotik Menggunakan GNS3Konfigurasi DHCP Server dan DHCP Relay Agent di Mikrotik Menggunakan GNS3
Konfigurasi DHCP Server dan DHCP Relay Agent di Mikrotik Menggunakan GNS3
 
Simple Firewall MikroTik
Simple Firewall MikroTikSimple Firewall MikroTik
Simple Firewall MikroTik
 
Dhcp windows server 2012
Dhcp windows server 2012Dhcp windows server 2012
Dhcp windows server 2012
 
Mikrotik firewall filter
Mikrotik firewall filterMikrotik firewall filter
Mikrotik firewall filter
 
Mikrotik
MikrotikMikrotik
Mikrotik
 
Mikrotik feroina
Mikrotik feroinaMikrotik feroina
Mikrotik feroina
 
Tutorial ukk mikrotik paket ganda 2 3 @2017 abdulrais
Tutorial ukk mikrotik paket ganda 2 3 @2017 abdulraisTutorial ukk mikrotik paket ganda 2 3 @2017 abdulrais
Tutorial ukk mikrotik paket ganda 2 3 @2017 abdulrais
 
Configure DHCP Server and DHCP-Relay
Configure DHCP Server and DHCP-RelayConfigure DHCP Server and DHCP-Relay
Configure DHCP Server and DHCP-Relay
 
Pembahasan UKK TKJ Paket 1
Pembahasan UKK TKJ Paket 1Pembahasan UKK TKJ Paket 1
Pembahasan UKK TKJ Paket 1
 
Konfigurasi Dasar Windows Server 2012 R2 rev.1
Konfigurasi Dasar Windows Server 2012 R2 rev.1Konfigurasi Dasar Windows Server 2012 R2 rev.1
Konfigurasi Dasar Windows Server 2012 R2 rev.1
 

Similaire à Dhcp & dhcp relay agent in cent os 5.3

Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcp
duraimurugan89
 

Similaire à Dhcp & dhcp relay agent in cent os 5.3 (20)

Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
 
Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcp
 
dhcp.pdf
dhcp.pdfdhcp.pdf
dhcp.pdf
 
Lession4 Dhcp
Lession4 DhcpLession4 Dhcp
Lession4 Dhcp
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
zuiqui_DHC.ppt
zuiqui_DHC.pptzuiqui_DHC.ppt
zuiqui_DHC.ppt
 
Wintel ppt for dhcp
Wintel ppt for dhcpWintel ppt for dhcp
Wintel ppt for dhcp
 
Dhcp
DhcpDhcp
Dhcp
 
DYNAMIC HOST CONFIGURATION PROTOCOL
DYNAMIC HOST CONFIGURATION PROTOCOLDYNAMIC HOST CONFIGURATION PROTOCOL
DYNAMIC HOST CONFIGURATION PROTOCOL
 
14047721
1404772114047721
14047721
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup Reports
 
Dhcp confg
Dhcp confgDhcp confg
Dhcp confg
 
Dhcpsession
DhcpsessionDhcpsession
Dhcpsession
 
Configurar dhcp en router cisco
Configurar dhcp en router ciscoConfigurar dhcp en router cisco
Configurar dhcp en router cisco
 
DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
dynamichost configuration protocol
dynamichost configuration protocoldynamichost configuration protocol
dynamichost configuration protocol
 
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
 
DHCP
DHCPDHCP
DHCP
 
Installing and configuring a dhcp on windows server 2016 step by step
Installing and configuring a dhcp on windows server 2016 step by stepInstalling and configuring a dhcp on windows server 2016 step by step
Installing and configuring a dhcp on windows server 2016 step by step
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Dhcp & dhcp relay agent in cent os 5.3

  • 1. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 2   DHCP Server and DHCP Relay Agent Network Infrastructure  DHCP Server: Computer or computers which function as server(s) provide network configurations automatically to clients such as IP Address, subnet mask, default gateway, domain name, DNS server, etc.  DHCP Relay Agent: The DHCP Relay Agent (dhcrelay) allows for the relay of DHCP and BOOTP request from a subnet with no DHCP Server on it to one or more DHCP servers on other subnets. When a DHCP client requests information, the DHCP Relay Agent forwards the request to the list of DHCP servers specified when the DHCP Relay Agent is started. When a DHCP server returns a reply, the reply is broadcast or unicast on the network that sent the original request.
  • 2. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 3   I. Configuring DHCP Server 1. Install DHCP Server by using dhcp-3.0.5-18.el5.i386.rpm 2. Copy the sample of DHCP Configuration file from /usr/share/doc/dhcp- 3.0.5/dhcpd.conf.sample 3. Go to edit the configuration file by vim /etc/dhcpd.conf 4. DHCP Server provides a scope of IP Address in Subnet 192.168.2.0, Net mask 255.255.255.0 (Range: 192.168.2.10 – 192.168.2.254) and provides the fixed address for Manager.
  • 3. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 4   5. Go to /etc/sysconfig/dhcpd 6. Configure interface for DHCP Server to listen the request from clients. 7. Start or Restart the service DHCP Service. 8. Configure DHCP Service to start automatically 9. Stop the firewall service
  • 4. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 5   II. Configuring DHCP Relay Agent 1. Install DHCP Server by using dhcp-3.0.5-18.el5.i386.rpm 2. Go to DHCP Relay Agent configuration file by vim /etc/sysconfig/dhcrelay 3. Configure interfaces relay from client LAN and DHCP Server (eth0 and eth1) and DHCP Server’s IP Address (192.168.1.2) 4. Start or Restart DHCP Relay Agent service (dhcrelay) 5. Configure DHCP Relay Agent (dhcrelay) service to start automatically. 6. Set the configuration from 0 to 1 to enable the router, forwarder option.
  • 5. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 6   III. Testing DHCP Server 1. Client Manager, he got the reservation IP address 2. And other clients got other IP Addresses, and so on. The End!