Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	2	 DHCP Server and DHCP Relay Agent Network Infrastructure DHCP Server: Co...
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	3	 I. Configuring DHCP Server1. Install DHCP Server by using dhcp-3.0.5-18....
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	4	 5. Go to /etc/sysconfig/dhcpd6. Configure interface for DHCP Server to l...
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	5	 II. Configuring DHCP Relay Agent1. Install DHCP Server by using dhcp-3.0...
Mr.	NHEAN	Sophan	 sophan.nhean@gmail.com	 Page	6	 III. Testing DHCP Server1. Client Manager, he got the reservation IP add...
Upcoming SlideShare
Loading in...5
×

Dhcp & dhcp relay agent in cent os 5.3

5,627

Published on

Published in: Technology
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total Views
5,627
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
126
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Dhcp & dhcp relay agent in cent os 5.3"

  1. 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 networkconfigurations automatically to clients such as IP Address, subnet mask, defaultgateway, domain name, DNS server, etc. DHCP Relay Agent: The DHCP Relay Agent (dhcrelay) allows for the relay of DHCPand BOOTP request from a subnet with no DHCP Server on it to one or more DHCPservers on other subnets. When a DHCP client requests information, the DHCP RelayAgent forwards the request to the list of DHCP servers specified when the DHCPRelay Agent is started. When a DHCP server returns a reply, the reply is broadcastor unicast on the network that sent the original request.
  2. 2. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 3  I. Configuring DHCP Server1. Install DHCP Server by using dhcp-3.0.5-18.el5.i386.rpm2. Copy the sample of DHCP Configuration file from /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample3. Go to edit the configuration file by vim /etc/dhcpd.conf4. DHCP Server provides a scope of IP Address in Subnet 192.168.2.0, Net mask255.255.255.0 (Range: 192.168.2.10 – 192.168.2.254) and provides the fixed addressfor Manager.
  3. 3. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 4  5. Go to /etc/sysconfig/dhcpd6. 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 automatically9. Stop the firewall service
  4. 4. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 5  II. Configuring DHCP Relay Agent1. Install DHCP Server by using dhcp-3.0.5-18.el5.i386.rpm2. Go to DHCP Relay Agent configuration file by vim /etc/sysconfig/dhcrelay3. Configure interfaces relay from client LAN and DHCP Server (eth0 and eth1) andDHCP 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. 5. Mr. NHEAN Sophan sophan.nhean@gmail.com Page 6  III. Testing DHCP Server1. Client Manager, he got the reservation IP address2. And other clients got other IP Addresses, and so on.The End!

×