DHCP Relay Agent

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video from IT free training I will look at the DHCP relay agent a DHCP relay agent allows devices on the network that are not connected directly to the same network as the DHCP server to access the DHCP server let's have a closer look in this example the main network has its one and only DHCP server the DHCP server distributes network configuration to devices on the network this works well however what happens when you have a smaller network on a different subnet connected by a router by default broadcasts do not travel between networks when a device requests configuration from a DHCP server the first message that it sends on the network is a broadcast packet all devices on that network will hear the broadcast however the router will not retransmit the broadcast between networks for this reason the DHCP server will not hear the broadcast the administrator has two choices when this occurs the administrator will either deploy a DHCP server on the network or configure a DHCP relay agent later in the video I look at why the administrator may choose to deploy a relay agent but before that I will first look at how a DHCP relay agent works consider the main network has the DHCP server on a second network is a device the network is connected by a router which is not configured to forward broadcasts I will look at this more later in the video the device on the network wants to obtain network configuration so it will send a DHCP request message on the network this message is a broadcast so all devices on that network will hear it since the DHCP server is on a different network it will not hear the broadcast and this is where the DHCP relay comes into play the DHCP relay is installed on the same network as the device since it is on the same network it will hear the broadcast the DHCP relay agent simply forwards the DHCP request to the DHCP server the DHCP server on receiving the request will send an offer back to the DHCP relay agent the offer once received by the DHCP relay agent will be forwarded to the device essentially the DHCP relay agent passes messages between the device and the DHCP server thus allowing the DHCP messages to be transmitted to different networks this requires a device to be configured for this purpose the question is could you also configure a router to perform this task the answer is yes you can if your router supports it the router can act as a DHCP relay agent forwarding DHCP messages on the network to the network with the DHCP server the big question remains is why would you do this most routers nowadays have DHCP server support so a device could be set up on the network to provide this service there are even lightweight free DHCP servers that can be installed on a desktop computer very easily and if all that failed you could configure the device with a static IP address the answer is it comes down to control and cost in the first instance if cost is not an issue in a Windows environment you could deploy a Windows server with DHCP in some cases this may not be feasible maybe your company does not want to pay the cost of deploying it went server for example on a small network with only a few devices there is not much return on investment for the cost of the server and the license however the administrator may still want to use a Windows server to manage DHCP the administrator is free to use other DHCP solutions however using Windows Server does integrate better with other services for example using services like network access protection at the end of the day DHCP relay nowadays generally gets deployed when the administrator has a need to save costs but still wants to integrate DHCP with other services that covers it for DHCP relay I hope to see you in other videos from the DHCP course and other free courses from us until the next video I would like to thank you for watching
Info
Channel: itfreetraining
Views: 23,061
Rating: undefined out of 5
Keywords:
Id: XdtpBa3earA
Channel Id: undefined
Length: 4min 20sec (260 seconds)
Published: Fri Jan 03 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.