Operating System - Linux
1828046 Members
1812 Online
109973 Solutions
New Discussion

configuring the DHCP relay agent RHEL4

 
Sathyaswarupa
Contributor

configuring the DHCP relay agent RHEL4

How will you configure the DHCP relay agent in RHEL4?
3 REPLIES 3
Alexander Chuzhoy
Honored Contributor

Re: configuring the DHCP relay agent RHEL4

install the dhcp package.
rpm -ivh dhcp-3
edit the file /etc/sysconfig/dhcrelay
on INTERFACES specify the interface on which to listen for requests
on DHCPSERVERS specify the ip of the server to forward the requests.
start the service:
service dhcrelay start

assign points.
SlopeZ
Frequent Advisor

Re: configuring the DHCP relay agent RHEL4

Please, can you explain me this agent?

It's the same agent that a Dhcp client?

Thanks in advance.

Regards!
Ivan Ferreira
Honored Contributor

Re: configuring the DHCP relay agent RHEL4

No, it isn't.

A DHCP relay agent is a DHCP server that forward requests to another DHCP server. This is used when you have a network separated by a router, and the router does not forwards bootp traffic:


network A -----------router---------network B


If the DHCP server is in network A, and network B should get address from that server, you must configure a DHCP relay agent on a server in network B, so clients query for DHCP server, DHCP relay forwards the request to the DHCP server, and then returns the IP to the client.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?